public class HoverCondition extends TabComponentCondition
TabComponent or one of its children.| Constructor and Description |
|---|
HoverCondition(TabComponent component)
Creates a new condition.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkCondition()
Reads the condition.
|
void |
setController(DockController controller)
Sets the controller which is used to register global
MouseEvents. |
getComponent, getCondition, invalidate, validatepublic HoverCondition(TabComponent component)
component - the component to observepublic void setController(DockController controller)
MouseEvents.controller - the controller to observe or null to remove all listenersprotected boolean checkCondition()
TabComponentConditionTabComponentCondition.invalidate() was called. Otherwise the previously
stored value is returned.checkCondition in class TabComponentConditiontrue if the condition is fulfilled, false otherwiseCopyright © 2017 Docking Frames. All rights reserved.