bibliothek.gui.dock.common.intern.action
Class CButtonContentFilter
java.lang.Object
bibliothek.gui.dock.action.AbstractButtonContentFilter
bibliothek.gui.dock.common.intern.action.CButtonContentFilter
- All Implemented Interfaces:
- ButtonContentFilter
public class CButtonContentFilter
- extends AbstractButtonContentFilter
This ButtonContentFilter searches for CDecorateableActions and decides
whether their text is shown
- Author:
- Benjamin Sigg
|
Method Summary |
protected void |
installed(DockAction action)
Called the first time action is installed. |
boolean |
showText(Dockable dockable,
DockAction action)
Tells whether the text of action, that is associated with dockable, is to be shown. |
protected void |
uninstalled(DockAction action)
Called after action was uninstalled the last time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CButtonContentFilter
public CButtonContentFilter()
showText
public boolean showText(Dockable dockable,
DockAction action)
- Description copied from interface:
ButtonContentFilter
- Tells whether the text of
action, that is associated with dockable, is to be shown.
- Parameters:
dockable - the Dockable with which action is connectedaction - the action whose text may be shown
- Returns:
true if the text is to be shown, false otherwise
installed
protected void installed(DockAction action)
- Description copied from class:
AbstractButtonContentFilter
- Called the first time
action is installed.
- Overrides:
installed in class AbstractButtonContentFilter
- Parameters:
action - the newly installed action
uninstalled
protected void uninstalled(DockAction action)
- Description copied from class:
AbstractButtonContentFilter
- Called after
action was uninstalled the last time.
- Overrides:
uninstalled in class AbstractButtonContentFilter
- Parameters:
action - the action that has been uninstalled