com.atlassian.gwt
Class InputFieldWithActionOnEnter

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 com.atlassian.gwt.InputField
                  extended by com.atlassian.gwt.InputFieldWithActionOnEnter
All Implemented Interfaces:
HasAction, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

public class InputFieldWithActionOnEnter
extends InputField
implements HasAction


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.atlassian.gwt.InputField
label, panel, textBox
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
InputFieldWithActionOnEnter(String fieldName, int size)
           
 
Method Summary
 Action getAction()
           
 void setAction(Action action)
           
 
Methods inherited from class com.atlassian.gwt.InputField
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyUpHandler, focus, getText, getTextBox, selectAll, setLabel, setText
 
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
addDomHandler, addHandler, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

InputFieldWithActionOnEnter

@UiConstructor
public InputFieldWithActionOnEnter(String fieldName,
                                                 int size)
Method Detail

setAction

public void setAction(Action action)
Specified by:
setAction in interface HasAction

getAction

public Action getAction()


Copyright © 2003-2011 Atlassian. All Rights Reserved.