ilog.views.graphic
Class IlvOutlinePolygon

java.lang.Object
  extended by ilog.views.IlvGraphic
      extended by ilog.views.graphic.IlvPolyPoints
          extended by ilog.views.graphic.IlvPolygon
              extended by ilog.views.graphic.IlvOutlinePolygon
All Implemented Interfaces:
IlvPolyPointsInterface, IlvPersistentObject, Transferable, Serializable

Deprecated. Beginning with JViews 5.5 you should use IlvPolygon instead with the IlvPolygon.setStrokeOn(boolean) method.

public class IlvOutlinePolygon
extends IlvPolygon

IlvOutlinePolygon is an outlined polygon.

See Also:
Serialized Form

Constructor Summary
IlvOutlinePolygon(IlvInputStream stream)
          Deprecated.  
IlvOutlinePolygon(IlvOutlinePolygon source)
          Deprecated. Creates an IlvOutlinePolygon by copying an existing one.
IlvOutlinePolygon(IlvPoint[] points)
          Deprecated. Creates a new IlvOutlinePolygon with the specified points.
IlvOutlinePolygon(IlvPoint[] points, boolean copy)
          Deprecated. Creates a new IlvOutlinePolygon.
 
Method Summary
 IlvGraphic copy()
          Deprecated. Copies the object.
 void setFillOn(boolean value)
          Deprecated. On IlvOutlinePolygon this method does nothing.
 void setStrokeOn(boolean value)
          Deprecated. On IlvOutlinePolygon this method does nothing.
 
Methods inherited from class ilog.views.graphic.IlvPolygon
contains, draw, getBackground, getForeground, getIntersectionWithOutline, isFillOn, isStrokeOn, makeSelection, pointsInBBox, setBackground, setForeground, write
 
Methods inherited from class ilog.views.graphic.IlvPolyPoints
allowsPointInsertion, allowsPointMove, allowsPointRemoval, applyTransform, boundingBox, computeBBox, getPointAt, getPoints, getPointsCardinal, inBBox, insertPoint, intersects, movePoint, recomputeBBox, removePoint
 
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, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isPersistent, isSelectable, isVisible, move, move, moveResize, 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, translate, zoomable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvOutlinePolygon

public IlvOutlinePolygon(IlvPoint[] points)
Deprecated. 
Creates a new IlvOutlinePolygon with the specified points. Note that this constructor will copy the array and the points in the array, so you can reuse the same array for another operation.

Parameters:
points - The points of the outline polygon.

IlvOutlinePolygon

public IlvOutlinePolygon(IlvPoint[] points,
                         boolean copy)
Deprecated. 
Creates a new IlvOutlinePolygon.

Parameters:
points - The array of points.
copy - If true then the array of points and the points of the first parameter will be copied; otherwise this array will be used by the object and you must not use this array anymore.

IlvOutlinePolygon

public IlvOutlinePolygon(IlvOutlinePolygon source)
Deprecated. 
Creates an IlvOutlinePolygon by copying an existing one.

Parameters:
source - The origin object for the copy.

IlvOutlinePolygon

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

setStrokeOn

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

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

setFillOn

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

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

copy

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

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


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