Class CmsRenderer.TabSizeHandler

java.lang.Object
org.opencms.acacia.client.CmsRenderer.TabSizeHandler
All Implemented Interfaces:
com.google.gwt.event.logical.shared.ResizeHandler, com.google.gwt.event.logical.shared.SelectionHandler<Integer>, com.google.gwt.event.logical.shared.ValueChangeHandler<org.opencms.acacia.shared.CmsEntity>, com.google.gwt.event.shared.EventHandler
Enclosing class:
CmsRenderer

protected class CmsRenderer.TabSizeHandler extends Object implements com.google.gwt.event.logical.shared.SelectionHandler<Integer>, com.google.gwt.event.logical.shared.ValueChangeHandler<org.opencms.acacia.shared.CmsEntity>, com.google.gwt.event.logical.shared.ResizeHandler
Handles the size of a tabbed panel.

  • Constructor Summary

    Constructors
    Constructor
    Description
    TabSizeHandler(CmsTabbedPanel<com.google.gwt.user.client.ui.FlowPanel> tabbedPanel, com.google.gwt.user.client.ui.Panel context)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Adjusts the tabbed panel height to the height of the current tab content.
    void
    onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
     
    void
    onSelection(com.google.gwt.event.logical.shared.SelectionEvent<Integer> event)
     
    void
    onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<org.opencms.acacia.shared.CmsEntity> event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TabSizeHandler

      public TabSizeHandler(CmsTabbedPanel<com.google.gwt.user.client.ui.FlowPanel> tabbedPanel, com.google.gwt.user.client.ui.Panel context)
      Constructor.

      Parameters:
      tabbedPanel - the tabbed panel
      context - the context panel
  • Method Details

    • onResize

      public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
      Specified by:
      onResize in interface com.google.gwt.event.logical.shared.ResizeHandler
      See Also:
      • ResizeHandler.onResize(com.google.gwt.event.logical.shared.ResizeEvent)
    • onSelection

      public void onSelection(com.google.gwt.event.logical.shared.SelectionEvent<Integer> event)
      Specified by:
      onSelection in interface com.google.gwt.event.logical.shared.SelectionHandler<Integer>
      See Also:
      • SelectionHandler.onSelection(com.google.gwt.event.logical.shared.SelectionEvent)
    • onValueChange

      public void onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<org.opencms.acacia.shared.CmsEntity> event)
      Specified by:
      onValueChange in interface com.google.gwt.event.logical.shared.ValueChangeHandler<org.opencms.acacia.shared.CmsEntity>
      See Also:
      • ValueChangeHandler.onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent)
    • adjustContextHeight

      protected void adjustContextHeight()
      Adjusts the tabbed panel height to the height of the current tab content.