| |
|
| net.mygwt.ui.client.viewer.ISelectionProvider
All known Subclasses: net.mygwt.ui.client.viewer.Viewer,
ISelectionProvider | public interface ISelectionProvider (Code) | | Interface common to all objects that provide a selection.
|
addSelectionListener | public void addSelectionListener(ISelectionChangedListener listener)(Code) | | Adds a listener for selection changes in this selection provider. Has no
effect if an identical listener is already registered.
Parameters: listener - a selection changed listener |
getSelection | public ISelection getSelection()(Code) | | Returns the current selection for this provider.
the current selection |
removeSelectionListener | public void removeSelectionListener(ISelectionChangedListener listener)(Code) | | Removes the given selection change listener from this selection provider.
Has no affect if an identical listener is not registered.
Parameters: listener - a selection changed listener |
setSelection | public void setSelection(ISelection selection)(Code) | | Sets the current selection for this selection provider.
Parameters: selection - the new selection |
|
|
|