public class VPanel extends com.google.gwt.user.client.ui.SimplePanel implements ShortcutActionHandler.ShortcutActionHandlerOwner, Focusable
Modifier and Type | Field and Description |
---|---|
com.google.gwt.dom.client.Element |
bottomDecoration
For internal use only.
|
com.google.gwt.dom.client.Element |
captionNode
For internal use only.
|
static String |
CLASSNAME |
ApplicationConnection |
client
For internal use only.
|
com.google.gwt.dom.client.Element |
contentNode
For internal use only.
|
String |
id
For internal use only.
|
int |
scrollLeft
For internal use only.
|
int |
scrollTop
For internal use only.
|
ShortcutActionHandler |
shortcutHandler
For internal use only.
|
Constructor and Description |
---|
VPanel() |
Modifier and Type | Method and Description |
---|---|
void |
focus()
Sets focus to this widget.
|
protected com.google.gwt.user.client.Element |
getContainerElement() |
ShortcutActionHandler |
getShortcutActionHandler()
Returns the ShortCutActionHandler currently used or null if there is
currently no shortcutactionhandler
|
void |
makeScrollable()
Ensures the panel is scrollable eg.
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
setCaption(String text)
For internal use only.
|
void |
setErrorIndicatorVisible(boolean showError,
ErrorLevel errorLevel)
For internal use only.
|
void |
setFocus(boolean focus)
Sets the keyboard focus on the Panel
|
void |
setIconUri(String iconUri,
ApplicationConnection client)
For internal use only.
|
add, getWidget, iterator, remove, setWidget, setWidget
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, clear, iterator, remove
forEach, spliterator
public static final String CLASSNAME
public ApplicationConnection client
public String id
public final com.google.gwt.dom.client.Element captionNode
public final com.google.gwt.dom.client.Element bottomDecoration
public final com.google.gwt.dom.client.Element contentNode
public ShortcutActionHandler shortcutHandler
public int scrollTop
public int scrollLeft
public void setFocus(boolean focus)
focus
- Should the panel have focus or not.public void focus()
Focusable
protected com.google.gwt.user.client.Element getContainerElement()
getContainerElement
in class com.google.gwt.user.client.ui.SimplePanel
public void setCaption(String text)
public void setErrorIndicatorVisible(boolean showError, ErrorLevel errorLevel)
public void setIconUri(String iconUri, ApplicationConnection client)
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.Widget
public ShortcutActionHandler getShortcutActionHandler()
ShortcutActionHandler.ShortcutActionHandlerOwner
getShortcutActionHandler
in interface ShortcutActionHandler.ShortcutActionHandlerOwner
public void makeScrollable()
For internal use only. May be removed or replaced in the future.
Copyright © 2019 Vaadin Ltd. All rights reserved.