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.
Constructor and Description |
---|
ExpandCollapseInteractor()
Creates a new expand/collapse interactor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
processEvent(IlvGraphic obj,
AWTEvent event,
IlvObjectInteractorContext context)
Toggles the expanded state of the expandable node
on mouse clicks.
|
Get, handleExpose, onEnter, onExit, Put
public ExpandCollapseInteractor()
public boolean processEvent(IlvGraphic obj, AWTEvent event, IlvObjectInteractorContext context)
processEvent
in class IlvObjectInteractor
obj
- The graphic object.event
- The event.context
- The interactor context.true
if the event was handled
by this processEvent
invocation,
false
otherwise.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.