ilog.views.maps.graphic
Class IlvMapFixedGraphic

java.lang.Object
  extended by ilog.views.IlvGraphic
      extended by ilog.views.graphic.IlvGraphicHandle
          extended by ilog.views.graphic.IlvGraphicHandleBag
              extended by ilog.views.graphic.IlvFixedSizeGraphic
                  extended by ilog.views.maps.graphic.IlvMapFixedGraphic
All Implemented Interfaces:
GraphicBagHierarchyEventReceiver, ManagerViewsHierarchyEventReceiver, IlvGraphicBag, IlvPersistentObject, IlvMapGraphic, Transferable, Serializable

public class IlvMapFixedGraphic
extends IlvFixedSizeGraphic
implements IlvMapGraphic

A IlvFixedSizeGraphic implementing the IlvMapGraphic interface.

Since:
JViews 7.5
See Also:
IlvFixedSizeGraphic, Serialized Form

Constructor Summary
IlvMapFixedGraphic(IlvFixedSizeGraphic source)
          Creates a new IlvMapSizeGraphic by copying an existing one.
IlvMapFixedGraphic(IlvGraphic object, int position, IlvPoint point)
          Creates a new IlvMapSizeGraphic.
IlvMapFixedGraphic(IlvInputStream stream)
          Reads the object from an IlvInputStream.
 
Method Summary
 IlvGraphic copy()
          Copies the object.
 IlvGraphic copy(IlvCoordinateTransformation transform)
          Copies the element and applies the specified transformation to its coordinates.
 IlvMapStyle getStyle()
          Retrieves the IlvMapStyle.
 IlvMapGeometry makeGeometry()
          No geometry is attached to this graphic object.
 void setStyle(IlvMapStyle style)
          Sets the IlvMapStyle.
 void write(IlvOutputStream stream)
          Writes the object to an IlvOutputStream.
 
Methods inherited from class ilog.views.graphic.IlvFixedSizeGraphic
applyTransform, boundingBox, contains, draw, getIntersectionWithOutline, getPoint, getPopupMenu, getPosition, getToolTipText, inside, intersects, makeSelection, resize, rotate, setPoint, setPosition, zoomable
 
Methods inherited from class ilog.views.graphic.IlvGraphicHandleBag
addGraphicBagHierarchyListener, addManagerViewsHierarchyListener, addObject, applyToObject, enableGraphicBagHierarchyEventForwarding, enableManagerViewsHierarchyEventForwarding, fireGraphicBagHierarchyEvent, fireManagerViewsHierarchyEvent, getObject, getObjects, isDelegateObjectInteractor, isOwner, moveObject, needsGraphicBagHierarchyEvent, needsManagerViewsHierarchyEvent, notifyObjectInteractorToManager, reDrawObj, reDrawRegion, removeGraphicBagHierarchyListener, removeManagerViewsHierarchyListener, removeObject, reshapeObject, setDelegateMoveResize, setGraphicBag, setObject, setObjectName
 
Methods inherited from class ilog.views.graphic.IlvGraphicHandle
getObject, getOriginalPopupMenu, isPersistent, move, move, moveResize, scale, setBackground, setForeground, setOwner, translate
 
Methods inherited from class ilog.views.IlvGraphic
addActionListener, addNamedPropertyListener, boundingBox, getAndAssociateObjectInteractor, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenuName, getProperty, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, hasProperty, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isSelectable, isVisible, processActionEvent, reDraw, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, setEditable, setFillOn, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipText, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ilog.views.IlvGraphicBag
getGraphicBag
 

Constructor Detail

IlvMapFixedGraphic

public IlvMapFixedGraphic(IlvGraphic object,
                          int position,
                          IlvPoint point)
Creates a new IlvMapSizeGraphic.

Parameters:
object - The referenced object.
position - Indicates the point in the referenced object (for example, its center or the top-left corner of its bounding box) that must remain at the same position when the object is zoomed in or out. See the class IlvConstants for the valid values of this parameter.
point - If non-null then it will be used to specify the position of a fixed point when the object is zoomed in or out. The position parameter is not taken into account if this parameter is non-null.

IlvMapFixedGraphic

public IlvMapFixedGraphic(IlvFixedSizeGraphic source)
Creates a new IlvMapSizeGraphic by copying an existing one.

Parameters:
source - The IlvMapSizeGraphic to copy.

IlvMapFixedGraphic

public IlvMapFixedGraphic(IlvInputStream stream)
                   throws IlvReadFileException
Reads the object from an IlvInputStream.

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

write

public void write(IlvOutputStream stream)
           throws IOException
Writes the object to an IlvOutputStream.

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvFixedSizeGraphic
Parameters:
stream - The output stream.
Throws:
IOException - thrown when an exception occurs during the write operation for this object.

copy

public IlvGraphic copy(IlvCoordinateTransformation transform)
                throws IlvCoordinateTransformationException
Copies the element and applies the specified transformation to its coordinates.

Specified by:
copy in interface IlvMapGraphic
Parameters:
transform - Transformation to apply.
Returns:
A new copied object.
Throws:
IlvCoordinateTransformationException

copy

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

Overrides:
copy in class IlvFixedSizeGraphic
Returns:
A copy of the object.
See Also:
IlvGraphicHandleBag.isOwner()

getStyle

public IlvMapStyle getStyle()
Retrieves the IlvMapStyle.

Specified by:
getStyle in interface IlvMapGraphic
Returns:
The IlvMapStyle.

setStyle

public void setStyle(IlvMapStyle style)
Sets the IlvMapStyle.

Specified by:
setStyle in interface IlvMapGraphic
Parameters:
style - The IlvMapStyle to set.

makeGeometry

public IlvMapGeometry makeGeometry()
No geometry is attached to this graphic object.

Specified by:
makeGeometry in interface IlvMapGraphic
Returns:
A new geometry.
Since:
JViews 8.0
See Also:
IlvMapGraphic.makeGeometry()


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