|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.label.CompositeLabelEllipse
This class implements an elliptical molding for a
CompositeLabel. The text of the label will be adjusted to fit
into the elliptical region of this CompositeLabelRepresentation.
| Constructor Summary | |
CompositeLabelEllipse()
Default Constructor for CompositeLabelEllipse. |
|
| Method Summary | |
CompositeLabelRepresentation |
deepCopy(CompositeLabel compositelabel,
Label2D label)
Returns a deep-copy of this CompositeLabelRepresentations
instance. |
void |
draw(Renderer renderer,
Device device,
Transform2D xform_composite)
Does the actual drawing of this molding. |
AttributeSet |
getAttributes()
Returns an AttributeSet holding the Attributes
specific for this instance. |
void |
registerCompositeLabel(CompositeLabel compositelabel,
Label2D label)
Registers the given Label2D lying within the specified
CompositeLabel to be used with this
CompositeLabelRepresentation-instance. |
void |
revalidate()
Called whenever this instance has to be adjusted and re-layouted. |
void |
revalidate(Transform2D xform_context,
ScaleValues scalevalues)
Called whenever this instance has to be adjusted and re-layouted. |
void |
setAttributes(AttributeSet attributes)
Sets the specific parameters of this instance to the ones given in the specified AttributeSet. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompositeLabelEllipse()
CompositeLabelEllipse.
| Method Detail |
public AttributeSet getAttributes()
CompositeLabelRepresentationAttributeSet holding the Attributes
specific for this instance.
getAttributes in interface CompositeLabelRepresentationAttributeSet holding the Attributes
specific for this instance.public void setAttributes(AttributeSet attributes)
CompositeLabelRepresentationAttributeSet.
setAttributes in interface CompositeLabelRepresentationattributes - AttributeSet holding the parameters to
set.
public void registerCompositeLabel(CompositeLabel compositelabel,
Label2D label)
CompositeLabelRepresentationLabel2D lying within the specified
CompositeLabel to be used with this
CompositeLabelRepresentation-instance.
registerCompositeLabel in interface CompositeLabelRepresentationcompositelabel - the CompositeLabel holding the label.label - the Label2D to use.public void revalidate()
CompositeLabelRepresentation
revalidate in interface CompositeLabelRepresentation
public void revalidate(Transform2D xform_context,
ScaleValues scalevalues)
CompositeLabelRepresentation
revalidate in interface CompositeLabelRepresentationxform_context - the Transform2D to be usedscalevalues - the scale values for the different directions the
CompositeView has been set to
public CompositeLabelRepresentation deepCopy(CompositeLabel compositelabel,
Label2D label)
CompositeLabelRepresentationCompositeLabelRepresentations
instance.
deepCopy in interface CompositeLabelRepresentationcompositelabel - the CompositeLabel to be used in the
copied version.label - the CompositeLabel to be used in the copy.
CompositeLabelRepresentations
instance.
public void draw(Renderer renderer,
Device device,
Transform2D xform_composite)
CompositeLabelRepresentation
draw in interface CompositeLabelRepresentationrenderer - the Renderer to use.device - the Device to draw to.xform_composite - the Transform2D to use.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||