|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--shout3d.core.Node
An abstract class which is subclassed to create Shout3D Nodes.
| Constructor Summary | |
Node()
Default constructor |
|
| Method Summary | |
java.lang.String |
getDEFName()
Gets the DEF name of this Node |
Field |
getField(java.lang.String fieldName)
Gets a Field by name |
Field |
getFieldByIndex(int index)
Gets a Field by index |
java.lang.String |
getFieldName(Field aField)
Gets the name of a Field. |
int |
getNumFields()
Gets the number of fields in this Node |
java.lang.String |
getTypeName()
Gets a string representing this Node's type |
boolean |
isOfType(java.lang.String type)
Returns whether this node is of the same type, or a type derived from, the Node type given by the input string. |
void |
setDEFName(java.lang.String DEFName)
Sets the DEF Name of this Node. |
void |
setViewer(Shout3DViewer viewer)
Sets the Shout3DViewer in which this node is displayed. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Node()
| Method Detail |
public void setViewer(Shout3DViewer viewer)
public void setDEFName(java.lang.String DEFName)
the - DEF namepublic java.lang.String getDEFName()
public int getNumFields()
public Field getField(java.lang.String fieldName)
throws Shout3DException
fieldName - the fieldName
public Field getFieldByIndex(int index)
throws Shout3DException
index - the index
public java.lang.String getFieldName(Field aField)
throws Shout3DException
aField - the Fieldpublic java.lang.String getTypeName()
public boolean isOfType(java.lang.String type)
type - the node type string
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||