|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ButtonContentCondition
This interface describes a property that is used by a ButtonContent
Method Summary | |
---|---|
void |
install(Dockable dockable,
ButtonContent content)
Informs this ButtonContentCondition that dockable has to be monitored
for changes. |
boolean |
shouldShow(Dockable dockable,
boolean themeSuggestion)
Tells whether some property is true or false depending on the properties that
are actually available. |
void |
uninstall(Dockable dockable,
ButtonContent content)
Informs this ButtonContentCondition that dockable no longer has to
be monitored |
Method Detail |
---|
boolean shouldShow(Dockable dockable, boolean themeSuggestion)
true
or false
depending on the properties that
are actually available.
dockable
- the dockable for which the property will be usedthemeSuggestion
- whether the current DockTheme
would choose this property to be true
or false
void install(Dockable dockable, ButtonContent content)
ButtonContentCondition
that dockable
has to be monitored
for changes.
dockable
- the element to monitorcontent
- the ButtonContent
which is using this condition and whose method
ButtonContent.handleChange(Dockable)
should be called if this condition changes
its value for dockable
void uninstall(Dockable dockable, ButtonContent content)
ButtonContentCondition
that dockable
no longer has to
be monitored
dockable
- the element that no longer has to be monitoredcontent
- the ButtonContent
which was using this condition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |