|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.beans.editor.IlvDecorationPropertyEditor.PredefinedDecoration
public static class IlvDecorationPropertyEditor.PredefinedDecoration
The editor will manage a table of PredefinedDecoration instances attached to a single unique String key.
| Constructor Summary | |
|---|---|
IlvDecorationPropertyEditor.PredefinedDecoration(IlvInputStream stream)
Creates a PredefinedDecoration by reading the id from a stream. |
|
| Method Summary | |
|---|---|
IlvRect |
boundingBox(Shape shape,
IlvRect rect,
IlvTransformer t)
Returns the bounding box of the specified shape, if it is decorated using this decoration. |
void |
draw(Graphics2D graphics,
Shape shape,
IlvTransformer t)
Draws the decoration for the specified shape in the specified graphics. |
boolean |
equals(Object t)
|
float |
equivalentWidth(IlvTransformer t)
Returns an equivalent line width to this path decoration, if it is drawn using the specified transformer. |
IlvPathDecoration |
getDelegate()
Returns the delegate decoration. |
boolean |
isZoomable()
Returns true if this path decoration is zoomable. |
void |
write(IlvOutputStream stream)
Writes the attributes of a persistent object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvDecorationPropertyEditor.PredefinedDecoration(IlvInputStream stream)
stream - stream to read from.| Method Detail |
|---|
public boolean equals(Object t)
equals in class ObjectObject.equals(java.lang.Object)
public void draw(Graphics2D graphics,
Shape shape,
IlvTransformer t)
draw in interface IlvPathDecorationIlvPathDecoration.draw(java.awt.Graphics2D, java.awt.Shape, ilog.views.IlvTransformer)
public IlvRect boundingBox(Shape shape,
IlvRect rect,
IlvTransformer t)
r is non null, the result is put in r and returned,
otherwise the result is returned in a newly allocated IlvRect.
boundingBox in interface IlvPathDecorationshape - The shape whose bounding box is to be computed.rect - The IlvRect that will contain the result.t - The transformer for this bounding box.IlvPathDecoration.boundingBox(java.awt.Shape, ilog.views.IlvRect, ilog.views.IlvTransformer)public boolean isZoomable()
true if this path decoration is zoomable.
isZoomable in interface IlvPathDecorationIlvPathDecoration.isZoomable()public float equivalentWidth(IlvTransformer t)
equivalentWidth in interface IlvPathDecorationt - The transformer to compute the equivalent width.
IlvPathDecoration.equivalentWidth(ilog.views.IlvTransformer)
public void write(IlvOutputStream stream)
throws IOException
write in interface IlvPersistentObjectstream - the output stream
IOException - thrown when an exception occurs during
the write operation for this object.IlvPersistentObject.write(ilog.views.io.IlvOutputStream)public IlvPathDecoration getDelegate()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||