com.vaadin.client.ui
Class FocusableFlexTable

java.lang.Object
  extended by FlexTable
      extended by com.vaadin.client.ui.FocusableFlexTable
All Implemented Interfaces:
Focusable
Direct Known Subclasses:
VCalendarPanel

public class FocusableFlexTable
extends FlexTable
implements Focusable

Adds keyboard focus to FlexPanel.


Constructor Summary
FocusableFlexTable()
          Default constructor.
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addBlurHandler(BlurHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addFocusHandler(FocusHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addKeyDownHandler(KeyDownHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addKeyPressHandler(KeyPressHandler handler)
           
 void focus()
          Sets focus to this widget.
 void setFocus(boolean focus)
          Sets the keyboard focus to the panel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FocusableFlexTable

public FocusableFlexTable()
Default constructor.

Method Detail

addFocusHandler

public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(FocusHandler handler)

addBlurHandler

public com.google.gwt.event.shared.HandlerRegistration addBlurHandler(BlurHandler handler)

addKeyDownHandler

public com.google.gwt.event.shared.HandlerRegistration addKeyDownHandler(KeyDownHandler handler)

addKeyPressHandler

public com.google.gwt.event.shared.HandlerRegistration addKeyPressHandler(KeyPressHandler handler)

setFocus

public void setFocus(boolean focus)
Sets the keyboard focus to the panel

Parameters:
focus - Should the panel have keyboard focus. If true the keyboard focus will be moved to the

focus

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

Specified by:
focus in interface Focusable


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