Class DrawerImpl

All Implemented Interfaces:
AttachNotifier, Component, Component.BelongToFrame, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper, ComponentContainer, CssLayout, HasComponents, HasContextHelp, HasDebugId, HasHtmlCaption, HasHtmlDescription, HasHtmlSanitizer, HasRequiredIndicator, LayoutClickNotifier, Drawer, OrderedContainer, ShortcutNotifier, org.springframework.beans.factory.InitializingBean

public class DrawerImpl extends CssLayoutImpl implements Drawer, org.springframework.beans.factory.InitializingBean
  • Field Details

  • Constructor Details

    • DrawerImpl

      public DrawerImpl()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • initComponent

      protected void initComponent(com.vaadin.ui.CssLayout component)
    • collapse

      public void collapse()
      Description copied from interface: Drawer
      Collapses the drawer.
      Specified by:
      collapse in interface Drawer
    • expand

      public void expand()
      Description copied from interface: Drawer
      Expands the drawer.
      Specified by:
      expand in interface Drawer
    • isExpandOnHover

      public boolean isExpandOnHover()
      Specified by:
      isExpandOnHover in interface Drawer
      Returns:
      whether the drawer should be expanded on hover.
    • setExpandOnHover

      public void setExpandOnHover(boolean expandOnHover)
      Description copied from interface: Drawer
      Sets a mode when drawer is expanded on hover. Note that collapse state is not changed. false by default.
      Specified by:
      setExpandOnHover in interface Drawer
      Parameters:
      expandOnHover - a boolean value specifying if drawer should be expanded on hover.
    • toggle

      public void toggle()
      Description copied from interface: Drawer
      Toggles the drawer.
      Specified by:
      toggle in interface Drawer
    • isCollapsed

      public boolean isCollapsed()
      Specified by:
      isCollapsed in interface Drawer
      Returns:
      whether the drawer is collapsed.