ilog.views.graphic
Class IlvSplineLinkEdition

java.lang.Object
  extended by ilog.views.IlvObjectInteractor
      extended by ilog.views.IlvPolyPointsEdition
          extended by ilog.views.IlvLinkImageEditInteractor
              extended by ilog.views.graphic.IlvSplineLinkEdition
All Implemented Interfaces:
Serializable

public class IlvSplineLinkEdition
extends IlvLinkImageEditInteractor

IlvSplineLinkEdition is an object interactor used to edit IlvSplineLinkImage objects.

Since:
JViews 8.1
See Also:
Serialized Form

Constructor Summary
IlvSplineLinkEdition()
          Creates a new instance of IlvSplineLinkEdition.
 
Method Summary
protected  void insertPoint(IlvPolyPointsInterface obj, IlvPoint p, IlvObjectInteractorContext context)
          Called when a point is inserted.
protected  void movePoint(IlvPolyPointsInterface obj, IlvObjectInteractorContext context, IlvPoint p)
          Called when a point is moved.
 
Methods inherited from class ilog.views.IlvLinkImageEditInteractor
drawGhost
 
Methods inherited from class ilog.views.IlvPolyPointsEdition
allowPointAddition, allowPointAddition, allowPointRemoval, allowPointRemoval, allowsPointInsertion, allowsPointMove, allowsPointRemoval, drawGhost, getAddRemovePointModifier, getAddRemovePointModifierEx, getCursor, getIndex, handleButtonDown, handleButtonDragged, handleButtonUp, handleExpose, handleMouseMoved, isAddRemovePointModifierDown, isOpaqueMode, onEnter, onExit, processEvent, removePoint, setAddRemovePointModifier, setCursor, setOpaqueMode
 
Methods inherited from class ilog.views.IlvObjectInteractor
Get, Put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvSplineLinkEdition

public IlvSplineLinkEdition()
Creates a new instance of IlvSplineLinkEdition.

Method Detail

insertPoint

protected void insertPoint(IlvPolyPointsInterface obj,
                           IlvPoint p,
                           IlvObjectInteractorContext context)
Called when a point is inserted.

Overrides:
insertPoint in class IlvPolyPointsEdition
Parameters:
obj - The object to modify.
p - The position of the point in IlvManagerView coordinates.
context - The interactor context.

movePoint

protected void movePoint(IlvPolyPointsInterface obj,
                         IlvObjectInteractorContext context,
                         IlvPoint p)
Called when a point is moved. You can obtain the index of the removed point using getIndex.

Overrides:
movePoint in class IlvPolyPointsEdition
Parameters:
obj - The object to modify.
context - The interactor context.
p - The new position of the point in IlvManagerView coordinates.


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