com.vaadin.client.ui
Class FocusElementPanel

java.lang.Object
  extended by SimplePanel
      extended by com.vaadin.client.ui.SimpleFocusablePanel
          extended by com.vaadin.client.ui.FocusElementPanel
All Implemented Interfaces:
Focusable
Direct Known Subclasses:
VTree

public class FocusElementPanel
extends SimpleFocusablePanel

A panel that contains an always visible 0x0 size element that holds the focus


Constructor Summary
FocusElementPanel()
           
 
Method Summary
 com.google.gwt.user.client.Element getFocusElement()
           
 void setFocus(boolean focus)
           
 void setTabIndex(int tabIndex)
           
 void setWidget(Widget w)
           
 
Methods inherited from class com.vaadin.client.ui.SimpleFocusablePanel
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, focus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FocusElementPanel

public FocusElementPanel()
Method Detail

setWidget

public void setWidget(Widget w)

setFocus

public void setFocus(boolean focus)
Overrides:
setFocus in class SimpleFocusablePanel

setTabIndex

public void setTabIndex(int tabIndex)
Overrides:
setTabIndex in class SimpleFocusablePanel

getFocusElement

public com.google.gwt.user.client.Element getFocusElement()
Returns:
the focus element


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