public class TreeRolloverController<T extends JTree> extends RolloverController<T>
component, EXECUTE_BUTTON_ACTIONCOMMAND| Constructor and Description |
|---|
TreeRolloverController() |
| Modifier and Type | Method and Description |
|---|---|
protected Point |
getFocusedCell()
The coordinates of the focused cell in view coordinates.
|
protected RolloverRenderer |
getRolloverRenderer(Point location,
boolean prepare)
Returns the rolloverRenderer at the given location.
|
protected void |
rollover(Point oldLocation,
Point newLocation)
called on change of client property Rollover_Key.
|
click, createExecuteButtonAction, hasRollover, install, isClickable, propertyChange, registerExecuteButtonAction, release, unregisterExecuteButtonActionprotected void rollover(Point oldLocation, Point newLocation)
RolloverControllerrollover in class RolloverController<T extends JTree>oldLocation - the old value of the rollover location.newLocation - the new value of the rollover location.protected RolloverRenderer getRolloverRenderer(Point location, boolean prepare)
RolloverControllerThe result may be null if there is none or if rollover is not enabled. If the prepare flag is true, the renderer will be prepared with value and state as appropriate for the given location. Note: PRE - the location must be valid in cell coordinate space.
getRolloverRenderer in class RolloverController<T extends JTree>location - a valid location in cell coordinates, p.x == column, p.y == row.RolloverRenderer at the given locationprotected Point getFocusedCell()
RolloverControllergetFocusedCell in class RolloverController<T extends JTree>Copyright © 2017. All Rights Reserved.