|
||||||||||
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 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 Object getSelection()
Selection
getSelection
in interface Selection
public void selectComponent(Component component)
Selection
selectComponent
in interface Selection
component
- the component that must be selected.public void selectInterface(Interface itf)
Selection
selectInterface
in interface Selection
itf
- 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 |