Package org.xj3d.sai.external.node.shape
Class SAILineProperties
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.shape.SAILineProperties
- All Implemented Interfaces:
LineProperties,X3DAppearanceChildNode,X3DNode
A concrete implementation of the LineProperties node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAILineProperties(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the applied boolean value.intReturn the linetype int value.floatReturn the linewidthScaleFactor float value.voidsetApplied(boolean val) Set the applied field.voidsetLinetype(int val) Set the linetype field.voidsetLinewidthScaleFactor(float val) Set the linewidthScaleFactor field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAILineProperties
public SAILineProperties(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node-nodeFactory-fieldFactory-queue-
-
-
Method Details
-
getLinewidthScaleFactor
public float getLinewidthScaleFactor()Return the linewidthScaleFactor float value.- Specified by:
getLinewidthScaleFactorin interfaceLineProperties- Returns:
- The linewidthScaleFactor float value.
-
setLinewidthScaleFactor
public void setLinewidthScaleFactor(float val) Set the linewidthScaleFactor field.- Specified by:
setLinewidthScaleFactorin interfaceLineProperties- Parameters:
val- The float to set.
-
getLinetype
public int getLinetype()Return the linetype int value.- Specified by:
getLinetypein interfaceLineProperties- Returns:
- The linetype int value.
-
setLinetype
public void setLinetype(int val) Set the linetype field.- Specified by:
setLinetypein interfaceLineProperties- Parameters:
val- The int to set.
-
getApplied
public boolean getApplied()Return the applied boolean value.- Specified by:
getAppliedin interfaceLineProperties- Returns:
- The applied boolean value.
-
setApplied
public void setApplied(boolean val) Set the applied field.- Specified by:
setAppliedin interfaceLineProperties- Parameters:
val- The boolean to set.
-