|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.vaadin.terminal.gwt.client.ui.optiongroup.VOptionGroupBase com.vaadin.terminal.gwt.client.ui.twincolselect.VTwinColSelect
public class VTwinColSelect
Nested Class Summary | |
---|---|
class |
VTwinColSelect.DoubleClickListBox
A ListBox which catches double clicks |
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 |
ATTRIBUTE_LEFT_CAPTION
|
static String |
ATTRIBUTE_RIGHT_CAPTION
|
Fields inherited from class com.vaadin.terminal.gwt.client.ui.optiongroup.VOptionGroupBase |
---|
CLASSNAME_OPTION, client, cols, container, disabled, immediate, multiselect, newItemButton, newItemField, nullSelectionAllowed, nullSelectionItemAvailable, optionsContainer, paintableId, readonly, rows, selectedKeys |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
VTwinColSelect()
|
Method Summary | |
---|---|
protected void |
buildOptions(UIDL uidl)
|
void |
focus()
Sets focus to this widget. |
protected int |
getNavigationSelectKey()
Get the key that selects an item in the table. |
com.google.gwt.user.client.ui.HTML |
getOptionsCaption()
|
protected String[] |
getSelectedItems()
|
com.google.gwt.user.client.ui.HTML |
getSelectionsCaption()
|
com.google.gwt.user.client.Element |
getSubPartElement(String subPart)
Locates an element inside a component using the identifier provided in subPart . |
String |
getSubPartName(com.google.gwt.user.client.Element subElement)
Provides an identifier that identifies the element within the component. |
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event)
|
void |
onDoubleClick(com.google.gwt.event.dom.client.DoubleClickEvent event)
|
void |
onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
|
void |
onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent event)
|
protected void |
setTabIndex(int tabIndex)
|
protected void |
updateCaptions(UIDL uidl)
|
Methods inherited from class com.vaadin.terminal.gwt.client.ui.optiongroup.VOptionGroupBase |
---|
getColumns, getRows, getSelectedItem, isDisabled, isImmediate, isMultiselect, isNullSelectionAllowed, isNullSelectionItemAvailable, isReadonly, onChange, onKeyPress |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, 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 |
Field Detail |
---|
public static final String ATTRIBUTE_LEFT_CAPTION
public static final String ATTRIBUTE_RIGHT_CAPTION
Constructor Detail |
---|
public VTwinColSelect()
Method Detail |
---|
public com.google.gwt.user.client.ui.HTML getOptionsCaption()
public com.google.gwt.user.client.ui.HTML getSelectionsCaption()
protected void updateCaptions(UIDL uidl)
protected void buildOptions(UIDL uidl)
buildOptions
in class VOptionGroupBase
protected String[] getSelectedItems()
getSelectedItems
in class VOptionGroupBase
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick
in interface com.google.gwt.event.dom.client.ClickHandler
onClick
in class VOptionGroupBase
protected void setTabIndex(int tabIndex)
setTabIndex
in class VOptionGroupBase
public void focus()
Focusable
focus
in interface Focusable
protected int getNavigationSelectKey()
public void onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
onKeyDown
in interface com.google.gwt.event.dom.client.KeyDownHandler
public void onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent event)
onMouseDown
in interface com.google.gwt.event.dom.client.MouseDownHandler
public void onDoubleClick(com.google.gwt.event.dom.client.DoubleClickEvent event)
onDoubleClick
in interface com.google.gwt.event.dom.client.DoubleClickHandler
public com.google.gwt.user.client.Element getSubPartElement(String subPart)
SubPartAware
subPart
. The subPart
identifier is component specific and
may be any string of characters, numbers, space characters and brackets.
getSubPartElement
in interface SubPartAware
subPart
- The identifier for the element inside the component
public String getSubPartName(com.google.gwt.user.client.Element subElement)
SubPartAware
subElement
is a part of the component and must never be null.
Note!
getSubPartElement(getSubPartName(element)) == element
is not
always true. A component can choose to provide a more generic
identifier for any given element if the results of all interactions with
subElement
are the same as interactions with the element
identified by the return value. For example a button can return an
identifier for the root element even though a DIV inside the button was
passed as subElement
because interactions with the DIV and the
root button element produce the same result.
getSubPartName
in interface SubPartAware
subElement
- The element the identifier string should uniquely identify
subElement
or null
if no identifier could be provided.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |