public class VPanel extends com.google.gwt.user.client.ui.SimplePanel implements ShortcutActionHandler.ShortcutActionHandlerOwner, Focusable, HasErrorIndicatorElement
| 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() |
com.google.gwt.dom.client.Element |
getErrorIndicatorElement()
Gets the error indicator element.
|
ShortcutActionHandler |
getShortcutActionHandler()
Returns the ShortCutActionHandler currently used or null if there is
currently no shortcutactionhandler.
|
void |
makeScrollable()
Ensures the panel is scrollable e.g.
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
setCaption(String text,
boolean captionAsHtml)
For internal use only.
|
void |
setErrorIndicatorElementVisible(boolean visible)
Sets the visibility of the error indicator element.
|
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, setWidgetadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, clear, iterator, removeforEach, spliteratorpublic 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()
Focusableprotected com.google.gwt.user.client.Element getContainerElement()
getContainerElement in class com.google.gwt.user.client.ui.SimplePanelpublic void setCaption(String text, boolean captionAsHtml)
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.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetpublic ShortcutActionHandler getShortcutActionHandler()
ShortcutActionHandler.ShortcutActionHandlerOwnergetShortcutActionHandler in interface ShortcutActionHandler.ShortcutActionHandlerOwnerpublic void makeScrollable()
For internal use only. May be removed or replaced in the future.
public com.google.gwt.dom.client.Element getErrorIndicatorElement()
HasErrorIndicatorElementgetErrorIndicatorElement in interface HasErrorIndicatorElementpublic void setErrorIndicatorElementVisible(boolean visible)
HasErrorIndicatorElementsetErrorIndicatorElementVisible in interface HasErrorIndicatorElementvisible - true to show the error indicator element,
false to hide itCopyright © 2023 Vaadin Ltd. All rights reserved.