|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graphics.AbstractPrimitive
com.tensegrity.graphics.primitive2D.Label2D
An object of class Label2D represents a 2-dimensional
multi-lined text area that may be edited in-place.
| Field Summary | |
protected BoundingBox |
bbox
instance variable for the labels bounding box |
boolean |
doSizeAdjustments
instance variable that indicates whether the label should attend the size-adjustment mode or not (used in the context of composites) |
protected static double[] |
tmpCoords
instance variable that is used to transform the coordinates of the rectangle |
protected static int[] |
tmpPtX
instance variable that is used to transform the coordinates of the rectangle |
protected static int[] |
tmpPtY
instance variable that is used to transform the coordinates of the rectangle |
boolean |
updateTextFormatter
instance variable that indicates whether to update the text formatter or not |
static boolean |
USE_COMPENSATION_FOR_SIZE_ADJUSTMENT
USE_COMPENSATION_FOR_SIZE_ADJUSTMENT: If this is true,
the Label2D will use a transformation to compensate the stretching
that occurs by using size adjustment. |
| Fields inherited from class com.tensegrity.graphics.AbstractPrimitive |
attributableOnSetListener, doAttributableEvents, infovalueregistry, interactionDescriptor, selected |
| Fields inherited from interface com.tensegrity.generic.attribute.AttributableOnSet |
TREE_SUBSET_POSTFIX |
| Constructor Summary | |
Label2D()
Constructor that creates an empty Label2D. |
|
Label2D(int left,
int top,
int right,
int bottom)
Constructor that creates a Label2D with the coordinates
given by left, top, right and
bottom. |
|
Label2D(Label2D label)
Copy constructor for Label2D. |
|
| Method Summary | |
protected void |
addSpecificAttributes(AttributeFactory factory,
AttributeSet attributes)
Add the specific attributes of a Label2D to the
AttributeSet given by attributes. |
void |
applyState(PrimitiveState state)
|
BoundingBox |
calculateBoundingBox(InteractionInfo interactionInfo)
|
Primitive |
deepCopy()
An implementation of this method is responsible for returning a deep- copy of the Primitive instance |
void |
enableAutomaticShortening(boolean enable)
If set to true lines of the label text that do not fit into
the label boundaries are not just clipped but get shortened and
... |
void |
enableAutomaticWordWrap(boolean enable)
Sets the line-wrapping policy of the label. |
void |
enableClipping(boolean enable)
Text that does not fit into the label boundaries gets clipped when enableClipping is set to true. |
void |
enableFirstWordCharacterWrap(boolean enable)
Set the style of wrapping used if automatic word-wrap is enabled. |
void |
enableKeepingFirstCharacter(boolean enable)
Enables/disables the keeping of the first character, even if it doesn't fit into the label. |
Attribute |
getAttribute(java.lang.String name)
Returns the attribute with the given name or null if there
is no Attribute with the given name. |
AttributeSet |
getAttributes()
Returns an AttributeSet consisting of all attributes of this
AttributableOnSet. |
AttributeSet |
getAttributesTree()
Returns an AttributeSet containing all
Attributes of this AttributableOnSet in a
treelike structure.
|
int |
getBottom()
Returns the y-coordinate of the bottom bounding. |
Boundary |
getBoundingBox()
Returns the bounding box of the BaseInteractable. |
int |
getFontUnit()
Returns the unit that is currently used to scale text the. |
int |
getHeight()
Returns the height of the bounding Rect2D. |
int |
getHorizontalAlignment()
Returns the a constant that represents the horizontal alignment of the text that is associated to the Label2D. |
Illustrator |
getIllustrator(Transform2D xform_context)
Returns the Primitives illustrator object. |
int |
getLeft()
Returns the x-coordinate of the left bounding. |
int |
getLineLength()
|
int |
getMarginBottom()
Returns the current bottom-margin value. |
int |
getMarginLeft()
Returns the current left-margin value. |
int |
getMarginRight()
Returns the current right-margin value. |
int |
getMarginTop()
Returns the current top-margin value. |
int |
getPreferredHeight(Transform2D xform_context,
ScaleValues scalevalues)
Returns the preferred height for the Label2D with respect
to the current line length, the line breaks within the current text and
the context transformation given by xform_context. |
Size |
getPreferredSize(Transform2D xform_context,
ScaleValues scalevalues)
Returns the preferred size for the Label2D with respect to
the line breaks within the current text and the context transformation
given by xform_context.
|
RenderingData |
getRenderingData(Transform2D xform_context)
Returns a RenderingData instance, which are used by a
Renderer implementation to render a Primitive.
|
int |
getRight()
Returns the x-coordinate of the right bounding. |
int |
getSizeAdjustmentMode()
Returns a constant that represents the current setting for the size adjustment mode. |
PrimitiveState |
getState()
|
java.lang.String |
getText()
Returns the current text of the Label2D. |
PaintFormat |
getTextBackgroundPaint()
|
TextFormatter |
getTextFormatter()
Returns the underlying TextFormatter object.
|
int |
getTop()
Returns the y-coordinate of the top bounding. |
int |
getVerticalAlignment()
Returns the a constant that represents the vertical alignment of the text that is associated to the Label2D. |
int |
getWidth()
Returns the width of the bounding Rect2D. |
protected InteractionDescriptor |
internalCreateInteractionDescriptor()
This method should return an InteractionDescriptor that
defines the interaction capabilities of a certain Primitive.
|
Transform2D |
internalGetLocalTransform()
Returns the local transform which contains a transformation to compensate a stretching that occurred through size adjustment |
void |
internalSetLocalTransform(Transform2D trans,
boolean compensate)
Sets the local transform that is usually generated by a composite that contains this label. |
protected void |
internalSetTextBackgroundPaint(PaintFormat paintTextBackgroud,
AttributeSet attributeschanged_tablelike,
AttributeSet attributeschanged_treelike)
|
boolean |
isAutomaticShorteningEnabled()
Returns a boolean that indicates whether line shortening is
enabled or not. |
boolean |
isAutomaticWordWrapEnabled()
Returns a boolean that indicates whether word wrapping is
enabled or not. |
boolean |
isClippingEnabled()
Returns a boolean that indicates whether clipping is
enabled or not. |
boolean |
isEditable()
Returns true if the label is editable. |
boolean |
isFirstWordCharacterWrapEnabled()
Returns a boolean that indicates whether first word
character wrapping is enabled or not. |
boolean |
isKeepingFirstCharacter()
Returns true, if the line shortening should not remove the first character, even if it doesn't fit into the label |
boolean |
isResizable()
Returns a boolean that indicates whether the
Interactable is resizable or not. |
void |
postActing(InteractionInfo interactionInfo,
int itemspecifier)
This method is called by the InteractionContext while the
interaction takes place. |
InteractionItem |
select(InteractionInfo interactionInfo)
This method is called by the InteractionContext to select
the BaseInteractable. |
void |
set(int left,
int top,
int right,
int bottom)
Sets the bounding of the Label2D to the values given by
left, top, right and
bottom |
void |
setAttributes(AttributeSet attributes)
Searches within the AttributeSet given by
attributes for attributes that have the same name as the
attributes of this AttributableOnSet holds. |
void |
setAttributesTree(AttributeSet attributes)
Performs the same operation as the setAttributes(com.tensegrity.generic.attribute.AttributeSet) method with
the difference that the AttributeSet given to this method
must provide the treelike structure mentioned in the documentation of
the getAttributesTree(). |
void |
setAttributeValue(java.lang.String name,
java.lang.Object value)
Sets the value of the attribute with the name to the given value. |
void |
setBottom(int bottom)
Sets the y-coordinate of the bottom bounding. |
void |
setEditable(boolean editable)
Sets whether or not this component is editable |
void |
setFontFormat(FontFormat font)
Sets the FontFormat for the Primitive. |
void |
setFontUnit(int fontunit)
Sets the font unit to the value given by fontunit. |
void |
setHeight(int height)
Sets the height of this Rect2D to the given height. |
void |
setHorizontalAlignment(int horizontalAlignment)
Sets the horizontal alignment for the text that is associated to the Label2D. |
void |
setLeft(int left)
Sets the x-coordinate of the left bounding. |
void |
setLineLength(int lineLength)
Sets the line length to the value given by lineLength.
|
void |
setMarginBottom(int marginBottom)
Sets the bottom-margin to the value given by marginBottom |
void |
setMarginLeft(int marginLeft)
Sets the left-margin to the value given by marginLeft |
void |
setMarginRight(int marginRight)
Sets the right-margin to the value given by marginRight |
void |
setMargins(int marginLeft,
int marginTop,
int marginRight,
int marginBottom)
Sets the margin of the label to the values given by marginLeft, marginTop, marginRight and
marginBottom. |
void |
setMarginTop(int marginTop)
Sets the top-margin to the value given by marginTop |
void |
setResizable(boolean resizable)
Sets the state of resizability for the Interactable to the
value given by resizable. |
void |
setRight(int right)
Sets the x-coordinate of the right bounding. |
void |
setSizeAdjustmentMode(int sizeAdjustmentMode)
Sets the size adjustment mode for Label2D to the value
given by sizeAdjustmentMode. |
void |
setSizeAdjustmentMode(Transform2D xform_context,
ScaleValues scalevalues,
int sizeAdjustmentMode)
Sets the size adjustment mode for Label2D to the value
given by sizeAdjustmentMode. |
protected void |
setSpecificAttributes(AttributeFactory aFac,
AttributeSet attributes,
AttributeSet attributeschanged_tablelike,
AttributeSet attributeschanged_treelike,
java.util.Map attribute2oldvalue_tablelike,
java.util.Map attribute2oldvalue_treelike)
Set the specific attributes of a Label2D located in the
AttributeSet given by attributes to the
Label2D's properties. |
void |
setStroke(StrokeFormat stroke)
Sets a StrokeFormat for the Primitive. |
void |
setText(java.lang.String text)
Sets the text of the Label2D to the value given by
text. |
void |
setTextBackgroundPaint(PaintFormat paintTextBackgroud)
|
void |
setTop(int top)
Sets the y-coordinate of the top bounding. |
void |
setTransform(Transform2D transform)
Sets the Transform2D given by transform as the
new transform for the coordinates of the Primitive. |
void |
setVerticalAlignment(int verticalAlignment)
Sets the vertical alignment for the text that is associated to the Label2D. |
void |
setWidth(int width)
Sets the width of this Rect2D to the given width. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.tensegrity.graphics.interaction.BaseInteractable |
getInteractionDescriptor, getMoveItem, hits, internalEnableSelection, internalSelect, internalSetSelected, isMovable, isSelectable, isSelected, mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, preActing, setMovable, setSelectable, setSelected, startAction, stopAction |
| Field Detail |
public static boolean USE_COMPENSATION_FOR_SIZE_ADJUSTMENT
USE_COMPENSATION_FOR_SIZE_ADJUSTMENT: If this is true,
the Label2D will use a transformation to compensate the stretching
that occurs by using size adjustment. Only applies to labels with
object unit fonts.
protected final BoundingBox bbox
public boolean doSizeAdjustments
public boolean updateTextFormatter
protected static final double[] tmpCoords
protected static final int[] tmpPtX
protected static final int[] tmpPtY
| Constructor Detail |
public Label2D()
Label2D.
public Label2D(int left,
int top,
int right,
int bottom)
Label2D with the coordinates
given by left, top, right and
bottom.
left - the left boundingtop - the top boundingright - the right boundingbottom - the bottom boundingpublic Label2D(Label2D label)
Label2D.
label - the Label2D to copy| Method Detail |
public final int getLeft()
public final void setLeft(int left)
left - the left-bounding to set.public final int getTop()
public final void setTop(int top)
top - the top-bounding to set.public final int getRight()
public final void setRight(int right)
right - the right-bounding to set.public final int getBottom()
public final void setBottom(int bottom)
bottom - the bottom-bounding to set.public final int getWidth()
Rect2D.
Rect2D.public final void setWidth(int width)
Rect2D to the given width.
width - the new width for this rectangle.public final int getHeight()
Rect2D.
Rect2D.public final void setHeight(int height)
Rect2D to the given height.
height - the new height for this rectangle.
public final void set(int left,
int top,
int right,
int bottom)
Label2D to the values given by
left, top, right and
bottom
left - the new value for the left boundingtop - the new value for the top boundingright - the new value for the right boundingbottom - the new value for the bottom boundingpublic boolean isEditable()
true if the label is editable.
true if the label is editable.public void setEditable(boolean editable)
editable - true if this label should be editable,
false otherwise.public final int getHorizontalAlignment()
Label2D. The possible
constants this method may return are defined by
GraphicConstants.ALIGN_LEFT,
GraphicConstants.ALIGN_RIGHT or
GraphicConstants.ALIGN_CENTER.
public final void setHorizontalAlignment(int horizontalAlignment)
Label2D. The supported constants are defined by
horizontalAlignment - the new horizontal alignmentpublic final int getVerticalAlignment()
Label2D. The possible constants
this method may return are defined by
GraphicConstants.ALIGN_TOP,
GraphicConstants.ALIGN_BOTTOM or
GraphicConstants.ALIGN_CENTER.
public final void setVerticalAlignment(int verticalAlignment)
Label2D. The supported constants are defined by
verticalAlignment - the new vertical alignmentpublic final int getMarginLeft()
public final void setMarginLeft(int marginLeft)
marginLeft
marginLeft - the new value for left-marginpublic final int getMarginRight()
public final void setMarginRight(int marginRight)
marginRight
marginRight - the new value for right-marginpublic final int getMarginTop()
public final void setMarginTop(int marginTop)
marginTop
marginTop - the new value for top-marginpublic final int getMarginBottom()
public final void setMarginBottom(int marginBottom)
marginBottom
marginBottom - the new value for bottom-margin
public final void setMargins(int marginLeft,
int marginTop,
int marginRight,
int marginBottom)
marginLeft, marginTop, marginRight and
marginBottom.
marginLeft - the new value for the left-marginmarginTop - the new value for the top-marginmarginRight - the new value for the right-marginmarginBottom - the new value for the bottom-marginpublic final java.lang.String getText()
Label2D.
Label2Dpublic final void setText(java.lang.String text)
Label2D to the value given by
text. For multiple lines this text can contain line breaks.
text - the new textpublic final TextFormatter getTextFormatter()
TextFormatter object.
TextFormatter objectpublic final int getFontUnit()
public final void setFontUnit(int fontunit)
fontunit.
fontunit - the new font unit to usepublic final boolean isClippingEnabled()
boolean that indicates whether clipping is
enabled or not.
public final void enableClipping(boolean enable)
enableClipping is set to true. If set to
false, text can overlap the labels rectangular boundary.
enable - flag that enables or disables clippingpublic final boolean isAutomaticShorteningEnabled()
boolean that indicates whether line shortening is
enabled or not.
public final void enableAutomaticShortening(boolean enable)
true lines of the label text that do not fit into
the label boundaries are not just clipped but get shortened and
...appended at the end.
enable - flag that enables or disables line shorteningpublic final boolean isKeepingFirstCharacter()
public final void enableKeepingFirstCharacter(boolean enable)
public final boolean isAutomaticWordWrapEnabled()
boolean that indicates whether word wrapping is
enabled or not.
public final void enableAutomaticWordWrap(boolean enable)
true
the text will be wrapped if it is too long to fit within the allocated
width of the labels rectangular boundary.
enable - flag that enables or disables word wrappingpublic final boolean isFirstWordCharacterWrapEnabled()
boolean that indicates whether first word
character wrapping is enabled or not.
public final void enableFirstWordCharacterWrap(boolean enable)
true, the lines will be wrapped at word boundaries
if they are too long to fit within the allocated width of the label. If
set to false, the lines will be wrapped at the text
character boundaries.
enable - flag that enables or disables first word character
wrappingpublic final int getSizeAdjustmentMode()
GraphicConstants.SIZE_ADJUSTMENT_NONE,
GraphicConstants.SIZE_ADJUSTMENT_LINE_COUNT,
GraphicConstants.SIZE_ADJUSTMENT_LINE_LENGTH or
GraphicConstants.SIZE_ADJUSTMENT_LINE_COUNTANDLENGTH.
public final void setSizeAdjustmentMode(int sizeAdjustmentMode)
Label2D to the value
given by sizeAdjustmentMode. The supported constants are:
GraphicConstants.SIZE_ADJUSTMENT_NONE
Neither the width nor the height of the label are adjusted.
GraphicConstants.SIZE_ADJUSTMENT_LINE_COUNT
The height of the label gets adjusted to fit the text height.
GraphicConstants.SIZE_ADJUSTMENT_LINE_LENGTH
The width of the label gets adjusted to fit the text length.
GraphicConstants.SIZE_ADJUSTMENT_LINE_COUNTANDLENGTH
The labels width and height are adjusted to justify the text boundary.
sizeAdjustmentMode - the new size adjustment mode
public final void setSizeAdjustmentMode(Transform2D xform_context,
ScaleValues scalevalues,
int sizeAdjustmentMode)
Label2D to the value
given by sizeAdjustmentMode. The supported constants are
defined by
GraphicConstants.SIZE_ADJUSTMENT_NONE,
GraphicConstants.SIZE_ADJUSTMENT_LINE_COUNT,
GraphicConstants.SIZE_ADJUSTMENT_LINE_LENGTH or
GraphicConstants.SIZE_ADJUSTMENT_LINE_COUNTANDLENGTH.
Label2D is used in a context that has it's own
coordinate system and don't uses device coordinates.
xform_context - the context transformationscalevalues - the values to scale the font the withsizeAdjustmentMode - the new size adjustment modepublic final int getLineLength()
public final void setLineLength(int lineLength)
lineLength.
The line length value is used by the text formatter to calculate
wrapped lines.
lineLength - the new value for the line length
public final int getPreferredHeight(Transform2D xform_context,
ScaleValues scalevalues)
Label2D with respect
to the current line length, the line breaks within the current text and
the context transformation given by xform_context.
xform_context - the context transformationscalevalues - the values to scale the font the with
Label2D
public final Size getPreferredSize(Transform2D xform_context,
ScaleValues scalevalues)
Label2D with respect to
the line breaks within the current text and the context transformation
given by xform_context.
xform_context - the context transformationscalevalues - the values to scale the font the with
Label2Dpublic final PaintFormat getTextBackgroundPaint()
public final void setTextBackgroundPaint(PaintFormat paintTextBackgroud)
protected final void internalSetTextBackgroundPaint(PaintFormat paintTextBackgroud,
AttributeSet attributeschanged_tablelike,
AttributeSet attributeschanged_treelike)
public void setStroke(StrokeFormat stroke)
PrimitiveStrokeFormat for the Primitive.
setStroke in interface Primitivestroke - the StrokeFormat to usepublic void setFontFormat(FontFormat font)
PrimitiveFontFormat for the Primitive.
setFontFormat in interface PrimitivesetFontFormat in class AbstractPrimitivepublic final void setTransform(Transform2D transform)
PrimitiveTransform2D given by transform as the
new transform for the coordinates of the Primitive.
setTransform in interface PrimitivesetTransform in class AbstractPrimitivepublic Boundary getBoundingBox()
BaseInteractableBaseInteractable.
getBoundingBox in interface BaseInteractableBaseInteractablepublic PrimitiveState getState()
getState in interface Primitive
public void applyState(PrimitiveState state)
throws PrimitiveStateNotApplicableException
applyState in interface PrimitivePrimitiveStateNotApplicableExceptionpublic Illustrator getIllustrator(Transform2D xform_context)
PrimitivePrimitives illustrator object. To get more
informations about the illustrator object see the class above or the
documentation of the Illustrator class.
getIllustrator in interface Primitivexform_context - the transformation of the context the
Primitive lies within.
Primitive.public RenderingData getRenderingData(Transform2D xform_context)
PrimitiveRenderingData instance, which are used by a
Renderer implementation to render a Primitive.
RenderingData object see
the class documentation above or the documentation of the
RenderingData class.
Renderer technique see the
class documentation above or the documentation of the
Renderer class.
getRenderingData in interface PrimitivegetRenderingData in class AbstractPrimitivepublic Primitive deepCopy()
PrimitivePrimitive instance
deepCopy in interface PrimitivePrimitive.public boolean isResizable()
Interactableboolean that indicates whether the
Interactable is resizable or not.
isResizable in interface InteractableInteractablepublic void setResizable(boolean resizable)
InteractableInteractable to the
value given by resizable.
setResizable in interface Interactableresizable - the new state of resizability for the
Interactablepublic BoundingBox calculateBoundingBox(InteractionInfo interactionInfo)
calculateBoundingBox in interface Interactablepublic InteractionItem select(InteractionInfo interactionInfo)
BaseInteractableInteractionContext to select
the BaseInteractable. It returns null if the
BaseInteractable is not hit or the responsible
InteractionItem.
select in interface BaseInteractableselect in class AbstractPrimitive
public void postActing(InteractionInfo interactionInfo,
int itemspecifier)
BaseInteractableInteractionContext while the
interaction takes place. The prefix post indicates that it is called
after the InteractionContext has called the
InteractionItem to do his work, so that the
BaseInteractable can update needed values, fire events and such
postActing in interface BaseInteractablepostActing in class AbstractPrimitive
public void setAttributeValue(java.lang.String name,
java.lang.Object value)
throws IllegalValueException,
ConstraintViolationException
AttributableAttributable interface doesn't support an
Attribute with the name given by name,
the attribute given through name and value
is not handled nor created by Attributable.
setAttributeValue in interface AttributablesetAttributeValue in class AbstractPrimitiveIllegalValueException
ConstraintViolationExceptionpublic Attribute getAttribute(java.lang.String name)
Attributablenull if there
is no Attribute with the given name.
getAttribute in interface AttributablegetAttribute in class AbstractPrimitivepublic AttributeSet getAttributes()
AttributableOnSetAttributeSet consisting of all attributes of this
AttributableOnSet.
getAttributes in interface AttributableOnSetAttributeSet with all attributes.public void setAttributes(AttributeSet attributes)
AttributableOnSetAttributeSet given by
attributes for attributes that have the same name as the
attributes of this AttributableOnSet holds. The value of
every attribute that has the same name is used as the new value for the
corresponding attribute of this AttributableOnSet.
An Attribute within the given AttributeSet that
is not an attribute of the object that implements the
AttributableOnSet interface is not handled by nor added
to the specific implementor of the AttributableOnSet
interface.
setAttributes in interface AttributableOnSetattributes - the AttributeSet consisting of the attributes
whose values to set.public AttributeSet getAttributesTree()
AttributableOnSetAttributeSet containing all
Attributes of this AttributableOnSet in a
treelike structure.
Attributes for an Attribute of this
AttributableOnSet.
Attribute can only
have one value (in this case an object or the Attributes
for an object) the subsequent attributes are plugged into the returned
AttributeSet as a new Attribute with the same
name and the AttributableOnSet.TREE_SUBSET_POSTFIX.
getAttributesTree in interface AttributableOnSetAttributeSet with the attributes
in a treelike structurepublic void setAttributesTree(AttributeSet attributes)
AttributableOnSetAttributableOnSet.setAttributes(com.tensegrity.generic.attribute.AttributeSet) method with
the difference that the AttributeSet given to this method
must provide the treelike structure mentioned in the documentation of
the AttributableOnSet.getAttributesTree().
setAttributesTree in interface AttributableOnSetattributes - the AttributeSet containing the attributes
whose values to set.
protected void addSpecificAttributes(AttributeFactory factory,
AttributeSet attributes)
Label2D to the
AttributeSet given by attributes.
factory - an instance of AttributeFactory needed to
create new a new attributeattributes - the AttributeSet to add the attributes to
protected void setSpecificAttributes(AttributeFactory aFac,
AttributeSet attributes,
AttributeSet attributeschanged_tablelike,
AttributeSet attributeschanged_treelike,
java.util.Map attribute2oldvalue_tablelike,
java.util.Map attribute2oldvalue_treelike)
Label2D located in the
AttributeSet given by attributes to the
Label2D's properties.
attributes - the AttributeSet that contains the
attributes to setprotected InteractionDescriptor internalCreateInteractionDescriptor()
AbstractPrimitiveInteractionDescriptor that
defines the interaction capabilities of a certain Primitive.
Since the InteractionDescriptor varies for different kinds
of primitives this method is declared as abstract and must be
implemented for each Primitive that is based on the
AbstractPrimitive class.
null.
internalCreateInteractionDescriptor in class AbstractPrimitiveInteractionDescriptor
for the certain Primitive instancepublic java.lang.String toString()
public void internalSetLocalTransform(Transform2D trans,
boolean compensate)
trans - The current transformation, meaning the scale
between the original composite bounds and the
currentcompensate - True, if this is a call that should lead to a
compensation. This is automatically done by the
Label2D when setting the Text or the FontFormat.
The only case when the transform should NOT be
compensated is when resizing the composite.public Transform2D internalGetLocalTransform()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||