ilog.views.graphic
Class IlvClosedSpline

java.lang.Object
  extended by ilog.views.IlvGraphic
      extended by ilog.views.graphic.IlvPolyPoints
          extended by ilog.views.graphic.IlvSpline
              extended by ilog.views.graphic.IlvClosedSpline
All Implemented Interfaces:
IlvPolyPointsInterface, IlvPersistentObject, Transferable, Serializable
Direct Known Subclasses:
IlvFilledSpline

Deprecated. Beginning with JViews 5.5 you should use IlvSpline instead with the IlvSpline.setClosed(boolean) method.

public class IlvClosedSpline
extends IlvSpline

A closed Bezier spline.

See Also:
Serialized Form

Constructor Summary
IlvClosedSpline(IlvClosedSpline source)
          Deprecated. Creates a new closed spline by copying an existing spline.
IlvClosedSpline(IlvInputStream stream)
          Deprecated.  
IlvClosedSpline(IlvPoint[] points)
          Deprecated. Creates a new closed spline.
IlvClosedSpline(IlvPoint[] points, boolean copy)
          Deprecated. Creates a new IlvClosedSpline.
 
Method Summary
 IlvGraphic copy()
          Deprecated. Copies the object.
 void setClosed(boolean value)
          Deprecated. On IlvClosedSpline this method does nothing.
 void setFillOn(boolean value)
          Deprecated. On IlvClosedSpline this method does nothing.
 void setStrokeOn(boolean value)
          Deprecated. On IlvClosedSpline this method does nothing.
 
Methods inherited from class ilog.views.graphic.IlvSpline
boundingBox, computeBBox, contains, draw, finalize, getBackground, getEndCap, getForeground, getIntersectionWithOutline, getLineStyle, getLineWidth, getLineWidth, getMaximumLineWidth, getSmoothness, isClosed, isFillOn, isStrokeOn, makeSelection, pointsInBBox, setBackground, setEndCap, setForeground, setLineStyle, setLineWidth, setMaximumLineWidth, setSmoothness, write
 
Methods inherited from class ilog.views.graphic.IlvPolyPoints
allowsPointInsertion, allowsPointMove, allowsPointRemoval, applyTransform, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvClosedSpline

public IlvClosedSpline(IlvPoint[] points)
Deprecated. 
Creates a new closed spline.

Parameters:
points - The control points of the spline. This array and the points will be copied by the constructor.

IlvClosedSpline

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

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.

IlvClosedSpline

public IlvClosedSpline(IlvClosedSpline source)
Deprecated. 
Creates a new closed spline by copying an existing spline.


IlvClosedSpline

public IlvClosedSpline(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 IlvClosedSpline this method does nothing.

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

setFillOn

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

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

setClosed

public final void setClosed(boolean value)
Deprecated. 
On IlvClosedSpline this method does nothing.

Overrides:
setClosed in class IlvSpline
Since:
JViews 5.5

copy

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

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


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