|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectWidget
com.vaadin.client.ui.menubar.MenuBar
com.vaadin.client.ui.VFilterSelect.SuggestionMenu
public class VFilterSelect.SuggestionMenu
The menu where the suggestions are rendered
| Method Summary | |
|---|---|
void |
doPostFilterSelectedItemAction()
Triggered after a selection has been made |
void |
doSelectedItemAction()
Send the current selection to the server. |
void |
fixHeightTo(int pagelenth)
Fixes menus height to use same space as full page would use. |
com.google.gwt.user.client.Element |
getSubPartElement(java.lang.String subPart)
Locates an element inside a component using the identifier provided in subPart. |
java.lang.String |
getSubPartName(com.google.gwt.user.client.Element subElement)
Provides an identifier that identifies the element within the component. |
void |
onLoad(LoadEvent event)
|
void |
selectFirstItem()
|
void |
selectLastItem()
|
void |
setKeyboardSelectedItem(MenuItem firstItem)
|
void |
setSuggestions(java.util.Collection<VFilterSelect.FilterSelectSuggestion> suggestions)
Sets the suggestions rendered in the menu |
| Methods inherited from class com.vaadin.client.ui.menubar.MenuBar |
|---|
addItem, addItem, addItem, clearItems, doItemAction, getAutoOpen, getItems, getSelectedItem, onBrowserEvent, onDetach, onPopupClosed, removeItem, selectItem, setAutoOpen |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void fixHeightTo(int pagelenth)
public void setSuggestions(java.util.Collection<VFilterSelect.FilterSelectSuggestion> suggestions)
suggestions - The suggestions to be rendered in the menupublic void doSelectedItemAction()
public void doPostFilterSelectedItemAction()
public com.google.gwt.user.client.Element getSubPartElement(java.lang.String subPart)
SubPartAwaresubPart. The subPart identifier is component specific and
may be any string of characters, numbers, space characters and brackets.
getSubPartElement in interface SubPartAwaresubPart - The identifier for the element inside the component
public java.lang.String getSubPartName(com.google.gwt.user.client.Element subElement)
SubPartAwaresubElement is a part of the component and must never be null.
Note!
getSubPartElement(getSubPartName(element)) == element is not
always true. A component can choose to provide a more generic
identifier for any given element if the results of all interactions with
subElement are the same as interactions with the element
identified by the return value. For example a button can return an
identifier for the root element even though a DIV inside the button was
passed as subElement because interactions with the DIV and the
root button element produce the same result.
getSubPartName in interface SubPartAwaresubElement - The element the identifier string should uniquely identify
subElement or null
if no identifier could be provided.public void onLoad(LoadEvent event)
public void selectFirstItem()
public void setKeyboardSelectedItem(MenuItem firstItem)
public void selectLastItem()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||