|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
com.vaadin.terminal.gwt.client.ui.VOverlay
com.vaadin.terminal.gwt.client.ui.VFilterSelect.SuggestionPopup
public class VFilterSelect.SuggestionPopup
Represents the popup box with the selection options. Wraps a suggestion menu.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay |
|---|
VOverlay.PositionAndSize, VOverlay.ResizeAnimation |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel |
|---|
com.google.gwt.user.client.ui.PopupPanel.PositionCallback |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
|---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
| Field Summary |
|---|
| Fields inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay |
|---|
CLASSNAME_SHADOW |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Method Summary | |
|---|---|
boolean |
isJustClosed()
Was the popup just closed? |
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
onClose(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event)
|
void |
selectNextItem()
Selects the next item in the filtered selections |
void |
selectPrevItem()
Selects the previous item in the filtered selections |
void |
setPagingEnabled(boolean paging)
Should paging be enabled. |
void |
setPosition(int offsetWidth,
int offsetHeight)
|
void |
showSuggestions(Collection<VFilterSelect.FilterSelectSuggestion> currentSuggestions,
int currentPage,
int totalSuggestions)
Shows the popup where the user can see the filtered options |
void |
updateStyleNames(UIDL uidl)
Updates style names in suggestion popup to help theme building. |
| Methods inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay |
|---|
hide, isShadowEnabled, isSinkShadowEvents, needsShimElement, onDetach, positionOrSizeUpdated, setHeight, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, show, sinkEvents, updateShadowSizeAndPosition |
| Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
|---|
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setWidget, showRelativeTo |
| Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
|---|
add, getWidget, iterator, remove, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
|---|
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onLoad, removeFromParent, setLayoutData |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Method Detail |
|---|
public void showSuggestions(Collection<VFilterSelect.FilterSelectSuggestion> currentSuggestions,
int currentPage,
int totalSuggestions)
currentSuggestions - The filtered suggestionscurrentPage - The current page numbertotalSuggestions - The total amount of suggestionspublic void selectNextItem()
public void selectPrevItem()
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetpublic void setPagingEnabled(boolean paging)
paging - Should the paging be turned on?
public void setPosition(int offsetWidth,
int offsetHeight)
setPosition in interface com.google.gwt.user.client.ui.PopupPanel.PositionCallbackpublic boolean isJustClosed()
public void onClose(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event)
onClose in interface com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>onClose in class VOverlaypublic void updateStyleNames(UIDL uidl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||