ilog.views.sdm.renderer
Class IlvExpandCollapseRenderer.ExpandCollapseInteractor
java.lang.Object
ilog.views.IlvObjectInteractor
ilog.views.sdm.renderer.IlvExpandCollapseRenderer.ExpandCollapseInteractor
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- IlvExpandCollapseRenderer
public static class IlvExpandCollapseRenderer.ExpandCollapseInteractor
- extends IlvObjectInteractor
ExpandCollapseInteractor is the object interactor
that is set on expandable nodes by the IlvExpandCollapseRenderer.
This interactor toggles the expanded/collapsed state of the node.
This class is public only to allow saving in an IVL file the contents of a
grapher associated with an SDM engine and containing expandable
nodes.
Note that, when read from an IVL file, this interactor is not
functional: it works only when it has been created by
the expand/collapse renderer.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlvExpandCollapseRenderer.ExpandCollapseInteractor
public IlvExpandCollapseRenderer.ExpandCollapseInteractor()
- Creates a new expand/collapse interactor.
processEvent
public boolean processEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
- Toggles the expanded state of the expandable node
on mouse clicks.
- Specified by:
processEvent in class IlvObjectInteractor
- Parameters:
obj - The graphic object.event - The event.context - The interactor context.
- Returns:
true if the event was handled
by this processEvent invocation,
false otherwise.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.