public class DefaultButtonContentFilter extends Object implements ButtonContentFilter
ButtonContentFilter
searches for DockAction
s which
have the annotation ButtonContentAction
attached.Constructor and Description |
---|
DefaultButtonContentFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
isButtonAction(DockAction action)
Tells whether
action is an important DockAction and should if the client told the
component to filter actions. |
public boolean isButtonAction(DockAction action)
ButtonContentFilter
action
is an important DockAction
and should if the client told the
component to filter actions.isButtonAction
in interface ButtonContentFilter
action
- the action to filtertrue
if action
should be visisble