|
||||||||||
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.FocusWidget
com.google.gwt.user.client.ui.TextBoxBase
com.itmill.toolkit.terminal.gwt.client.ui.ITextField
public class ITextField
This class represents a basic text input field with one row.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.TextBoxBase |
---|
com.google.gwt.user.client.ui.TextBoxBase.TextAlignConstant |
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 | |
---|---|
static String |
CLASSNAME
The input node CSS classname. |
static String |
CLASSNAME_FOCUS
This CSS classname is added to the input node on hover. |
protected ApplicationConnection |
client
|
protected String |
id
|
Fields inherited from class com.google.gwt.user.client.ui.TextBoxBase |
---|
ALIGN_CENTER, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_RIGHT |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
|
ITextField()
|
protected |
ITextField(com.google.gwt.user.client.Element node)
|
Method Summary | |
---|---|
static void |
flushChangesFromFocusedTextField()
|
protected int |
getMaxLength()
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
onChange(com.google.gwt.user.client.ui.Widget sender)
|
void |
onFocus(com.google.gwt.user.client.ui.Widget sender)
|
void |
onLostFocus(com.google.gwt.user.client.ui.Widget sender)
|
void |
setColumns(int columns)
|
void |
setHeight(String height)
|
void |
setWidth(String width)
|
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client)
|
Methods inherited from class com.google.gwt.user.client.ui.TextBoxBase |
---|
addChangeListener, cancelKey, getCursorPos, getImpl, getName, getSelectedText, getSelectionLength, getText, isReadOnly, removeChangeListener, selectAll, setCursorPos, setKey, setName, setReadOnly, setSelectionRange, setText, setTextAlignment |
Methods inherited from class com.google.gwt.user.client.ui.FocusWidget |
---|
addClickListener, addFocusListener, addKeyboardListener, getFocusImpl, getTabIndex, isEnabled, removeClickListener, removeFocusListener, removeKeyboardListener, setAccessKey, setElement, setEnabled, setFocus, setTabIndex |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent |
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, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CLASSNAME
public static final String CLASSNAME_FOCUS
protected String id
protected ApplicationConnection client
Constructor Detail |
---|
public ITextField()
protected ITextField(com.google.gwt.user.client.Element node)
Method Detail |
---|
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.TextBoxBase
public void updateFromUIDL(UIDL uidl, ApplicationConnection client)
updateFromUIDL
in interface Paintable
protected int getMaxLength()
public void onChange(com.google.gwt.user.client.ui.Widget sender)
onChange
in interface com.google.gwt.user.client.ui.ChangeListener
public static void flushChangesFromFocusedTextField()
public void onFocus(com.google.gwt.user.client.ui.Widget sender)
onFocus
in interface com.google.gwt.user.client.ui.FocusListener
public void onLostFocus(com.google.gwt.user.client.ui.Widget sender)
onLostFocus
in interface com.google.gwt.user.client.ui.FocusListener
public void setColumns(int columns)
public void setHeight(String height)
setHeight
in class com.google.gwt.user.client.ui.UIObject
public void setWidth(String width)
setWidth
in class com.google.gwt.user.client.ui.UIObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |