|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.dialog.control.BasicDialogController
A controller component for dialog view components. This component modifies a dialog model, in reaction to events emitted by a dialog view.
Field Summary | |
static String |
CONFIGURATION_BINDING
A mandatory client interface bound to a configuration
model. |
static String |
DIALOG_MODEL_BINDING
A mandatory client interface bound to a dialog model. |
static String |
FACTORY_BINDING
A mandatory client interface bound to a factory . |
static String |
SELECTION_BINDING
A mandatory client interface bound to a selection
model. |
Constructor Summary | |
BasicDialogController()
Constructs a new BasicDialogController component. |
Method Summary | |
void |
addAttributeButtonClicked()
Notifies this listener that the "add attribute" button has been clicked. |
void |
addClientInterfaceButtonClicked()
Notifies this listener that the "add client interface" button has been clicked. |
void |
addServerInterfaceButtonClicked()
Notifies this listener that the "add server interface" button has been clicked. |
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 |
removeAttributeButtonClicked()
Notifies this listener that the "remove attribute" button has been clicked. |
void |
removeClientInterfaceButtonClicked()
Notifies this listener that the "remove client interface" button has been clicked. |
void |
removeServerInterfaceButtonClicked()
Notifies this listener that the "remove server interface" button has been clicked. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String CONFIGURATION_BINDING
configuration
model. This model is used to get the component to which interfaces or
attributes must be added or removed by this controller (the component used
is the root component of the configuration).
public static final String SELECTION_BINDING
selection
model. This model is used to get the interface that must be removed when
a "remove interface" button is clicked.
public static final String DIALOG_MODEL_BINDING
dialog
model.
This model is used to get selection model of the attribute table, which is
itself used to find the attribute to be removed when the "remove attribute"
button is clicked.
public static final String FACTORY_BINDING
factory
. This
factory is used to create interfaces when a "add interface" button is
clicked.
Constructor Detail |
public BasicDialogController()
BasicDialogController
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.public void addClientInterfaceButtonClicked()
DialogViewListener
addClientInterfaceButtonClicked
in interface DialogViewListener
public void removeClientInterfaceButtonClicked()
DialogViewListener
removeClientInterfaceButtonClicked
in interface DialogViewListener
public void addServerInterfaceButtonClicked()
DialogViewListener
addServerInterfaceButtonClicked
in interface DialogViewListener
public void removeServerInterfaceButtonClicked()
DialogViewListener
removeServerInterfaceButtonClicked
in interface DialogViewListener
public void addAttributeButtonClicked()
DialogViewListener
addAttributeButtonClicked
in interface DialogViewListener
public void removeAttributeButtonClicked()
DialogViewListener
removeAttributeButtonClicked
in interface DialogViewListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |