org.exoplatform.gwtframework.ui.client.component
Class ComboBoxField.ComboboxSuggestDisplay
java.lang.Object
com.google.gwt.user.client.ui.SuggestBox.SuggestionDisplay
com.google.gwt.user.client.ui.SuggestBox.DefaultSuggestionDisplay
org.exoplatform.gwtframework.ui.client.component.ComboBoxField.ComboboxSuggestDisplay
- All Implemented Interfaces:
- com.google.gwt.user.client.ui.HasAnimation
- Enclosing class:
- ComboBoxField
protected class ComboBoxField.ComboboxSuggestDisplay
- extends com.google.gwt.user.client.ui.SuggestBox.DefaultSuggestionDisplay
Represents class for suggest display for combobox field.
Use custom css style, can set width and heidght of picklist in combobox.
|
Method Summary |
protected com.google.gwt.user.client.ui.PopupPanel |
createPopup()
|
void |
setHeight(int height)
Set height in pixels. |
void |
setHeight(java.lang.String height)
|
void |
setWidth(int width)
Set width in pixels. |
void |
setWidth(java.lang.String width)
|
protected void |
showSuggestions(com.google.gwt.user.client.ui.SuggestBox suggestBox,
java.util.Collection<? extends com.google.gwt.user.client.ui.SuggestOracle.Suggestion> suggestions,
boolean isDisplayStringHTML,
boolean isAutoSelectEnabled,
com.google.gwt.user.client.ui.SuggestBox.SuggestionCallback callback)
|
| Methods inherited from class com.google.gwt.user.client.ui.SuggestBox.DefaultSuggestionDisplay |
decorateSuggestionList, getCurrentSelection, getPopupPanel, hideSuggestions, isAnimationEnabled, isSuggestionListHiddenWhenEmpty, isSuggestionListShowing, moveSelectionDown, moveSelectionUp, onEnsureDebugId, setAnimationEnabled, setPopupStyleName, setPositionRelativeTo, setSuggestionListHiddenWhenEmpty |
| Methods inherited from class com.google.gwt.user.client.ui.SuggestBox.SuggestionDisplay |
setMoreSuggestions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComboBoxField.ComboboxSuggestDisplay
public ComboBoxField.ComboboxSuggestDisplay()
createPopup
protected com.google.gwt.user.client.ui.PopupPanel createPopup()
- Overrides:
createPopup in class com.google.gwt.user.client.ui.SuggestBox.DefaultSuggestionDisplay
showSuggestions
protected void showSuggestions(com.google.gwt.user.client.ui.SuggestBox suggestBox,
java.util.Collection<? extends com.google.gwt.user.client.ui.SuggestOracle.Suggestion> suggestions,
boolean isDisplayStringHTML,
boolean isAutoSelectEnabled,
com.google.gwt.user.client.ui.SuggestBox.SuggestionCallback callback)
- Overrides:
showSuggestions in class com.google.gwt.user.client.ui.SuggestBox.DefaultSuggestionDisplay
setWidth
public void setWidth(java.lang.String width)
setWidth
public void setWidth(int width)
- Set width in pixels.
- Parameters:
width -
setHeight
public void setHeight(int height)
- Set height in pixels.
- Parameters:
height -
setHeight
public void setHeight(java.lang.String height)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.