public class ToggleGroup extends AbstractSet<<any>>
reset()
.Modifier and Type | Field and Description |
---|---|
protected <any> |
handler |
protected Map<<any>,HandlerRegistration> |
toggles |
protected <any> |
value |
Constructor and Description |
---|
ToggleGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(<any> toggle) |
HandlerRegistration |
addValueChangeHandler(<any> handler) |
void |
clear()
Remove all of the items added to this toggle group.
|
protected HandlerManager |
ensureHandlers() |
void |
fireEvent(<any> event) |
<any> |
getValue() |
Iterator<<any>> |
iterator() |
boolean |
remove(Object toggle) |
void |
reset()
Reset all of the toggle group HasValue
|
void |
setValue(<any> value) |
void |
setValue(<any> value,
boolean fireEvents) |
int |
size() |
equals, hashCode, removeAll
addAll, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected <any> handler
protected Map<<any>,HandlerRegistration> toggles
protected <any> value
public boolean add(<any> toggle)
add
in interface Collection<<any>>
add
in interface Set<<any>>
add
in class AbstractCollection<<any>>
public HandlerRegistration addValueChangeHandler(<any> handler)
public void clear()
AbstractCollection.clear()
.
To Reset all of the toggle group HasValuereset()
.
clear
in interface Collection<<any>>
clear
in interface Set<<any>>
clear
in class AbstractCollection<<any>>
public void fireEvent(<any> event)
public <any> getValue()
public Iterator<<any>> iterator()
iterator
in interface Iterable<<any>>
iterator
in interface Collection<<any>>
iterator
in interface Set<<any>>
iterator
in class AbstractCollection<<any>>
public boolean remove(Object toggle)
remove
in interface Collection<<any>>
remove
in interface Set<<any>>
remove
in class AbstractCollection<<any>>
public void reset()
To remove all of the items use clear()
.
public void setValue(<any> value)
public void setValue(<any> value, boolean fireEvents)
public int size()
size
in interface Collection<<any>>
size
in interface Set<<any>>
size
in class AbstractCollection<<any>>
protected HandlerManager ensureHandlers()
Copyright © 2018. All rights reserved.