com.simonstl.moe.adapter
Class MOENodeWrapperA
java.lang.Object
|
+--com.simonstl.moe.adapter.MOENodeWrapperA
- public class MOENodeWrapperA
- extends java.lang.Object
The MOENodeWrapperA adapter class provides a view of individual MOE objects which will fit into a MOETreeModelA
presentation.
The MOENodeWrapperA class combines the unordered and ordered content into one big ordered collection for display. The toString() method returns the text content (for TEXT and IG_WHITESPACE) or the QName of the object (if it's appropriate) or <-- -->for a comment.
version 0.01 is the initial release.
- Version:
- 0.01 20 September 2001
- Author:
- Simon St.Laurent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
component
protected CoreComponentI component
children
protected java.util.ArrayList children
expanded
protected boolean expanded
MOENodeWrapperA
public MOENodeWrapperA()
setComponent
public void setComponent(CoreComponentI _component)
getComponent
public CoreComponentI getComponent()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getToolTip
public java.lang.String getToolTip()
isLeaf
public boolean isLeaf()
getExpanded
public boolean getExpanded()
setExpanded
public void setExpanded(boolean _expanded)
getChild
public java.lang.Object getChild(int index)
getChildCount
public int getChildCount()
getIndexOfChild
public int getIndexOfChild(java.lang.Object child)