public class TagPanel extends com.google.gwt.user.client.ui.Composite implements Collection<String>
TagPanel class.
Modifier and Type | Class and Description |
---|---|
static class |
TagPanel.TagClearedEvent |
static interface |
TagPanel.TagClearedEventHandler |
static class |
TagPanel.TagResizeEvent |
static interface |
TagPanel.TagResizeEventHandler |
static class |
TagPanel.TagSelectedEvent |
static interface |
TagPanel.TagSelectedEventHandler |
Constructor and Description |
---|
TagPanel()
Constructor for TagPanel.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(String e)
add
|
boolean |
addAll(Collection<? extends String> c) |
void |
clear()
clear
|
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty()
isEmpty
|
Iterator<String> |
iterator()
iterator
|
void |
onClearTagsClick(com.google.gwt.event.dom.client.ClickEvent event)
onClearTagsClick
|
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
selectTag(String tag)
selectTag
|
void |
setEventBus(com.google.gwt.event.shared.HandlerManager eventBus)
setEventBus
|
int |
size()
size
|
Object[] |
toArray()
toArray
|
<T> T[] |
toArray(T[] a)
toArray
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public void setEventBus(com.google.gwt.event.shared.HandlerManager eventBus)
setEventBus
eventBus
- a HandlerManager
object.@UiHandler(value="clearTags") public void onClearTagsClick(com.google.gwt.event.dom.client.ClickEvent event)
onClearTagsClick
event
- a ClickEvent
object.public boolean add(String e)
add
add
in interface Collection<String>
e
- a String
object.public boolean addAll(Collection<? extends String> c)
addAll
in interface Collection<String>
public void clear()
clear
clear
in interface Collection<String>
public boolean contains(Object o)
contains
in interface Collection<String>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<String>
public boolean isEmpty()
isEmpty
isEmpty
in interface Collection<String>
public boolean remove(Object o)
remove
in interface Collection<String>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<String>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<String>
public int size()
size
size
in interface Collection<String>
public Object[] toArray()
toArray
toArray
in interface Collection<String>
Object
objects.public <T> T[] toArray(T[] a)
toArray
toArray
in interface Collection<String>
T
- a T object.a
- an array of T objects.Copyright © 2017. All rights reserved.