The code example above shows how the how the component can be used in a program by passing it an instance of the XSvgImageMap and then diplaying the results in a JTree within a JFrame.
2. Constructor
public XGroupHierarchy( XSvgImageMap imageMap )
Creates a new instance of XGroupHierarchy. The XSvgImageMap instance passed contains the SVG diagram that the group info will be extratced from.
3. Methods
1. extractGroups
publicvoid extractGroups()
Method called by the user to recursively extract the SVG groups from the SVG image and place them in the correct hierarchy.
There are no comments on this page. [Add comment]