|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.fractal.gui.selection.model.BasicSelection
Basic implementation of the Selection interface.
| Field Summary | |
static String |
SELECTION_LISTENERS_BINDING
A collection client interface bound to the listeners of this component. |
| Constructor Summary | |
BasicSelection()
Constructs a new BasicSelection component. |
|
| Method Summary | |
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
void |
clearSelection()
Clears the selection. |
Object |
getSelection()
Returns the component or interface that is currently selected. |
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 |
selectComponent(Component component)
Selects the given component. |
void |
selectInterface(Interface itf)
Selects the given interface. |
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 SELECTION_LISTENERS_BINDING
listeners of this component.
| Constructor Detail |
public BasicSelection()
BasicSelection component.
| Method Detail |
public String[] listFc()
BindingController
listFc in interface BindingControllerpublic Object lookupFc(String clientItfName)
BindingControllerbindFc).
lookupFc in interface BindingControllerclientItfName - 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 BindingControllerclientItfName - 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 BindingControllerclientItfName - the name of a client interface of the component to
which this interface belongs.public Object getSelection()
Selection
getSelection in interface Selectionpublic void selectComponent(Component component)
Selection
selectComponent in interface Selectioncomponent - the component that must be selected.public void selectInterface(Interface itf)
Selection
selectInterface in interface Selectionitf - the interface that must be selected.public void clearSelection()
Selection
clearSelection in interface Selection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||