public interface BasicTrigger
BasicButtonModel
to ensure the availability of properties and to inform
when the user triggers a view like a button.Modifier and Type | Method and Description |
---|---|
DockAction |
getAction()
Gets the
DockAction which will be triggered by this object. |
Dockable |
getDockable()
Gets the
Dockable for which an action will be performed if this object is triggered. |
void |
triggered()
Invoked by a
BasicButtonModel when the button, which is monitored
by the model, is clicked. |
void triggered()
BasicButtonModel
when the button, which is monitored
by the model, is clicked.DockAction getAction()
DockAction
which will be triggered by this object. This is a completely optional
method, as not every BasicTrigger
is actually connected to a DockAction
.null
Dockable getDockable()
Dockable
for which an action will be performed if this object is triggered. This is
a completely optional method, as not every BasicTrigger
is actually connected to a Dockable
.null