public static class IlvSubGraphRenderer.ExpandCollapseInteractor extends IlvObjectInteractor implements MouseListener
Note that previous versions of JViews used this handler as an object interactor.
Constructor and Description |
---|
ExpandCollapseInteractor()
Creates a new expand/collapse interactor.
|
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked(MouseEvent e) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mousePressed(MouseEvent evt) |
void |
mouseReleased(MouseEvent e) |
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.public void mousePressed(MouseEvent evt)
mousePressed
in interface MouseListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.