Package org.opencms.acacia.client
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
ConstructorsConstructorDescriptionTabSizeHandler(CmsTabbedPanel<com.google.gwt.user.client.ui.FlowPanel> tabbedPanel, com.google.gwt.user.client.ui.Panel context) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdjusts the tabbed panel height to the height of the current tab content.voidonResize(com.google.gwt.event.logical.shared.ResizeEvent event) voidonSelection(com.google.gwt.event.logical.shared.SelectionEvent<Integer> event) voidonValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<org.opencms.acacia.shared.CmsEntity> event)
-
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 panelcontext- the context panel
-
-
Method Details
-
adjustContextHeight
Adjusts the tabbed panel height to the height of the current tab content.