|
|||||||||
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 | |
void |
cleanUp()
Called when the applet is stopped. |
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 |
Shout3DViewer |
getViewer()
Returns the Shout3DViewer in which this node is displayed. |
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 Shout3DViewer getViewer()
public void setDEFName(java.lang.String DEFName)
the
- DEF namepublic java.lang.String getDEFName()
public int getNumFields()
public Field getField(java.lang.String fieldName)
fieldName
- the fieldNamepublic Field getFieldByIndex(int index) throws Shout3DException
index
- the indexpublic 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 stringpublic void cleanUp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |