com.vaadin.client.ui
Class FocusableFlowPanel

java.lang.Object
  extended by FlowPanel
      extended by com.vaadin.client.ui.FocusableFlowPanel
All Implemented Interfaces:
Focusable
Direct Known Subclasses:
SimpleDayCell

public class FocusableFlowPanel
extends FlowPanel
implements Focusable


Constructor Summary
FocusableFlowPanel()
          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()
          Focus the panel
 void setFocus(boolean focus)
          Sets/Removes 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

FocusableFlowPanel

public FocusableFlowPanel()
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/Removes the keyboard focus to the panel.

Parameters:
focus - If set to true then the focus is moved to the panel, if set to false the focus is removed

focus

public void focus()
Focus the panel

Specified by:
focus in interface Focusable


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