ilog.cpl.tree
Class IlpTreeController

java.lang.Object
  extended by ilog.cpl.graphic.IlpAbstractGraphicController
      extended by ilog.cpl.tree.IlpTreeController
All Implemented Interfaces:
IlpGraphicController, IlpInteractorManager, IlpMutableInteractorManager, FocusListener, KeyListener, MouseListener, MouseMotionListener, EventListener, MouseInputListener

public class IlpTreeController
extends IlpAbstractGraphicController

Controller part of the MVC architecture for the Tree component.

The controller is responsible for storing and setting the interactors to the view and graphics.

The view interactor defaults to an IlpDefaultViewInteractor.

Since:
JTGO 3.0

Field Summary
 
Fields inherited from class ilog.cpl.graphic.IlpAbstractGraphicController
lastInteractedObject, lastInteractionStates
 
Constructor Summary
IlpTreeController()
          Default constructor.
IlpTreeController(IlpContext context)
          Constructs a default controller for a tree.
 
Method Summary
 IlpAbstractTreeInteractorRenderer getInteractorRenderer()
          Accesses the interactor renderer.
 IlpAbstractTreeViewRenderer getViewRenderer()
          Accesses the view renderer.
 
Methods inherited from class ilog.cpl.graphic.IlpAbstractGraphicController
attach, attachView, createGraphicViewStyleManager, createViewInteractionContext, detach, focusGained, focusLost, getCompleteObjectInteractor, getContext, getDefaultInteractorManager, getDefaultViewInteractor, getFocusEventComponent, getKeyEventComponent, getMouseEventComponent, getObjectInteractionState, getObjectInteractor, getObjectInteractor, getObjectInteractor, getObjectInteractor, getObjectInteractor, getView, getViewInteractionContext, getViewInteractor, initGraphicViewStyleManager, initInteractorManager, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, removeObjectInteractors, removeObjectInteractors, removeObjectInteractors, setDefaultInteractorManager, setDefaultViewInteractor, setObjectInteractor, setObjectInteractor, setObjectInteractor, setObjectInteractor, setObjectInteractor, setViewInteractor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpTreeController

public IlpTreeController()
Default constructor. Uses the default context, and an IlpDefaultViewInteractor object.

See Also:
IlpSystem.GetDefaultContext()

IlpTreeController

public IlpTreeController(IlpContext context)
Constructs a default controller for a tree. Uses an IlpDefaultViewInteractor object.

Parameters:
context - The context object to use.
Method Detail

getViewRenderer

public IlpAbstractTreeViewRenderer getViewRenderer()
Accesses the view renderer.

Since:
JTGO 4.0

getInteractorRenderer

public IlpAbstractTreeInteractorRenderer getInteractorRenderer()
Accesses the interactor renderer.

Since:
JTGO 4.0


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