public abstract class AbstractModelItemTreeNode<T extends ModelItem> extends Object implements SoapUITreeNode, PropertyChangeListener
Modifier and Type | Class and Description |
---|---|
class |
AbstractModelItemTreeNode.ReorderPropertyChangeListener |
Modifier | Constructor and Description |
---|---|
protected |
AbstractModelItemTreeNode(T modelItem,
ModelItem parentItem,
SoapUITreeModel treeModel) |
Modifier and Type | Method and Description |
---|---|
Enumeration<?> |
children() |
ActionList |
getActions() |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
SoapUITreeNode |
getChildNode(int index) |
int |
getIndex(TreeNode node) |
int |
getIndexOfChild(Object child) |
T |
getModelItem() |
TreeNode |
getParent() |
SoapUITreeNode |
getParentTreeNode() |
JPopupMenu |
getPopup() |
SoapUITreeModel |
getTreeModel() |
<T2 extends SoapUITreeNode> |
initOrdering(List<T2> items,
String setting) |
boolean |
isLeaf() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
void |
reorder(boolean notify) |
<T2 extends SoapUITreeNode> |
sortModelItems(List<T2> modelItems,
String setting) |
String |
toString() |
boolean |
valueChanged(Object newValue) |
protected AbstractModelItemTreeNode(T modelItem, ModelItem parentItem, SoapUITreeModel treeModel)
public SoapUITreeModel getTreeModel()
public T getModelItem()
getModelItem
in interface SoapUITreeNode
public boolean valueChanged(Object newValue)
valueChanged
in interface SoapUITreeNode
public boolean isLeaf()
isLeaf
in interface SoapUITreeNode
isLeaf
in interface TreeNode
public int getChildCount()
getChildCount
in interface SoapUITreeNode
getChildCount
in interface TreeNode
public SoapUITreeNode getChildNode(int index)
getChildNode
in interface SoapUITreeNode
public int getIndexOfChild(Object child)
getIndexOfChild
in interface SoapUITreeNode
public JPopupMenu getPopup()
getPopup
in interface SoapUITreeNode
public ActionList getActions()
getActions
in interface SoapUITreeNode
public SoapUITreeNode getParentTreeNode()
getParentTreeNode
in interface SoapUITreeNode
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void release()
release
in interface SoapUITreeNode
public <T2 extends SoapUITreeNode> void initOrdering(List<T2> items, String setting)
public void reorder(boolean notify)
reorder
in interface SoapUITreeNode
public <T2 extends SoapUITreeNode> void sortModelItems(List<T2> modelItems, String setting)
public Enumeration<?> children()
public boolean getAllowsChildren()
getAllowsChildren
in interface TreeNode
public TreeNode getChildAt(int childIndex)
getChildAt
in interface TreeNode
Copyright © 2019. All Rights Reserved.