ilog.cpl.graphic
Interface IlpGraphicView

All Known Subinterfaces:
IlpStylableGraphicView, IlpStylableViewsView, IlpViewsView
All Known Implementing Classes:
IlpEquipmentView, IlpGraphView, IlpNetworkView, IlpTableView, IlpTreeView

public interface IlpGraphicView

This interface models views where objects can be graphically represented, according to the Model-View-Controller paradigm.

Since:
JTGO 3.0

Method Summary
 IlpAttribute getAttribute(IlpPoint viewLocation)
          Returns the IlpAttribute at the given position in this object.
 Container getContainer()
          Returns the concrete container where the graphics are currently being displayed.
 IlpContext getContext()
          Returns the application context.
 IlpGraphicController getController()
          Returns the controller, which is responsible for the interaction between use and view.
 IlpGraphic getGraphic(IlpPoint viewLocation)
          Returns the IlpGraphic object at the given position in this object.
 Class getGraphicComponentClass()
          Returns the graphic component class supported by this implementation of graphic view.
 IlpGraphicHolder getGraphicHolder()
          Returns the association between object representations and graphics.
 IlpGraphic getInnermostGraphic(IlpPoint viewLocation)
          Returns the innermost graphic at the given position in this object.
 IlpRepresentationObject getRepresentationObject(IlpPoint viewLocation)
          Returns the IlpRepresentationObject at the given position in this object.
 IlpRepresentationObjectSelectionModel getRepresentationObjectSelectionModel()
          Returns the IlpRepresentationObjectSelectionModel used to handle the selection of representation objects.
 IlpGraphicViewStyleManager getStyleManager()
          Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please use the method setStyleSheets or getStyleSheets instead.
 void invalidate(IlpRepresentationObject ro)
          Invalidates the graphic representation of the given object.
 void invalidateGraphics()
          Invalidates all the graphic representations in this view.
 void setController(IlpGraphicController controller)
          Sets the controller, which is responsible for the interaction between use and view.
 void setStyleManager(IlpGraphicViewStyleManager config)
          Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please use the method setStyleSheets or getStyleSheets instead.
 

Method Detail

getContext

IlpContext getContext()
Returns the application context.


getController

IlpGraphicController getController()
Returns the controller, which is responsible for the interaction between use and view.


setController

void setController(IlpGraphicController controller)
Sets the controller, which is responsible for the interaction between use and view.


getStyleManager

IlpGraphicViewStyleManager getStyleManager()
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please use the method setStyleSheets or getStyleSheets instead.

Returns the Style Manager which is being used by this Graphic View.

Deprecated Since:
JTGO 3.5

setStyleManager

void setStyleManager(IlpGraphicViewStyleManager config)
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please use the method setStyleSheets or getStyleSheets instead.

Sets the Style Manager which will be used by this graphic view.

Deprecated Since:
JTGO 3.5

getGraphicHolder

IlpGraphicHolder getGraphicHolder()
Returns the association between object representations and graphics.


getContainer

Container getContainer()
Returns the concrete container where the graphics are currently being displayed.


getGraphic

IlpGraphic getGraphic(IlpPoint viewLocation)
Returns the IlpGraphic object at the given position in this object.


getInnermostGraphic

IlpGraphic getInnermostGraphic(IlpPoint viewLocation)
Returns the innermost graphic at the given position in this object.


getRepresentationObject

IlpRepresentationObject getRepresentationObject(IlpPoint viewLocation)
Returns the IlpRepresentationObject at the given position in this object.


getAttribute

IlpAttribute getAttribute(IlpPoint viewLocation)
Returns the IlpAttribute at the given position in this object.

Since:
JViews 7.5

getRepresentationObjectSelectionModel

IlpRepresentationObjectSelectionModel getRepresentationObjectSelectionModel()
Returns the IlpRepresentationObjectSelectionModel used to handle the selection of representation objects.


getGraphicComponentClass

Class getGraphicComponentClass()
Returns the graphic component class supported by this implementation of graphic view.


invalidate

void invalidate(IlpRepresentationObject ro)
Invalidates the graphic representation of the given object. Indicates that it needs to be recomputed.

Since:
JTGO 3.1

invalidateGraphics

void invalidateGraphics()
Invalidates all the graphic representations in this view. Indicates that they need to be recomputed.

Since:
JTGO 3.5


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