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
MouseEvent s. |
getComponent, getCondition, invalidate, validate
public HoverCondition(TabComponent component)
component
- the component to observepublic void setController(DockController controller)
MouseEvent
s.controller
- the controller to observe or null
to remove all listenersprotected boolean checkCondition()
TabComponentCondition
TabComponentCondition.invalidate()
was called. Otherwise the previously
stored value is returned.checkCondition
in class TabComponentCondition
true
if the condition is fullfilled, false
otherwise