|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Every CompositeLabel can have an arbitrary geometrical molding.
Such a molding is defined in the implementation of the draw-
method specified in this interface. At this time there are two
implementations, CompositeLabelEllipse and
CompositeLabelRectangle.
CompositeLabelEllipse,
CompositeLabelRectangle| 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. |
| Method Detail |
public AttributeSet getAttributes()
AttributeSet holding the Attributes
specific for this instance.
AttributeSet holding the Attributes
specific for this instance.public void setAttributes(AttributeSet attributes)
AttributeSet.
attributes - AttributeSet holding the parameters to
set.
public void registerCompositeLabel(CompositeLabel compositelabel,
Label2D label)
Label2D lying within the specified
CompositeLabel to be used with this
CompositeLabelRepresentation-instance.
compositelabel - the CompositeLabel holding the label.label - the Label2D to use.public void revalidate()
public void revalidate(Transform2D xform_context,
ScaleValues scalevalues)
xform_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)
CompositeLabelRepresentations
instance.
compositelabel - 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)
renderer - 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 | ||||||||||