public class ClassifierFilterContainer extends com.google.gwt.user.client.ui.FlowPanel implements com.google.gwt.user.client.ui.HasValue<Map<String,Set<String>>>
ClassifierFilter but also manages the lifecycle of pulling the
ontology data from the server.com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled| Constructor and Description |
|---|
ClassifierFilterContainer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addClassifierFilterFor(OntologySummaryBean ontologySummary)
Adds a classifier filter for a specific ontology.
|
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Map<String,Set<String>>> handler) |
void |
clear() |
Map<String,Set<String>> |
getValue() |
protected void |
onClassifierFilterValueChange(String base,
Set<String> newValue)
Called when the value of one of the classifier filters changes.
|
void |
refresh()
Refresh the classifier filter container from ontologies pulled down
from the server.
|
protected void |
setElement(com.google.gwt.user.client.Element elem) |
void |
setValue(Map<String,Set<String>> value) |
void |
setValue(Map<String,Set<String>> value,
boolean fireEvents) |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected void setElement(com.google.gwt.user.client.Element elem)
setElement in class com.google.gwt.user.client.ui.UIObjectUIObject.setElement(com.google.gwt.user.client.Element)public void addClassifierFilterFor(OntologySummaryBean ontologySummary)
ontologySummary - protected void onClassifierFilterValueChange(String base, Set<String> newValue)
base - newValue - public void clear()
clear in interface com.google.gwt.user.client.ui.HasWidgetsclear in class com.google.gwt.user.client.ui.FlowPanelFlowPanel.clear()public void refresh()
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Map<String,Set<String>>> handler)
Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.