|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.vocab.layout.LayoutNode
public class LayoutNode
A node in a VocabLayout tree as defined by a vocabLayout (historically called "groups") file.
Field Summary | |
---|---|
Element |
element
NOT YET DOCUMENTED |
Constructor Summary | |
---|---|
LayoutNode(Element element,
VocabLayout vocabLayout)
Constructor for the LayoutNode object |
|
LayoutNode(Element element,
VocabLayout vocabLayout,
LayoutNode parent)
Constructor for the LayoutNode object containing the parent node. |
Method Summary | |
---|---|
boolean |
getCollapsible()
Gets the collapsible attribute of the LayoutNode object |
String |
getDefinition()
Gets the definition attribute value of the LayoutNode object |
int |
getGroupLevel()
Gets the groupLevel attribute of the LayoutNode object, which specifies the depth of this LayoutNode within the VocabLayout tree. |
boolean |
getHasSubList()
Gets the hasSubList attribute of the LayoutNode object |
boolean |
getIsLastInSubList()
Returns true if this LayoutNode is the last in its list. |
String |
getLabel()
Returns the text attribute value if present, and the "name" attribute valueotherwise. |
String |
getName()
Returns the vocab attribute value. |
boolean |
getNoDisplay()
Gets the noDisplay attribute of the LayoutNode object, suppresses display of this LayoutNode. |
int |
getNumColumns()
Gets the number of columns required to render the sublist of which this LayoutNode is a member. |
LayoutNode |
getParent()
Gets the parent (LayoutNode) of the LayoutNode object |
List |
getSubList()
Gets the subList attribute of the LayoutNode object |
String |
getType()
Gets the type attribute of the LayoutNode object |
boolean |
getWrap()
Gets the wrap attribute of the LayoutNode object, used to create a new column in the display. |
boolean |
hasSubList()
Does this LayoutNode have children |
void |
report()
NOT YET DOCUMENTED |
String |
spacer(int num)
NOT YET DOCUMENTED |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Element element
Constructor Detail |
---|
public LayoutNode(Element element, VocabLayout vocabLayout)
element
- element defining this LayoutNode in the vocabLayout
filevocabLayout
- the vocabLayout instance of which this node is a memberpublic LayoutNode(Element element, VocabLayout vocabLayout, LayoutNode parent)
element
- element defining this LayoutNode in the vocabLayout
filevocabLayout
- the vocabLayout instance of which this node is a memberparent
- the parent LayoutNode instanceMethod Detail |
---|
public LayoutNode getParent()
public String getName()
public String getLabel()
public String getDefinition()
public boolean getWrap()
public boolean getNoDisplay()
public String getType()
public boolean getCollapsible()
public List getSubList()
public boolean hasSubList()
public boolean getHasSubList()
public boolean getIsLastInSubList()
public int getNumColumns()
public int getGroupLevel()
public String spacer(int num)
num
- NOT YET DOCUMENTED
public void report()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |