com.itmill.toolkit.terminal.gwt.client.ui
Class INativeSelect
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.itmill.toolkit.terminal.gwt.client.ui.INativeSelect
- All Implemented Interfaces:
- com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.ChangeListener, com.google.gwt.user.client.ui.ClickListener, com.google.gwt.user.client.ui.KeyboardListener, Focusable, Paintable, Field
public class INativeSelect
- extends com.google.gwt.user.client.ui.Composite
- implements Field
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 |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Fields inherited from interface com.google.gwt.user.client.ui.KeyboardListener |
KEY_ALT, KEY_BACKSPACE, KEY_CTRL, KEY_DELETE, KEY_DOWN, KEY_END, KEY_ENTER, KEY_ESCAPE, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RIGHT, KEY_SHIFT, KEY_TAB, KEY_UP, MODIFIER_ALT, MODIFIER_CTRL, MODIFIER_META, MODIFIER_SHIFT |
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 |
doAttachChildren, doDetachChildren, getParent, 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, setElement, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkEvents, toString, unsinkEvents |
CLASSNAME
public static final String CLASSNAME
- See Also:
- Constant Field Values
select
protected com.itmill.toolkit.terminal.gwt.client.ui.TooltipListBox select
CLASSNAME_OPTION
public static final String CLASSNAME_OPTION
- See Also:
- Constant Field Values
client
protected ApplicationConnection client
id
protected String id
selectedKeys
protected Set selectedKeys
optionsContainer
protected com.google.gwt.user.client.ui.Widget optionsContainer
- Widget holding the different options (e.g. ListBox or Panel for radio
buttons) (optional, fallbacks to container Panel)
INativeSelect
public INativeSelect()
buildOptions
protected void buildOptions(UIDL uidl)
getSelectedItems
protected Object[] getSelectedItems()
onChange
public void onChange(com.google.gwt.user.client.ui.Widget sender)
- Specified by:
onChange
in interface com.google.gwt.user.client.ui.ChangeListener
setHeight
public void setHeight(String height)
- Overrides:
setHeight
in class com.google.gwt.user.client.ui.UIObject
setWidth
public void setWidth(String width)
- Overrides:
setWidth
in class com.google.gwt.user.client.ui.UIObject
setTabIndex
protected void setTabIndex(int tabIndex)
focus
public void focus()
- Description copied from interface:
Focusable
- Sets focus to this widget.
- Specified by:
focus
in interface Focusable
isImmediate
protected boolean isImmediate()
isMultiselect
protected boolean isMultiselect()
isDisabled
protected boolean isDisabled()
isReadonly
protected boolean isReadonly()
isNullSelectionAllowed
protected boolean isNullSelectionAllowed()
isNullSelectionItemAvailable
protected boolean isNullSelectionItemAvailable()
getColumns
protected int getColumns()
- Returns:
- "cols" specified in uidl, 0 if not specified
getRows
protected int getRows()
- Returns:
- "rows" specified in uidl, 0 if not specified
updateFromUIDL
public void updateFromUIDL(UIDL uidl,
ApplicationConnection client)
- Specified by:
updateFromUIDL
in interface Paintable
onClick
public void onClick(com.google.gwt.user.client.ui.Widget sender)
- Specified by:
onClick
in interface com.google.gwt.user.client.ui.ClickListener
onKeyPress
public void onKeyPress(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
- Specified by:
onKeyPress
in interface com.google.gwt.user.client.ui.KeyboardListener
onKeyUp
public void onKeyUp(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
- Specified by:
onKeyUp
in interface com.google.gwt.user.client.ui.KeyboardListener
onKeyDown
public void onKeyDown(com.google.gwt.user.client.ui.Widget sender,
char keyCode,
int modifiers)
- Specified by:
onKeyDown
in interface com.google.gwt.user.client.ui.KeyboardListener
getSelectedItem
protected Object getSelectedItem()
Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.