com.vaadin.client.ui
Class VPanel

java.lang.Object
  extended by SimplePanel
      extended by com.vaadin.client.ui.VPanel
All Implemented Interfaces:
Focusable, ShortcutActionHandler.ShortcutActionHandlerOwner

public class VPanel
extends SimplePanel
implements ShortcutActionHandler.ShortcutActionHandlerOwner, Focusable


Field Summary
 Element bottomDecoration
          For internal use only.
 Element captionNode
          For internal use only.
static java.lang.String CLASSNAME
           
 ApplicationConnection client
          For internal use only.
 Element contentNode
          For internal use only.
 java.lang.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 Summary
VPanel()
           
 
Method Summary
 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(Event event)
           
 void setCaption(java.lang.String text)
          For internal use only.
 void setErrorIndicatorVisible(boolean showError)
          For internal use only.
 void setFocus(boolean focus)
          Sets the keyboard focus on the Panel
 void setIconUri(java.lang.String iconUri, ApplicationConnection client)
          For internal use only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME
See Also:
Constant Field Values

client

public ApplicationConnection client
For internal use only. May be removed or replaced in the future.


id

public java.lang.String id
For internal use only. May be removed or replaced in the future.


captionNode

public final Element captionNode
For internal use only. May be removed or replaced in the future.


bottomDecoration

public final Element bottomDecoration
For internal use only. May be removed or replaced in the future.


contentNode

public final Element contentNode
For internal use only. May be removed or replaced in the future.


shortcutHandler

public ShortcutActionHandler shortcutHandler
For internal use only. May be removed or replaced in the future.


scrollTop

public int scrollTop
For internal use only. May be removed or replaced in the future.


scrollLeft

public int scrollLeft
For internal use only. May be removed or replaced in the future.

Constructor Detail

VPanel

public VPanel()
Method Detail

setFocus

public void setFocus(boolean focus)
Sets the keyboard focus on the Panel

Parameters:
focus - Should the panel have focus or not.

focus

public void focus()
Description copied from interface: Focusable
Sets focus to this widget.

Specified by:
focus in interface Focusable

getContainerElement

protected com.google.gwt.user.client.Element getContainerElement()

setCaption

public void setCaption(java.lang.String text)
For internal use only. May be removed or replaced in the future.


setErrorIndicatorVisible

public void setErrorIndicatorVisible(boolean showError)
For internal use only. May be removed or replaced in the future.


setIconUri

public void setIconUri(java.lang.String iconUri,
                       ApplicationConnection client)
For internal use only. May be removed or replaced in the future.


onBrowserEvent

public void onBrowserEvent(Event event)

getShortcutActionHandler

public ShortcutActionHandler getShortcutActionHandler()
Description copied from interface: ShortcutActionHandler.ShortcutActionHandlerOwner
Returns the ShortCutActionHandler currently used or null if there is currently no shortcutactionhandler

Specified by:
getShortcutActionHandler in interface ShortcutActionHandler.ShortcutActionHandlerOwner

makeScrollable

public void makeScrollable()
Ensures the panel is scrollable eg. after style name changes.

For internal use only. May be removed or replaced in the future.



Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.