|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--anvil.annot.NodeSpec | +--anvil.annot.GroupSpec
Specification for group nodes in annotation tree.
Field Summary | |
java.util.LinkedList |
subs
|
Fields inherited from class anvil.annot.NodeSpec |
attDisplay, attributes, attributeSpecs, doc, editTakeover, name, parent, reciLinkAtt, spec |
Constructor Summary | |
GroupSpec(GroupSpec parent,
java.lang.String name)
|
Method Summary | |
ContainerSpec |
addContainerSpec(java.lang.String name,
java.lang.String type)
Creates a new track spec for this group spec. |
GroupSpec |
addGroupSpec(java.lang.String name)
Creates a new group spec for this group spec. |
void |
createHtmlFile(java.io.File dir)
|
NodeSpec |
findSpec(java.lang.String name)
Looks recursively through this node and all subs and returns the spec objects as soon as found. |
NodeSpec |
findSubnode(java.lang.String name)
Finds subnode given its name. |
java.util.List |
findTrackNames()
Returns list of all track names in the subtree of this node. |
java.lang.String |
getHtmlFilename()
|
java.util.List |
getLeaves()
|
java.util.List |
getLeavesAndThis()
|
java.util.List |
getSubnodes()
|
boolean |
isRoot()
|
boolean |
nameExists(java.lang.String name)
Takes the (non full) name and checks against all track/group names. |
boolean |
removeSubnode(NodeSpec node)
Removes subnode (NodeSpec object) from this group. |
void |
setAsRoot(AnnotationSpec as)
|
java.lang.String |
toString()
|
void |
writeHtmlBody(kipp.io.MyBufferedWriter f,
java.io.File dir)
Writes HTML body for group node. |
Methods inherited from class anvil.annot.NodeSpec |
addAttrDoc, addAttribute, addAvSpec, addAvSpec, addDefault, attrDocExists, docString, fullName, getAnnotationSpec, getAttrDoc, getAttributeNames, getAttributeSpec, getAttributeType, getDefault, getDisplayedAttributes, getHtmlRefString, getName, getParent, getReciprocalLinkAttributes, isAttribute, isDisplayed, removeAttribute, setDisplayed, setDisplayedAttributes, setEditTakeover, usesEditTakeover, writeHtmlNavbar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.util.LinkedList subs
Constructor Detail |
public GroupSpec(GroupSpec parent, java.lang.String name)
Method Detail |
public java.util.List getSubnodes()
public java.util.List getLeaves()
public java.util.List getLeavesAndThis()
public void setAsRoot(AnnotationSpec as)
public java.util.List findTrackNames()
NodeSpec
findTrackNames
in class NodeSpec
public NodeSpec findSpec(java.lang.String name)
NodeSpec
findSpec
in class NodeSpec
public boolean isRoot()
isRoot
in class NodeSpec
public ContainerSpec addContainerSpec(java.lang.String name, java.lang.String type)
public GroupSpec addGroupSpec(java.lang.String name)
public boolean removeSubnode(NodeSpec node)
public NodeSpec findSubnode(java.lang.String name)
public boolean nameExists(java.lang.String name)
public java.lang.String getHtmlFilename()
getHtmlFilename
in class NodeSpec
public void createHtmlFile(java.io.File dir) throws java.io.IOException
createHtmlFile
in class NodeSpec
java.io.IOException
public void writeHtmlBody(kipp.io.MyBufferedWriter f, java.io.File dir) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class NodeSpec
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |