class LineAttributesRetained extends NodeComponentRetained
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
LINE_AA_CHANGED |
(package private) static int |
LINE_PATTERN_CHANGED |
(package private) static int |
LINE_PATTERN_MASK_CHANGED |
(package private) static int |
LINE_PATTERN_SCALEFACTOR_CHANGED |
(package private) static int |
LINE_WIDTH_CHANGED |
(package private) boolean |
lineAntialiasing |
(package private) int |
linePattern |
(package private) int |
linePatternMask |
(package private) int |
linePatternScaleFactor |
(package private) float |
lineWidth |
changedFrequent, compChanged, duplicateOnCloneTree, mirror, refCnt, refCount, usersDONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, sourcelistIdx| Constructor and Description |
|---|
LineAttributesRetained() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
createMirrorObject()
Creates and initializes a mirror object, point the mirror object
to the retained object if the object is not editable
|
(package private) boolean |
equivalent(LineAttributesRetained lr) |
(package private) boolean |
getLineAntialiasingEnable()
Retrieves the state of the line antialiasing flag.
|
(package private) int |
getLinePattern()
Gets the line pattern for this lineAttributes component object.
|
(package private) float |
getLineWidth()
Gets the line width for this lineAttributes component object.
|
(package private) int |
getPatternMask()
Retrieves the pattern mask for this LineAttributes component object.
|
(package private) int |
getPatternScaleFactor()
Retrieves the pattern scale factor for this LineAttributes
component object.
|
(package private) void |
handleFrequencyChange(int bit) |
(package private) 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.
|
(package private) void |
initLinePattern(int linePattern)
Sets the line pattern for this lineAttributes component object
|
(package private) void |
initLineWidth(float lineWidth)
Sets the line width for this lineAttributes component object.
|
(package private) void |
initMirrorObject()
Initializes a mirror object, point the mirror object to the retained
object if the object is not editable
|
(package private) void |
initPatternMask(int mask)
Sets the pattern mask for this LineAttributes component object.
|
(package private) void |
initPatternScaleFactor(int scaleFactor)
Sets the pattern mask scale factor for this LineAttributes
component object.
|
(package private) void |
sendMessage(int attrMask,
java.lang.Object attr) |
protected void |
set(LineAttributesRetained lr) |
(package private) 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.
|
(package private) void |
setLinePattern(int linePattern)
Sets the line pattern for this lineAttributes component object
and sends a message notifying the interested structures of the change.
|
(package private) void |
setLineWidth(float lineWidth)
Sets the line width for this lineAttributes component object and sends a
message notifying the interested structures of the change.
|
(package private) void |
setPatternMask(int mask)
Sets the pattern mask for this LineAttributes component object
and sends a message notifying the interested structures of change.
|
(package private) 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.
|
(package private) void |
updateMirrorObject(int component,
java.lang.Object value)
Update the "component" field of the mirror object with the
given "value"
|
(package private) void |
updateNative(Context ctx)
This method updates the native context.
|
addAMirrorUser, addUser, clearLive, clone, copyMirrorUsers, decRefCnt, doSetLive, getDuplicateOnCloneTree, getInImmCtx, incRefCnt, notifyUsers, removeAMirrorUser, removeMirrorUsers, removeUser, set, setDuplicateOnCloneTree, setFrequencyChangeMask, setInImmCtx, setLiveclearLive, clearLive, compile, doSetLive, doSetLive, getSource, getVirtualUniverse, isInSetLive, isStatic, markAsLive, merge, mergeTransform, setCompiled, setLive, setLive, setSource, traversegetIdxUsed, incIdxUsedstatic final int LINE_WIDTH_CHANGED
static final int LINE_PATTERN_CHANGED
static final int LINE_AA_CHANGED
static final int LINE_PATTERN_MASK_CHANGED
static final int LINE_PATTERN_SCALEFACTOR_CHANGED
float lineWidth
int linePattern
boolean lineAntialiasing
int linePatternMask
int linePatternScaleFactor
final void initLineWidth(float lineWidth)
lineWidth - the width, in pixels, of line primitivesfinal void setLineWidth(float lineWidth)
lineWidth - the width, in pixels, of line primitivesfinal float getLineWidth()
final void initLinePattern(int linePattern)
linePattern - the line pattern to be used, one of:
PATTERN_SOLID, PATTERN_DASH, PATTERN_DOT, or PATTERN_DASH_DOTfinal void setLinePattern(int linePattern)
linePattern - the line pattern to be used, one of:
PATTERN_SOLID, PATTERN_DASH, PATTERN_DOT, or PATTERN_DASH_DOTfinal int getLinePattern()
final void initLineAntialiasingEnable(boolean state)
state - true or false to enable or disable line antialiasingfinal void setLineAntialiasingEnable(boolean state)
state - true or false to enable or disable line antialiasingfinal boolean getLineAntialiasingEnable()
final void initPatternMask(int mask)
mask - the line pattern mask to be used.final void setPatternMask(int mask)
mask - the line pattern mask to be used.final int getPatternMask()
final void initPatternScaleFactor(int scaleFactor)
scaleFactor - the scale factor of mask, clamp to [1, 15]final void setPatternScaleFactor(int scaleFactor)
scaleFactor - the scale factor of mask, clamp to [1, 15]final int getPatternScaleFactor()
void createMirrorObject()
createMirrorObject in class NodeComponentRetainedvoid updateNative(Context ctx)
void initMirrorObject()
initMirrorObject in class NodeComponentRetainedvoid updateMirrorObject(int component,
java.lang.Object value)
updateMirrorObject in class NodeComponentRetainedboolean equivalent(LineAttributesRetained lr)
protected void set(LineAttributesRetained lr)
final void sendMessage(int attrMask,
java.lang.Object attr)
void handleFrequencyChange(int bit)
handleFrequencyChange in class SceneGraphObjectRetainedCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.