|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultTreeSelectionModel
org.objectweb.fractal.gui.tree.model.BasicTreeSelectionModel
A TreeSelectionModel
based on a Selection
.
This model makes a conversion from a Selection
model to a TreeSelectionModel
. It listens to the
selection in order to update its state when the selection changes.
Field Summary | |
static java.lang.String |
CONFIGURATION_BINDING
An optional client interface bound to a configuration
model. |
static java.lang.String |
SELECTION_BINDING
A mandatory client interface bound to a selection model. |
Fields inherited from class javax.swing.tree.DefaultTreeSelectionModel |
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, SELECTION_MODE_PROPERTY, selectionMode |
Fields inherited from interface javax.swing.tree.TreeSelectionModel |
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION |
Constructor Summary | |
BasicTreeSelectionModel()
Constructs a new BasicTreeSelectionModel component. |
Method Summary | |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
selectionChanged()
Notifies this listener that the selection has changed. |
void |
setSelectionPath(javax.swing.tree.TreePath path)
|
void |
unbindFc(java.lang.String clientItfName)
|
Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel |
addPropertyChangeListener, addSelectionPath, addSelectionPaths, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeSelectionPath, removeSelectionPaths, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPaths, toString, updateLeadIndex |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String CONFIGURATION_BINDING
configuration
model. The root component of this configuration is changed each time the
selection is changed through this model (but not if the selection
model on which this model is based changes).
public static final java.lang.String SELECTION_BINDING
selection
model.
This is the model on which this model is based and synchronized.
Constructor Detail |
public BasicTreeSelectionModel()
BasicTreeSelectionModel
component.
Method Detail |
public java.lang.String[] listFc()
listFc
in interface org.objectweb.fractal.api.control.BindingController
public java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc
in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName, java.lang.Object serverItf)
bindFc
in interface org.objectweb.fractal.api.control.BindingController
public void unbindFc(java.lang.String clientItfName)
unbindFc
in interface org.objectweb.fractal.api.control.BindingController
public void selectionChanged()
SelectionListener
selectionChanged
in interface SelectionListener
public void setSelectionPath(javax.swing.tree.TreePath path)
setSelectionPath
in interface javax.swing.tree.TreeSelectionModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |