ilog.views.graphic
Class IlvFilledRectangle

java.lang.Object
  extended by ilog.views.IlvGraphic
      extended by ilog.views.graphic.IlvRectangle
          extended by ilog.views.graphic.IlvFilledRectangle
All Implemented Interfaces:
IlvPersistentObject, Transferable, Serializable
Direct Known Subclasses:
IlvExpandedFrame, IlvFilledRoundRectangle

Deprecated. Beginning with JViews 5.5 you should use IlvRectangle instead with IlvRectangle.setFillOn(boolean) and IlvRectangle.setStrokeOn(boolean) methods.

public class IlvFilledRectangle
extends IlvRectangle

An IlvFilledRectangle is a rectangle with a colored background.

See Also:
Serialized Form

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 ilog.views.IlvGraphic
addActionListener, addNamedPropertyListener, boundingBox, getAndAssociateObjectInteractor, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, hasProperty, inside, intersects, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isPersistent, isSelectable, isVisible, makeSelection, move, move, notifyObjectInteractorToManager, processActionEvent, reDraw, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setEditable, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setToolTipText, setVisible, toString, zoomable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvFilledRectangle

public IlvFilledRectangle(IlvRect rect)
Deprecated. 
Creates a new IlvFilledRectangle.

Parameters:
rect - The definition rectangle of the object.

IlvFilledRectangle

public IlvFilledRectangle(IlvFilledRectangle source)
Deprecated. 
Creates a new IlvFilledRectangle by copying an existing one.

Parameters:
source - The origin object for the copy.

IlvFilledRectangle

public IlvFilledRectangle(IlvInputStream stream)
                   throws IlvReadFileException
Deprecated. 

Reads the object from an IlvInputStream.

Parameters:
stream - The input stream.
Throws:
IlvReadFileException - if the format is not correct.
IlvReadFileException
Method Detail

setForeground

public void setForeground(Color color)
Deprecated. 
Changes the color of the IlvRectangle. Warning: This method is redefined on this class only for compatibility reasons.

Overrides:
setForeground in class IlvRectangle
Parameters:
color - The new color.
See Also:
IlvGraphic.draw(Graphics, IlvTransformer), IlvGraphic.setBackground(Color), IlvGraphic.setFillOn(boolean), IlvGraphic.setStrokeOn(boolean), IlvGraphic

getForeground

public Color getForeground()
Deprecated. 
Returns the color of the IlvRectangle. Warning: This method is redefined on this class only for compatibility reasons.

Overrides:
getForeground in class IlvRectangle
Returns:
The color of the object.

setRadius

public void setRadius(int radius)
Deprecated. 
On IlvFilledRectangle this method does nothing.

Overrides:
setRadius in class IlvRectangle
Parameters:
radius - The new radius.
See Also:
IlvRectangle.getRadius(), IlvRectangle.getCorners(), IlvRectangle.setCornersZoomable(boolean)

setStrokeOn

public final void setStrokeOn(boolean value)
Deprecated. 
On IlvFilledRectangle this method does nothing.

Overrides:
setStrokeOn in class IlvRectangle
Parameters:
value - Set to true to enable the stroke in your customized graphic object.
See Also:
IlvRectangle.isStrokeOn()

setFillOn

public final void setFillOn(boolean value)
Deprecated. 
On IlvFilledRectangle this method does nothing.

Overrides:
setFillOn in class IlvRectangle
Parameters:
value - Set to true to enable the fill style for this graphic object.
See Also:
IlvRectangle.isFillOn()

copy

public IlvGraphic copy()
Deprecated. 
Copies the object. This method copies the object by calling the copy constructor.

Overrides:
copy in class IlvRectangle
Returns:
A copy of the object.
See Also:
IlvGraphic


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.