public interface BindableAction
extends javax.swing.Action
Modifier and Type | Method and Description |
---|---|
javax.swing.Action |
bind(java.lang.Object owner,
java.util.Map<java.lang.String,java.lang.Object> properties)
Binds this
Action to the specified owner
using the given collection of properties to configure it. |
javax.swing.Action bind(java.lang.Object owner, java.util.Map<java.lang.String,java.lang.Object> properties)
Action
to the specified owner
using the given collection of properties to configure it.
Note that the returned Action
does not have to be
this very instance. There might be implementations that
use a singleton class instance for performance or other
reasons. In this case the signature of this method allows
for proper configuration and the single shared instance
can be returned (typically the object this method is called
on will be discarded unless explicitly returned as bound
action).owner
- properties
- Action