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

java.lang.Object
  extended by bibliothek.gui.dock.station.flap.button.DefaultButtonContentConnector
All Implemented Interfaces:
ButtonContentFilter

public class DefaultButtonContentConnector
extends Object
implements ButtonContentFilter

This default implementation of a ButtonContentFilter searches for DockActions which have the annotation ButtonContentAction attached.

Author:
Benjamin Sigg

Constructor Summary
DefaultButtonContentConnector()
           
 
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

DefaultButtonContentConnector

public DefaultButtonContentConnector()
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