How to focus a Layout (Horizontal / Vertical)


Need your valuable inputs, My Requirement are,

  1. I need to know which layout (Horizontal / Vertical) is currently focused.
  2. I need to automatically set the focus to a layout (Horizontal / Vertical) same as a components (textfield, combo, etc… )

Searched in web and got an inputs

  1. Component.Focusable (But it is not working, I guess it is bcoz i have lower version of vaadin, Am currently using Vaadin version 7)

Thanks in advance. Expecting your inputs asap.