com.vaadin.client.ui.calendar.schedule
Class FocusableComplexPanel

java.lang.Object
  extended by ComplexPanel
      extended by com.vaadin.client.ui.calendar.schedule.FocusableComplexPanel
All Implemented Interfaces:
Focusable
Direct Known Subclasses:
DateCell

public class FocusableComplexPanel
extends ComplexPanel
implements Focusable

A ComplexPanel that can be focused

Since:
7.1
Author:
Vaadin Ltd.

Constructor Summary
FocusableComplexPanel()
           
 
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
protected  void makeFocusable()
           
 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

FocusableComplexPanel

public FocusableComplexPanel()
Method Detail

makeFocusable

protected void makeFocusable()

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.