|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JTree org.keridwen.modelling.group.editor.ui.ImprovedSelectionTree
public class ImprovedSelectionTree
General selection/edition tree of the Properties/Characteristics List editor.
Nested Class Summary | |
---|---|
class |
ImprovedSelectionTree.GroupTreeRenderer
Dedicated renderer to have nice icons in the selection tree. |
Nested classes/interfaces inherited from class javax.swing.JTree |
---|
JTree.AccessibleJTree, JTree.DropLocation, JTree.DynamicUtilTreeNode, JTree.EmptySelectionModel, JTree.TreeModelHandler, JTree.TreeSelectionRedirector |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ImprovedSelectionTree()
Simple constructor. |
|
ImprovedSelectionTree(com.artenum.frida.group.OrderedGroupList groupListIn)
Default constructor. |
Method Summary | |
---|---|
void |
addPropertyToGroupTreeNode(GroupTreeNode parentGroupTreeNode,
com.artenum.frida.interfaces.PropertyInterface property,
boolean updateGroupListModel)
Add the given property to the selected GroupTreeNode and update both GroupList and tree models. |
void |
addSubPropertyToPropertyNode(PropertyTreeNode parentPropertyTreeNode,
com.artenum.frida.interfaces.PropertyInterface subProperty)
Add a sub-property to the selected property tree node. |
void |
expandsGroupNodesWithProperties()
Expands the group nodes having properties set. |
void |
moveNodeDown(MutableTreeNode node)
Move the given Group node down. |
void |
moveNodeUp(MutableTreeNode node)
Move the given Group node up. |
void |
updateTree(com.artenum.frida.group.OrderedGroupList groupListIn)
Update the rendering of the tree according the given list in input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImprovedSelectionTree()
public ImprovedSelectionTree(com.artenum.frida.group.OrderedGroupList groupListIn)
propertyList
- The list of Properties to be displayed.Method Detail |
---|
public void updateTree(com.artenum.frida.group.OrderedGroupList groupListIn)
propertyList
- - list of Properties to be displayed.public void moveNodeUp(MutableTreeNode node)
node
- - Node to be moved.public void moveNodeDown(MutableTreeNode node)
node
- - Node to be moved.public void addPropertyToGroupTreeNode(GroupTreeNode parentGroupTreeNode, com.artenum.frida.interfaces.PropertyInterface property, boolean updateGroupListModel)
parentGroupTreeNode
- - GroupTreeNode to which one the Property should added.property
- - Property to be added.public void addSubPropertyToPropertyNode(PropertyTreeNode parentPropertyTreeNode, com.artenum.frida.interfaces.PropertyInterface subProperty)
parentPropertyTreeNode
- subProperty
- public void expandsGroupNodesWithProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |