| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.LineAttributesRetained
LineAttributesRetained | class LineAttributesRetained extends NodeComponentRetained (Code) | | The LineAttributesRetained object defines all rendering state that can be set
as a component object of a Shape3D node.
|
Method Summary | |
synchronized void | createMirrorObject() | boolean | equivalent(LineAttributesRetained lr) | final boolean | getLineAntialiasingEnable() Retrieves the state of the line antialiasing flag. | final int | getLinePattern() Gets the line pattern for this lineAttributes component object. | final float | getLineWidth() Gets the line width for this lineAttributes component object. | final int | getPatternMask() Retrieves the pattern mask for this LineAttributes component object. | final int | getPatternScaleFactor() Retrieves the pattern scale factor for this LineAttributes
component object. | void | handleFrequencyChange(int bit) | final void | initLineAntialiasingEnable(boolean state) Enables or disables line antialiasing
for this lineAttributes component object and sends a
message notifying the interested structures of the change. | final void | initLinePattern(int linePattern) | final void | initLineWidth(float lineWidth) Sets the line width for this lineAttributes component object. | synchronized void | initMirrorObject() | final void | initPatternMask(int mask) Sets the pattern mask for this LineAttributes component object. | final void | initPatternScaleFactor(int scaleFactor) Sets the pattern mask scale factor for this LineAttributes
component object. | final void | sendMessage(int attrMask, Object attr) | protected void | set(LineAttributesRetained lr) | final void | setLineAntialiasingEnable(boolean state) Enables or disables line antialiasing
for this lineAttributes component object and sends a
message notifying the interested structures of the change. | final void | setLinePattern(int linePattern) Sets the line pattern for this lineAttributes component object
and sends a message notifying the interested structures of the change. | final void | setLineWidth(float lineWidth) Sets the line width for this lineAttributes component object and sends a
message notifying the interested structures of the change. | final void | setPatternMask(int mask) Sets the pattern mask for this LineAttributes component object
and sends a message notifying the interested structures of change.
This is used when the linePattern attribute is set to
PATTERN_USER_DEFINED. | final void | setPatternScaleFactor(int scaleFactor) Sets the pattern mask scale factor for this LineAttributes
component object and sends a message notifying the interested
structures of change. | synchronized void | updateMirrorObject(int component, Object value) | void | updateNative(Context ctx) This method updates the native context. |
LINE_AA_CHANGED | final static int LINE_AA_CHANGED(Code) | | |
LINE_PATTERN_CHANGED | final static int LINE_PATTERN_CHANGED(Code) | | |
LINE_PATTERN_MASK_CHANGED | final static int LINE_PATTERN_MASK_CHANGED(Code) | | |
LINE_PATTERN_SCALEFACTOR_CHANGED | final static int LINE_PATTERN_SCALEFACTOR_CHANGED(Code) | | |
LINE_WIDTH_CHANGED | final static int LINE_WIDTH_CHANGED(Code) | | |
lineAntialiasing | boolean lineAntialiasing(Code) | | |
linePattern | int linePattern(Code) | | |
linePatternMask | int linePatternMask(Code) | | |
linePatternScaleFactor | int linePatternScaleFactor(Code) | | |
lineWidth | float lineWidth(Code) | | |
createMirrorObject | synchronized void createMirrorObject()(Code) | | Creates and initializes a mirror object, point the mirror object
to the retained object if the object is not editable
|
getLineAntialiasingEnable | final boolean getLineAntialiasingEnable()(Code) | | Retrieves the state of the line antialiasing flag.
true if line antialiasing is enabled,false if line antialiasing is disabled |
getLinePattern | final int getLinePattern()(Code) | | Gets the line pattern for this lineAttributes component object.
the line pattern |
getLineWidth | final float getLineWidth()(Code) | | Gets the line width for this lineAttributes component object.
the width, in pixels, of line primitives |
getPatternMask | final int getPatternMask()(Code) | | Retrieves the pattern mask for this LineAttributes component object.
the user-defined pattern mask |
getPatternScaleFactor | final int getPatternScaleFactor()(Code) | | Retrieves the pattern scale factor for this LineAttributes
component object.
the pattern mask scale factor |
handleFrequencyChange | void handleFrequencyChange(int bit)(Code) | | |
initLineAntialiasingEnable | final void initLineAntialiasingEnable(boolean state)(Code) | | Enables or disables line antialiasing
for this lineAttributes component object and sends a
message notifying the interested structures of the change.
Parameters: state - true or false to enable or disable line antialiasing |
initLinePattern | final void initLinePattern(int linePattern)(Code) | | Sets the line pattern for this lineAttributes component object
Parameters: linePattern - the line pattern to be used, one of:PATTERN_SOLID, PATTERN_DASH, PATTERN_DOT, or PATTERN_DASH_DOT |
initLineWidth | final void initLineWidth(float lineWidth)(Code) | | Sets the line width for this lineAttributes component object.
Parameters: lineWidth - the width, in pixels, of line primitives |
initMirrorObject | synchronized void initMirrorObject()(Code) | | Initializes a mirror object, point the mirror object to the retained
object if the object is not editable
|
initPatternMask | final void initPatternMask(int mask)(Code) | | Sets the pattern mask for this LineAttributes component object.
This is used when the linePattern attribute is set to
PATTERN_USER_DEFINED.
Parameters: mask - the line pattern mask to be used. |
initPatternScaleFactor | final void initPatternScaleFactor(int scaleFactor)(Code) | | Sets the pattern mask scale factor for this LineAttributes
component object. This is used when the linePattern attribute
is set to PATTERN_USER_DEFINED.
Parameters: scaleFactor - the scale factor of mask, clamp to [1, 15] |
sendMessage | final void sendMessage(int attrMask, Object attr)(Code) | | |
setLineAntialiasingEnable | final void setLineAntialiasingEnable(boolean state)(Code) | | Enables or disables line antialiasing
for this lineAttributes component object and sends a
message notifying the interested structures of the change.
Parameters: state - true or false to enable or disable line antialiasing |
setLinePattern | final void setLinePattern(int linePattern)(Code) | | Sets the line pattern for this lineAttributes component object
and sends a message notifying the interested structures of the change.
Parameters: linePattern - the line pattern to be used, one of:PATTERN_SOLID, PATTERN_DASH, PATTERN_DOT, or PATTERN_DASH_DOT |
setLineWidth | final void setLineWidth(float lineWidth)(Code) | | Sets the line width for this lineAttributes component object and sends a
message notifying the interested structures of the change.
Parameters: lineWidth - the width, in pixels, of line primitives |
setPatternMask | final void setPatternMask(int mask)(Code) | | Sets the pattern mask for this LineAttributes component object
and sends a message notifying the interested structures of change.
This is used when the linePattern attribute is set to
PATTERN_USER_DEFINED.
Parameters: mask - the line pattern mask to be used. |
setPatternScaleFactor | final void setPatternScaleFactor(int scaleFactor)(Code) | | Sets the pattern mask scale factor for this LineAttributes
component object and sends a message notifying the interested
structures of change. This is used when the linePattern
attribute is set to PATTERN_USER_DEFINED.
Parameters: scaleFactor - the scale factor of mask, clamp to [1, 15] |
updateMirrorObject | synchronized void updateMirrorObject(int component, Object value)(Code) | | Update the "component" field of the mirror object with the
given "value"
|
updateNative | void updateNative(Context ctx)(Code) | | This method updates the native context.
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|