bibliothek.gui.dock.station.flap.button
Class DefaultButtonContentFilter
java.lang.Object
bibliothek.gui.dock.station.flap.button.DefaultButtonContentFilter
- All Implemented Interfaces:
- ButtonContentFilter
public class DefaultButtonContentFilter
- extends Object
- implements ButtonContentFilter
This default implementation of a ButtonContentFilter
searches for DockAction
s which
have the annotation ButtonContentAction
attached.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultButtonContentFilter
public DefaultButtonContentFilter()
isButtonAction
public boolean isButtonAction(DockAction action)
- Description copied from interface:
ButtonContentFilter
- Tells whether
action
is an important DockAction
and should if the client told the
component to filter actions.
- Specified by:
isButtonAction
in interface ButtonContentFilter
- Parameters:
action
- the action to filter
- Returns:
true
if action
should be visisble