|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.objectweb.fractal.swing.AbstractAction
org.objectweb.fractal.gui.clipboard.control.ClipboardAction
Super class of actions that acts on a clipboard model. This action
listens to a selection
model in order to enable or disable
itfself when the selection changes.
Field Summary | |
static String |
CLIPBOARD_BINDING
A mandatory client interface bound to a clipboard model. |
static String |
FACTORY_BINDING
A mandatory client interface bound to a factory . |
static String |
GRAPH_BINDING
A mandatory client interface bound to a graph model. |
static String |
SELECTION_BINDING
A mandatory client interface bound to a selection model. |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
ClipboardAction()
Constructs a new ClipboardAction component. |
Method Summary | |
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
String[] |
listFc()
Returns the names of the client interfaces of the component to which this interface belongs. |
Object |
lookupFc(String clientItfName)
Returns the interface to which the given client interface is bound. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
Methods inherited from class org.objectweb.fractal.swing.AbstractAction |
actionPerformed, getAcceleratorKey, getIconURL, getName, getToolTipText, setAcceleratorKey, setIconURL, setName, setToolTipText |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.fractal.gui.selection.model.SelectionListener |
selectionChanged |
Field Detail |
public static final String SELECTION_BINDING
selection
model.
This model is used to known the component that must be cut or copied, or
the component into which the clipboard's content must be pasted.
public static final String GRAPH_BINDING
graph
model.
This graph model is passed as argument to the clipboard model methods by
this controller component.
public static final String FACTORY_BINDING
factory
. This
factory is passed as argument to the clipboard model methods by this
controller component.
public static final String CLIPBOARD_BINDING
clipboard
model.
This is the model that is modified by this controller component.
Constructor Detail |
public ClipboardAction()
ClipboardAction
component.
Method Detail |
public String[] listFc()
BindingController
listFc
in interface BindingController
public Object lookupFc(String clientItfName)
BindingController
bindFc
).
lookupFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.
public void bindFc(String clientItfName, Object serverItf)
BindingController
bindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.serverItf
- a server interface.public void unbindFc(String clientItfName)
BindingController
unbindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |