|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.extension.gui.dock.theme.eclipse.stack.tab4.TabComponentCondition
public abstract class TabComponentCondition
A TabComponentCondition is a layer around a TabComponent that offers access to an
implicitely defined condition, e.g. whether the mouse is over the TabComponent.
| Constructor Summary | |
|---|---|
TabComponentCondition(TabComponent component)
Creates a new condition |
|
| Method Summary | |
|---|---|
protected abstract boolean |
checkCondition()
Reads the condition. |
TabComponent |
getComponent()
Gets the TabComponent which is observed by this condition. |
boolean |
getCondition()
Tells whether the condition is fullfilled or not. |
void |
invalidate()
Tells this condition that it is no longer valid and that its state has to be calculated again. |
void |
validate()
Makes sure the state of this condition is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabComponentCondition(TabComponent component)
component - the component to observe, not null| Method Detail |
|---|
public TabComponent getComponent()
TabComponent which is observed by this condition.
protected abstract boolean checkCondition()
invalidate() was called. Otherwise the previously
stored value is returned.
true if the condition is fullfilled, false otherwisepublic void invalidate()
public void validate()
invalidate() was not called.
public boolean getCondition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||