public interface CmtModelNode extends javax.swing.tree.MutableTreeNode, Folder, Locatable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROTOCOL
Protocol for an URL representing a CmtModelNode.
|
static java.lang.String |
QUERY_TOKEN
Query part separator for an URL representing a CmtModelNode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adjustPosition(boolean doLive)
Adjust the position (z-order) of the Component represented by this object,
if in fact this object represents a Component, affecting source add call
and optionaly the live Component within its controlling LayoutManager.
|
CmtModel |
getCmtModel()
Get the CmtModel to which this object belongs.
|
CmtSubcomponent |
getLayout()
Get the CmtSubcomponent representing the LayoutManger controlling the
Component represented by this object if in fact this object represents a
Component.
|
LayoutAssistant |
getLayoutAssistant()
Get the LayoutAssistant associated with the LayoutManager which controls
the Component represented by this object if in fact this object represents
a Component.
|
java.lang.String |
getName()
Get the name of the CmtSubcomponent for the Component represented by this
object.
|
CmtSubcomponent |
getSubcomponent()
Get the CmtSubcomponent for the Component represented by this object.
|
boolean |
isComponent()
Determine whether or not this object represents a Component.
|
boolean |
isContainer()
Determine whether or not this object should be treated as a container.
|
void |
release()
Release all data structures and consider this object as dead.
|
void |
setCmtModel(CmtModel model)
Set the owning CmtModel
|
insert, remove, remove, removeFromParent, setParent, setUserObjectchildren, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeafadd, canAdd, canRemove, containsChild, remove, removeAll, sizegetAttributes, getChildren, getData, mayHaveChildrengetAttributedLabel, getIcon, getLongLabel, getShortLabel, getToolTipText, toStringstatic final java.lang.String PROTOCOL
static final java.lang.String QUERY_TOKEN
CmtModel getCmtModel()
void setCmtModel(CmtModel model)
model - an owning CmtModelCmtSubcomponent getSubcomponent()
boolean isComponent()
boolean isContainer()
CmtSubcomponent getLayout()
LayoutAssistant getLayoutAssistant()
void adjustPosition(boolean doLive)
doLive - true if the represented Component should be adjusted within
the controlling LayoutManger instance.java.lang.String getName()
void release()