|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.svg.GroupHierarchy
public class GroupHierarchy
Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
$Revision: 1.2 $
| Field Summary | |
|---|---|
protected SvgImageMap |
imageMap
|
protected SVGRoot |
root
|
protected javax.swing.tree.DefaultMutableTreeNode |
rootNode
|
| Constructor Summary | |
|---|---|
GroupHierarchy(SvgImageMap imageMap)
Creates a new instance of GroupHierarchy This class can be used to extract the group hierarchy from an svg image. |
|
| Method Summary | |
|---|---|
void |
extractGroups()
Private method used by this class to recursively extract the group hierarchy from the svg. |
javax.swing.tree.DefaultMutableTreeNode |
getGroupHierarchy()
Returns the extracted group hierarchy to the user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SvgImageMap imageMap
protected javax.swing.tree.DefaultMutableTreeNode rootNode
protected SVGRoot root
| Constructor Detail |
|---|
public GroupHierarchy(SvgImageMap imageMap)
| Method Detail |
|---|
public void extractGroups()
public javax.swing.tree.DefaultMutableTreeNode getGroupHierarchy()
DefaultMutableTreeNode of the hierarchy.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||