public class StandardKeyedValues3DItemSelection extends java.lang.Object implements KeyedValues3DItemSelection, java.io.Serializable
KeyedValues3D dataset.| Constructor and Description |
|---|
StandardKeyedValues3DItemSelection()
Creates a new item selection instance, initially with no selections.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(KeyedValues3DItemKey itemKey)
Adds an item to the selection, returning
true if the item
is added and false if the item already existed in the
selection. |
boolean |
addAll(java.util.Collection<? extends KeyedValues3DItemKey> keys)
Adds a collection of items to the selection, returning
true
if the selection is changed, and false if no changes were
made. |
void |
clear()
Clears the item selection (that is, removes all items contained in the
selection).
|
boolean |
equals(java.lang.Object obj) |
boolean |
isSelected(KeyedValues3DItemKey itemKey)
Returns
true if the specified item is in the selection,
and false otherwise. |
boolean |
remove(KeyedValues3DItemKey itemKey)
Removes an item from the selection returning
true if the
item was removed and false if it did not exist within the
selection. |
public StandardKeyedValues3DItemSelection()
public boolean add(KeyedValues3DItemKey itemKey)
true if the item
is added and false if the item already existed in the
selection.itemKey - the item key (null not permitted).public boolean addAll(java.util.Collection<? extends KeyedValues3DItemKey> keys)
true
if the selection is changed, and false if no changes were
made.keys - the keys to add (null not permitted).public boolean remove(KeyedValues3DItemKey itemKey)
true if the
item was removed and false if it did not exist within the
selection.itemKey - the item key (null not permitted).public boolean isSelected(KeyedValues3DItemKey itemKey)
true if the specified item is in the selection,
and false otherwise.isSelected in interface KeyedValues3DItemSelectionitemKey - the item key (null not permitted).public void clear()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object