|
||||||||||
| 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.Composite
org.opennms.gwt.web.ui.asset.client.tools.fieldsets.AbstractFieldSet
org.opennms.gwt.web.ui.asset.client.tools.fieldsets.FieldSetSuggestBox
public class FieldSetSuggestBox
FieldSet for displaying and editing text.
Additional a suggestion box will support the user.| 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 org.opennms.gwt.web.ui.asset.client.tools.fieldsets.AbstractFieldSet |
|---|
changed, enabled, errorLabel, errorValidators, helpText, inititalValue, label, mainPanel, panel, popPanel, warningLabel, warningValidators |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
FieldSetSuggestBox(String name,
String value,
String helpText)
|
|
FieldSetSuggestBox(String name,
String value,
String helpText,
Collection<String> suggestions)
|
|
FieldSetSuggestBox(String name,
String value,
String helpText,
int maxLength)
|
|
| Method Summary | |
|---|---|
Collection<String> |
getSuggestions()
|
String |
getValue()
|
void |
onFocus(com.google.gwt.event.dom.client.FocusEvent event)
|
void |
onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
|
void |
onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
|
void |
onSelection(com.google.gwt.event.logical.shared.SelectionEvent<com.google.gwt.user.client.ui.SuggestOracle.Suggestion> event)
|
void |
onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<String> event)
|
void |
setEnabled(Boolean enabled)
Set the FieldSet into write/write-protected mode. |
void |
setSuggestions(Collection<String> suggestions)
Takes a Collection of Strings as suggestion model to support the uses. |
void |
setValue(String value)
Sets a value into the value/input of the FieldSet. |
| Methods inherited from class org.opennms.gwt.web.ui.asset.client.tools.fieldsets.AbstractFieldSet |
|---|
addErrorValidator, addWarningValidator, checkField, clearChanged, clearErrors, clearErrorValidators, clearWarnings, clearWarningValidators, getEnabled, getError, getErrorValidators, getLabel, getWarning, onChange, setError, setErrors, setErrorValidators, setLabel, setWarning, setWarnings, setWarningValidators, validate |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, 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, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.opennms.gwt.web.ui.asset.client.tools.fieldsets.FieldSet |
|---|
clearChanged, clearErrors, clearWarnings, getEnabled, getError, getLabel, getWarning, setError, setLabel, setWarning |
| Methods inherited from interface com.google.gwt.event.dom.client.ChangeHandler |
|---|
onChange |
| Constructor Detail |
|---|
public FieldSetSuggestBox(String name,
String value,
String helpText)
public FieldSetSuggestBox(String name,
String value,
String helpText,
Collection<String> suggestions)
@UiConstructor
public FieldSetSuggestBox(String name,
String value,
String helpText,
int maxLength)
| Method Detail |
|---|
public Collection<String> getSuggestions()
public String getValue()
getValue in interface FieldSetFieldSet.public void onFocus(com.google.gwt.event.dom.client.FocusEvent event)
onFocus in interface com.google.gwt.event.dom.client.FocusHandleronFocus in class AbstractFieldSetpublic void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandlerpublic void onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
onMouseUp in interface com.google.gwt.event.dom.client.MouseUpHandlerpublic void onSelection(com.google.gwt.event.logical.shared.SelectionEvent<com.google.gwt.user.client.ui.SuggestOracle.Suggestion> event)
onSelection in interface com.google.gwt.event.logical.shared.SelectionHandler<com.google.gwt.user.client.ui.SuggestOracle.Suggestion>public void onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<String> event)
onValueChange in interface com.google.gwt.event.logical.shared.ValueChangeHandler<String>public void setEnabled(Boolean enabled)
FieldSetFieldSet into write/write-protected mode.
setEnabled in interface FieldSetenabled - to get write-mode disable to get write-protected modepublic void setSuggestions(Collection<String> suggestions)
suggestions - public void setValue(String value)
FieldSetFieldSet.
setValue in interface FieldSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||