ilog.views.graphic
Class IlvFilledSpline

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
                  extended by ilog.views.graphic.IlvFilledSpline
All Implemented Interfaces:
IlvPolyPointsInterface, IlvPersistentObject, Transferable, Serializable

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

public class IlvFilledSpline
extends IlvClosedSpline

A filled closed Bezier spline.

See Also:
Serialized Form

Constructor Summary
IlvFilledSpline(IlvFilledSpline source)
          Deprecated. Creates a new filled spline by copying an existing one.
IlvFilledSpline(IlvInputStream stream)
          Deprecated.  
IlvFilledSpline(IlvPoint[] points)
          Deprecated. Creates a new filled spline.
IlvFilledSpline(IlvPoint[] points, boolean copy)
          Deprecated. Creates a new IlvFilledSpline.
 
Method Summary
 IlvGraphic copy()
          Deprecated. Copies the object.
 Color getForeground()
          Deprecated. Returns the foreground color of the IlvFilledSpline.
 float getLineWidth()
          Deprecated. Returns the line width of the object.
 void setForeground(Color color)
          Deprecated. Changes the foreground color of the IlvFilledSpline.
 void setLineWidth(float lineWidth)
          Deprecated. Changes the line width of the object.
 
Methods inherited from class ilog.views.graphic.IlvClosedSpline
setClosed, setFillOn, setStrokeOn
 
Methods inherited from class ilog.views.graphic.IlvSpline
boundingBox, computeBBox, contains, draw, finalize, getBackground, getEndCap, getIntersectionWithOutline, getLineStyle, getLineWidth, getMaximumLineWidth, getSmoothness, isClosed, isFillOn, isStrokeOn, makeSelection, pointsInBBox, setBackground, setEndCap, setLineStyle, 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

IlvFilledSpline

public IlvFilledSpline(IlvPoint[] points)
Deprecated. 
Creates a new filled spline.

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

IlvFilledSpline

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

Parameters:
points - The array of points.
copy - If true, 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 any more.

IlvFilledSpline

public IlvFilledSpline(IlvFilledSpline source)
Deprecated. 
Creates a new filled spline by copying an existing one.

Parameters:
source - The filled spline to be copied.

IlvFilledSpline

public IlvFilledSpline(IlvInputStream stream)
                throws IlvReadFileException
Deprecated. 

Reads the object from an IlvInputStream.

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

copy

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

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

getLineWidth

public final float getLineWidth()
Deprecated. 
Returns the line width of the object. IlvFilledSpline has no outline. Therefore, the method always returns 0.

Overrides:
getLineWidth in class IlvSpline

setLineWidth

public void setLineWidth(float lineWidth)
Deprecated. 
Changes the line width of the object. IlvFilledSpline has no outline. Therefore, the method does nothing and should not be called.

Overrides:
setLineWidth in class IlvSpline
Parameters:
lineWidth - The new line width.

setForeground

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

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

getForeground

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

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


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