| |
|
| java.lang.Object net.mygwt.ui.client.viewer.DefaultSelection
DefaultSelection | public class DefaultSelection implements ISelection(Code) | | A concrete implementation of the Selection interface, suitable for
instantiating.
This code is based on JFace API from the Eclipse Project.
|
EMPTY | final public static DefaultSelection EMPTY(Code) | | The canonical empty selection. This selection should be used instead of
null .
|
DefaultSelection | public DefaultSelection()(Code) | | Creates a new empty selection. See also the static field EMPTY
which contains an empty selection singleton.
See Also: DefaultSelection.EMPTY |
DefaultSelection | public DefaultSelection(Object element)(Code) | | Creates a structured selection containing a single object. The object must
not be null .
Parameters: element - the element |
DefaultSelection | public DefaultSelection(List elements)(Code) | | Creates a structured selection from the list of objects. The list must not
be null .
Parameters: elements - the elements |
isEmpty | public boolean isEmpty()(Code) | | |
|
|
|