ilog.cpl.graphic
Interface IlpGraphicController

All Superinterfaces:
IlpInteractorManager, IlpMutableInteractorManager
All Known Implementing Classes:
IlpAbstractGraphicController, IlpEquipmentController, IlpGraphController, IlpNetworkController, IlpTableController, IlpTreeController

public interface IlpGraphicController
extends IlpMutableInteractorManager

This class is part of the MVC trio, and is responsible for storing and setting the interactors to the view and graphics. It is also responsible for creating or retrieving the graphic view configuration and setting it in the graphic view.

Since:
JTGO 3.0

Method Summary
 void attach(IlpGraphicView view)
          Attaches a controller to a given view.
 void detach()
          Detaches a controller from its view.
 IlpContext getContext()
          Returns the application context.
 IlpViewInteractor getDefaultViewInteractor()
          Returns the default view interactor.
 IlpGraphicView getView()
          Returns the view that is being controlled.
 IlpViewInteractor getViewInteractor()
          Returns the interactor associated with the view.
 void setViewInteractor(IlpViewInteractor interactor)
          Sets the interactor associated with the view.
 
Methods inherited from interface ilog.cpl.interactor.IlpMutableInteractorManager
removeObjectInteractors, removeObjectInteractors, removeObjectInteractors, setObjectInteractor, setObjectInteractor, setObjectInteractor, setObjectInteractor, setObjectInteractor
 
Methods inherited from interface ilog.cpl.interactor.IlpInteractorManager
getObjectInteractor, getObjectInteractor, getObjectInteractor, getObjectInteractor, getObjectInteractor
 

Method Detail

getContext

IlpContext getContext()
Returns the application context.


getView

IlpGraphicView getView()
Returns the view that is being controlled.


getViewInteractor

IlpViewInteractor getViewInteractor()
Returns the interactor associated with the view.


setViewInteractor

void setViewInteractor(IlpViewInteractor interactor)
Sets the interactor associated with the view.


getDefaultViewInteractor

IlpViewInteractor getDefaultViewInteractor()
Returns the default view interactor. This method is called when view interactors detach themselves: they install the default view interactor instead of themselves.


attach

void attach(IlpGraphicView view)
Attaches a controller to a given view. The graphic view style manager is initialized and set in the graphic view.


detach

void detach()
Detaches a controller from its view.



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