ilog.views.graphic
Class IlvRoundRectangle

java.lang.Object
  extended by ilog.views.IlvGraphic
      extended by ilog.views.graphic.IlvRectangle
          extended by ilog.views.graphic.IlvRoundRectangle
All Implemented Interfaces:
IlvPersistentObject, Transferable, Serializable

Deprecated. Beginning with JViews 5.5 you should use IlvRectangle instead with the IlvRectangle.setRadius(int) method.

public class IlvRoundRectangle
extends IlvRectangle

An IlvRoundRectangle is a rectangle with round corners.

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
IlvRoundRectangle(IlvInputStream stream)
          Deprecated.  
IlvRoundRectangle(IlvRect rect)
          Deprecated. Creates a new IlvRoundRectangle.
IlvRoundRectangle(IlvRect rect, int radius)
          Deprecated. Creates a new IlvRoundRectangle.
IlvRoundRectangle(IlvRoundRectangle source)
          Deprecated. Creates a new IlvRoundRectangle by copying an existing one.
 
Method Summary
 IlvGraphic copy()
          Deprecated. Copies the object.
 void setFillOn(boolean value)
          Deprecated. On IlvRoundRectangle this method does nothing.
 void setStrokeOn(boolean value)
          Deprecated. On IlvRoundRectangle this method does nothing.
 
Methods inherited from class ilog.views.graphic.IlvRectangle
applyTransform, boundingBox, contains, draw, getBackground, getCorners, getDefinitionRect, getForeground, getIntersectionWithOutline, getRadius, isCornersZoomable, isFillOn, isStrokeOn, moveResize, setBackground, setCorners, setCornersZoomable, setDefinitionRect, setForeground, setRadius, 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

IlvRoundRectangle

public IlvRoundRectangle(IlvRect rect,
                         int radius)
Deprecated. 
Creates a new IlvRoundRectangle.

Parameters:
rect - The definition rectangle of the object.
radius - The radius of the rectangle corners.

IlvRoundRectangle

public IlvRoundRectangle(IlvRect rect)
Deprecated. 
Creates a new IlvRoundRectangle. The radius is 10.

Parameters:
rect - The definition rectangle of the object.

IlvRoundRectangle

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

Parameters:
source - The origin object for the copy.

IlvRoundRectangle

public IlvRoundRectangle(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

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

setStrokeOn

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

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

setFillOn

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

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


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