|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvRectangle
ilog.views.graphic.IlvFilledRectangle
IlvRectangle instead
with IlvRectangle.setFillOn(boolean) and IlvRectangle.setStrokeOn(boolean) methods.
public class IlvFilledRectangle
An IlvFilledRectangle is a rectangle with a colored background.
| Field Summary |
|---|
| Fields inherited from class ilog.views.graphic.IlvRectangle |
|---|
BOTTOM_LEFT, BOTTOM_RIGHT, drawrect, TOP_LEFT, TOP_RIGHT |
| Constructor Summary | |
|---|---|
IlvFilledRectangle(IlvFilledRectangle source)
Deprecated. Creates a new IlvFilledRectangle by copying an existing one. |
|
IlvFilledRectangle(IlvInputStream stream)
Deprecated. |
|
IlvFilledRectangle(IlvRect rect)
Deprecated. Creates a new IlvFilledRectangle. |
|
| Method Summary | |
|---|---|
IlvGraphic |
copy()
Deprecated. Copies the object. |
Color |
getForeground()
Deprecated. Returns the color of the IlvRectangle. |
void |
setFillOn(boolean value)
Deprecated. On IlvFilledRectangle this method does nothing. |
void |
setForeground(Color color)
Deprecated. Changes the color of the IlvRectangle. |
void |
setRadius(int radius)
Deprecated. On IlvFilledRectangle this method does nothing. |
void |
setStrokeOn(boolean value)
Deprecated. On IlvFilledRectangle this method does nothing. |
| Methods inherited from class ilog.views.graphic.IlvRectangle |
|---|
applyTransform, boundingBox, contains, draw, getBackground, getCorners, getDefinitionRect, getIntersectionWithOutline, getRadius, isCornersZoomable, isFillOn, isStrokeOn, moveResize, setBackground, setCorners, setCornersZoomable, setDefinitionRect, translate, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFilledRectangle(IlvRect rect)
IlvFilledRectangle.
rect - The definition rectangle of the object.public IlvFilledRectangle(IlvFilledRectangle source)
source - The origin object for the copy.
public IlvFilledRectangle(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
stream - The input stream.
IlvReadFileException - if the format is not correct.
IlvReadFileException| Method Detail |
|---|
public void setForeground(Color color)
IlvRectangle.
Warning: This method is redefined on this class
only for compatibility reasons.
setForeground in class IlvRectanglecolor - The new color.IlvGraphic.draw(Graphics, IlvTransformer),
IlvGraphic.setBackground(Color),
IlvGraphic.setFillOn(boolean),
IlvGraphic.setStrokeOn(boolean),
IlvGraphicpublic Color getForeground()
IlvRectangle.
Warning: This method is redefined on this class
only for compatibility reasons.
getForeground in class IlvRectanglepublic void setRadius(int radius)
IlvFilledRectangle this method does nothing.
setRadius in class IlvRectangleradius - The new radius.IlvRectangle.getRadius(),
IlvRectangle.getCorners(),
IlvRectangle.setCornersZoomable(boolean)public final void setStrokeOn(boolean value)
IlvFilledRectangle this method does nothing.
setStrokeOn in class IlvRectanglevalue - Set to true to enable the stroke in your
customized graphic object.IlvRectangle.isStrokeOn()public final void setFillOn(boolean value)
IlvFilledRectangle this method does nothing.
setFillOn in class IlvRectanglevalue - Set to true to enable the fill style for this
graphic object.IlvRectangle.isFillOn()public IlvGraphic copy()
copy in class IlvRectangleIlvGraphic
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||