bibliothek.gui.dock.station.flap.button
Class DefaultButtonContentFilter

java.lang.Object
  extended by 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 DockActions which have the annotation ButtonContentAction attached.

Author:
Benjamin Sigg

Constructor Summary
DefaultButtonContentFilter()
           
 
Method Summary
 boolean isButtonAction(DockAction action)
          Tells whether action is an important DockAction and should if the client told the component to filter actions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultButtonContentFilter

public DefaultButtonContentFilter()
Method Detail

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