ilog.views.maps.measures
Class IlvMakeMeasureInteractor

java.lang.Object
  extended by ilog.views.IlvManagerViewInteractor
      extended by ilog.views.interactor.IlvMakePolyPointsInteractor
          extended by ilog.views.interactor.IlvMakeLineInteractor
              extended by ilog.views.maps.measures.IlvMakeMeasureInteractor
All Implemented Interfaces:
IlvPermanentInteractorInterface, IlvPolyPointsObjectFactory, Serializable

public class IlvMakeMeasureInteractor
extends IlvMakeLineInteractor

This interactor creates an IlvMapOrthodromyPath containing measure and bearing properties.

Since:
JViews 7.5
See Also:
Serialized Form

Constructor Summary
IlvMakeMeasureInteractor()
          Creates a new IlvMakeMeasureInteractor.
 
Method Summary
protected  void addPolyPoints(IlvGraphic obj)
          add the object to the data source in addition to the manager.
 IlvGraphic createObject(IlvPoint[] points)
          Called by the interactor to create the IlvLine.
 IlvMapLayer getMapInsertionLayer()
          Creates or return a Map Layer for measures.
 boolean isOpaqueMode()
          Returns an indication of whether the interactor is in Opaque mode or not.
protected  IlvGraphic makePolyPoint(IlvPoint[] points)
          calls createObjects.
 
Methods inherited from class ilog.views.interactor.IlvMakeLineInteractor
drawGhost
 
Methods inherited from class ilog.views.interactor.IlvMakePolyPointsInteractor
accept, allowsMultiplePoints, allowsMultiplePoints, attach, count, detach, doIt, endOnDoubleClick, getBackground, getCursor, getForeground, getMinPointsDistance, getObjectFactory, getPoints, isAllowingMultiplePoints, isCreationInSubManagersAllowed, isGrapherMode, isGridMode, isPermanent, isSelectionMode, isXORGhost, numberOfPointsReached, processMouseEvent, processMouseMotionEvent, react, reInitialize, setAllowingMultiplePoints, setBackground, setCreationInSubManagersAllowed, setCursor, setForeground, setGrapherMode, setGridMode, setMinPointsDistance, setObjectFactory, setOpaqueMode, setPermanent, setSelectionMode
 
Methods inherited from class ilog.views.IlvManagerViewInteractor
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvMakeMeasureInteractor

public IlvMakeMeasureInteractor()
Creates a new IlvMakeMeasureInteractor.

Method Detail

getMapInsertionLayer

public IlvMapLayer getMapInsertionLayer()
Creates or return a Map Layer for measures.

Returns:
the lazily created layer.

createObject

public IlvGraphic createObject(IlvPoint[] points)
Called by the interactor to create the IlvLine.

Specified by:
createObject in interface IlvPolyPointsObjectFactory
Overrides:
createObject in class IlvMakeLineInteractor
Parameters:
points - The control points of the line.
Returns:
the new graphic object.
See Also:
IlvPolyPointsObjectFactory.createObject(ilog.views.IlvPoint[])

makePolyPoint

protected IlvGraphic makePolyPoint(IlvPoint[] points)
calls createObjects.

Overrides:
makePolyPoint in class IlvMakePolyPointsInteractor
Parameters:
points - The selected points in the object's coordinate space.
See Also:
IlvMakePolyPointsInteractor.makePolyPoint(ilog.views.IlvPoint[])

addPolyPoints

protected void addPolyPoints(IlvGraphic obj)
add the object to the data source in addition to the manager.

Overrides:
addPolyPoints in class IlvMakePolyPointsInteractor
Parameters:
obj - The polypoint object.
See Also:
IlvMakePolyPointsInteractor.addPolyPoints(ilog.views.IlvGraphic)

isOpaqueMode

public boolean isOpaqueMode()
Returns an indication of whether the interactor is in Opaque mode or not.

Overrides:
isOpaqueMode in class IlvMakePolyPointsInteractor
See Also:
IlvMakePolyPointsInteractor.isOpaqueMode()


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