Package xj3d.filter
Class NodeMarker
java.lang.Object
xj3d.filter.NodeMarker
A container for placekeeping node and field data
streamed through a filter.
- Version:
- $Revision: 1.0 $
- Author:
- Rex Melton
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNodeMarker
(String nodeName) ConstructorNodeMarker
(String nodeName, String fieldName, int fieldType) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clear the field dataReturn the field nameint
Return the field typeReturn the node namevoid
setFieldData
(String fieldName, int fieldType) Set the field data.toString()
Return a String representation of this
-
Field Details
-
nodeName
The name of the node -
fieldName
The name of the currently active field. If no field is currently active, this will be null. -
fieldType
public int fieldTypeThe type of the currently active field. If no field is currently active, this will be -1
-
-
Constructor Details
-
NodeMarker
Constructor- Parameters:
nodeName
- The name of the node that this marker represents
-
NodeMarker
-
-
Method Details
-
setFieldData
Set the field data.- Parameters:
fieldName
- The name of the currently active fieldfieldType
- The type of the currently active field
-
clearFieldData
public void clearFieldData()Clear the field data -
getNodeName
-
getFieldName
-
getFieldType
public int getFieldType()Return the field type- Returns:
- The currently active field type
-
toString
-