org.opennms.gwt.web.ui.asset.client.tools.fieldsets
Class FieldSetTextArea

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.opennms.gwt.web.ui.asset.client.tools.fieldsets.AbstractFieldSet
                  extended by org.opennms.gwt.web.ui.asset.client.tools.fieldsets.FieldSetTextArea
All Implemented Interfaces:
com.google.gwt.event.dom.client.ChangeHandler, com.google.gwt.event.dom.client.FocusHandler, com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.dom.client.MouseUpHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, FieldSet

public class FieldSetTextArea
extends AbstractFieldSet
implements FieldSet, com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.dom.client.MouseUpHandler

Author:
Markus Neumann
FieldSet for displaying and editing text as a textarea.

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
FieldSetTextArea(String name, String value, String helpText)
           
FieldSetTextArea(String name, String value, String helpText, int maxLength)
           
 
Method Summary
 String getValue()
           
 void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
           
 void onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
           
 void setEnabled(Boolean enabled)
          Set the FieldSet into write/write-protected mode.
 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, onFocus, 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.FocusHandler
onFocus
 
Methods inherited from interface com.google.gwt.event.dom.client.ChangeHandler
onChange
 

Constructor Detail

FieldSetTextArea

public FieldSetTextArea(String name,
                        String value,
                        String helpText)

FieldSetTextArea

@UiConstructor
public FieldSetTextArea(String name,
                                      String value,
                                      String helpText,
                                      int maxLength)
Method Detail

getValue

public String getValue()
Specified by:
getValue in interface FieldSet
Returns:
actual value of FieldSet.

onKeyUp

public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
Specified by:
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandler

onMouseUp

public void onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent event)
Specified by:
onMouseUp in interface com.google.gwt.event.dom.client.MouseUpHandler

setEnabled

public void setEnabled(Boolean enabled)
Description copied from interface: FieldSet
Set the FieldSet into write/write-protected mode.

Specified by:
setEnabled in interface FieldSet
Parameters:
enabled - to get write-mode disable to get write-protected mode

setValue

public void setValue(String value)
Description copied from interface: FieldSet
Sets a value into the value/input of the FieldSet.

Specified by:
setValue in interface FieldSet


Copyright © 2011. All Rights Reserved.