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, Putpublic ExpandCollapseInteractor()
public boolean processEvent(IlvGraphic obj, AWTEvent event, IlvObjectInteractorContext context)
processEvent in class IlvObjectInteractorobj - 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 MouseListenerpublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListener© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.