|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PickedState<T>
An interface for classes that keep track of the "picked" state of edges or vertices.
Method Summary | |
---|---|
void |
clear()
Clears the "picked" state from all elements. |
Set<T> |
getPicked()
Returns all "picked" elements. |
boolean |
isPicked(T v)
Returns true if v is currently "picked". |
boolean |
pick(T v,
boolean b)
Marks v as "picked" if b == true ,
and unmarks v as picked if b == false . |
Methods inherited from interface java.awt.ItemSelectable |
---|
addItemListener, getSelectedObjects, removeItemListener |
Method Detail |
---|
boolean pick(T v, boolean b)
v
as "picked" if b == true
,
and unmarks v
as picked if b == false
.
v
prior to this callvoid clear()
Set<T> getPicked()
boolean isPicked(T v)
true
if v
is currently "picked".
isPicked
in interface PickedInfo<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |