|
||||||||||
| 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.sap.ui.core.client.ControlWidget
com.sap.ui.commons.client.TextFieldWidget
com.sap.ui.commons.client.ComboBoxWidget
com.sap.ui.commons.client.DropdownBoxWidget
public class DropdownBoxWidget
The class DropdownBox is the GWT wrapper
for the Phoenix control: sap.ui.commons.DropdownBox.
The control provides a field that allows end users to an entry out of a list of pre-defined items. The choosable items can be provided in the form of complete list boxes or single list items. Binding (see DataBinding) is also supported for list items.
| Nested Class Summary |
|---|
| 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 |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
|
DropdownBoxWidget()
constructs the class DropdownBoxWidget |
protected |
DropdownBoxWidget(DropdownBox control)
constructs the class DropdownBoxWidget |
|
DropdownBoxWidget(String id)
constructs the class DropdownBoxWidget |
| Method Summary | |
|---|---|
void |
attachSearchHelpEvent(com.sap.ui.core.client.event.EventListener listener)
attach an EventListener
Event fired whenever the configured searchHelpItem is clicked or the searchHelpItem is configured and F4 key is pressed. |
void |
detachSearchHelpEvent(com.sap.ui.core.client.event.EventListener listener)
detach an EventListener
Event fired whenever the configured searchHelpItem is clicked or the searchHelpItem is configured and F4 key is pressed. |
DropdownBox |
getControl()
returns the reference to the Phoenix Control |
DropdownBox |
setSearchHelpEnabled(boolean enabled,
String text,
String additionalText,
String icon)
Configure whether the DropdownBox should provide a search help item and (if given) overwrite default settings for texts. |
| Methods inherited from class com.sap.ui.commons.client.ComboBoxWidget |
|---|
addItem, bindItems, destroyItems, getItems, getListBox, getMaxPopupItems, indexOfItem, insertItem, isDisplaySecondaryValues, removeAllItems, removeItem, setDisplaySecondaryValues, setListBox, setListBox, setMaxPopupItems, unbindItems |
| Methods inherited from class com.sap.ui.commons.client.TextFieldWidget |
|---|
attachChangeEvent, bindValue, bindValue, detachChangeEvent, focus, getAccessibleDescription, getAccessibleName, getAccessibleRole, getDesign, getHelpId, getImeMode, getMaxLength, getTextAlign, getTextDirection, getValue, getValueState, getWidth, isEditable, isEnabled, isRequired, isVisible, setAccessibleDescription, setAccessibleName, setAccessibleRole, setDesign, setEditable, setEnabled, setHelpId, setImeMode, setMaxLength, setRequired, setTextAlign, setTextDirection, setValue, setValueState, setVisible, setWidth, unbindValue |
| Methods inherited from class com.sap.ui.core.client.ControlWidget |
|---|
destroy, doAttachChildren, doDetachChildren, isDesignTime, wrap |
| 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, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DropdownBoxWidget()
DropdownBoxWidget
public DropdownBoxWidget(String id)
DropdownBoxWidget
id - id of the DropdownBoxWidgetprotected DropdownBoxWidget(DropdownBox control)
DropdownBoxWidget
control - reference to an existing DropdownBox| Method Detail |
|---|
public DropdownBox getControl()
Control
getControl in class ComboBoxWidgetControlpublic void attachSearchHelpEvent(com.sap.ui.core.client.event.EventListener listener)
EventListener
Event fired whenever the configured searchHelpItem is clicked or the searchHelpItem is configured and F4 key is pressed.
listener - reference to the EventListenerpublic void detachSearchHelpEvent(com.sap.ui.core.client.event.EventListener listener)
EventListener
Event fired whenever the configured searchHelpItem is clicked or the searchHelpItem is configured and F4 key is pressed.
listener - reference to the EventListener
public DropdownBox setSearchHelpEnabled(boolean enabled,
String text,
String additionalText,
String icon)
enabled - Whether the DropdownBox's search help should be enabled.text - (optional) The text to use for the search help entry.additionalText - (optional) The additional Text to use for the search help entry.icon - (optional) The src of the icon to use for the search help entry.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||