oracle.jdeveloper.cmt
Interface CmtModelNode
- All Superinterfaces: 
 - Displayable, Element, Folder, Locatable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
 
- All Known Implementing Classes: 
 - CmtFolder
 
public interface CmtModelNode
- extends javax.swing.tree.MutableTreeNode, Folder, Locatable
 
The URL for a CmtModelNode is of the form:
 jdev.cmt:?&
| 
Field Summary | 
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. | 
 
| 
Method Summary | 
 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 | 
 
| Methods inherited from interface javax.swing.tree.MutableTreeNode | 
insert, remove, remove, removeFromParent, setParent, setUserObject | 
 
| Methods inherited from interface javax.swing.tree.TreeNode | 
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf | 
 
 
 
 
 
PROTOCOL
static final java.lang.String PROTOCOL
- Protocol for an URL representing a CmtModelNode.
- See Also:
 - Constant Field Values
 
 
QUERY_TOKEN
static final java.lang.String QUERY_TOKEN
- Query part separator for an URL representing a CmtModelNode.
- See Also:
 - Constant Field Values
 
 
getCmtModel
CmtModel getCmtModel()
- Get the CmtModel to which this object belongs.
 
- Returns:
 - a CmtModel
 
 
 
setCmtModel
void setCmtModel(CmtModel model)
- Set the owning CmtModel
 
- Parameters:
 model - an owning CmtModel
 
 
getSubcomponent
CmtSubcomponent getSubcomponent()
- Get the CmtSubcomponent for the Component represented by this object.
 
- Returns:
 
 
 
isComponent
boolean isComponent()
- Determine whether or not this object represents a Component.
 
- Returns:
 - true when the object represented is a Component.
 
 
 
isContainer
boolean isContainer()
- Determine whether or not this object should be treated as a container.
 
- Returns:
 - true when the object represented can take children.
 
 
 
getLayout
CmtSubcomponent getLayout()
- Get the CmtSubcomponent representing the LayoutManger controlling the
 Component represented by this object if in fact this object represents a
 Component.  Returns null otherwise.
 
- Returns:
 - a CmtSubcomponent or null.
 
 
 
getLayoutAssistant
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.  Returns null otherwise.
 
- Returns:
 - a LayoutAssistant or null.
 
 
 
adjustPosition
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.
 Recursively calls adjustPosition on children, without live adjustment,
 such that all add calls are grouped togeather.
 
- Parameters:
 doLive - true if the represented Component should be adjusted within
 the controlling LayoutManger instance.
 
 
getName
java.lang.String getName()
- Get the name of the CmtSubcomponent for the Component represented by this
 object.
 
- Returns:
 - the name of a CmtSubcomponent.
 
 
 
release
void release()
- Release all data structures and consider this object as dead.
 
 
 
Copyright © 1997, 2009, Oracle. All rights reserved.