|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPopupPanel
com.vaadin.client.widgets.Overlay
com.vaadin.client.ui.VOverlay
com.vaadin.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.client.widgets.Overlay |
|---|
Overlay.PositionAndSize, Overlay.ResizeAnimation |
| Field Summary | |
|---|---|
VFilterSelect.SuggestionMenu |
menu
For internal use only. |
| Fields inherited from class com.vaadin.client.ui.VOverlay |
|---|
ac, current |
| Fields inherited from class com.vaadin.client.widgets.Overlay |
|---|
ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW |
| Method Summary | |
|---|---|
boolean |
isJustClosed()
Was the popup just closed? |
void |
onBrowserEvent(Event event)
|
void |
onClose(com.google.gwt.event.logical.shared.CloseEvent<PopupPanel> event)
|
protected void |
onLoad()
|
protected void |
onUnload()
|
void |
selectFirstItem()
Select the first item of the suggestions list popup. |
void |
selectLastItem()
Select the last item of the suggestions list popup. |
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(java.util.Collection<VFilterSelect.FilterSelectSuggestion> currentSuggestions,
int currentPage,
int totalSuggestions)
Shows the popup where the user can see the filtered options |
void |
updateStyleNames(UIDL uidl,
com.vaadin.shared.AbstractComponentState componentState)
Updates style names in suggestion popup to help theme building. |
| Methods inherited from class com.vaadin.client.ui.VOverlay |
|---|
getApplicationConnection, getOverlayContainer, getOverlayContainer, setOverlayContainerLabel |
| Methods inherited from class com.vaadin.client.widgets.Overlay |
|---|
center, getOwner, hide, hide, hide, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onAttach, onDetach, positionOrSizeUpdated, setHeight, setOwner, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, show, sinkEvents, updateShadowSizeAndPosition, useShadowDiv |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.logical.shared.CloseHandler |
|---|
onClose |
| Field Detail |
|---|
public final VFilterSelect.SuggestionMenu menu
| Method Detail |
|---|
protected void onLoad()
protected void onUnload()
public void showSuggestions(java.util.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 selectFirstItem()
public void selectLastItem()
public void onBrowserEvent(Event event)
public void setPagingEnabled(boolean paging)
paging - Should the paging be turned on?
public void setPosition(int offsetWidth,
int offsetHeight)
public boolean isJustClosed()
public void onClose(com.google.gwt.event.logical.shared.CloseEvent<PopupPanel> event)
onClose in class Overlay
public void updateStyleNames(UIDL uidl,
com.vaadin.shared.AbstractComponentState componentState)
uidl - UIDL for the whole combo boxcomponentState - shared state of the combo box
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||