Interface PickedState<T>
- All Superinterfaces:
ItemSelectable, PickedInfo<T>
- All Known Implementing Classes:
AbstractPickedState, MultiPickedState
An interface for classes that keep track of the "picked" state
of edges or vertices.
-
Method Summary
Methods inherited from interface ItemSelectable
addItemListener, getSelectedObjects, removeItemListener
-
Method Details
-
pick
Marksvas "picked" ifb == true, and unmarksvas picked ifb == false.- Parameters:
v- the element to be picked/unpickedb- true ifvis to be marked as picked, false if to be marked as unpicked- Returns:
- the "picked" state of
vprior to this call
-
clear
void clear()Clears the "picked" state from all elements. -
getPicked
-
isPicked
- Specified by:
isPickedin interfacePickedInfo<T>- Returns:
trueifvis currently "picked".
-