public interface PickedState<T> extends PickedInfo<T>, ItemSelectable
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the "picked" state from all elements.
|
Set<T> |
getPicked() |
boolean |
isPicked(T v) |
boolean |
pick(T v,
boolean b)
Marks
v as "picked" if b == true ,
and unmarks v as picked if b == false . |
addItemListener, getSelectedObjects, removeItemListener
boolean pick(T v, boolean b)
v
as "picked" if b == true
,
and unmarks v
as picked if b == false
.v
- the element to be picked/unpickedb
- true if v
is to be marked as picked, false if to be marked as unpickedv
prior to this callvoid clear()
boolean isPicked(T v)
isPicked
in interface PickedInfo<T>
true
if v
is currently "picked".Copyright © 2015. All rights reserved.