org.cruxframework.crux.plugin.gadget.client.features
Interface DynamicHeightFeature

All Known Implementing Classes:
DynamicHeightFeatureImpl

public interface DynamicHeightFeature

Provides access to the dynamic height feature.


Method Summary
 void adjustHeight()
          Causes the Gadget to be resized.
 void adjustHeight(int height)
          Causes the Gadget to be resized.
 ViewPortDimensions getViewportDimensions()
          Detects the inner dimensions of a frame.
 

Method Detail

adjustHeight

void adjustHeight()
Causes the Gadget to be resized. Will attempt to fit the gadget to its content


adjustHeight

void adjustHeight(int height)
Causes the Gadget to be resized.

Parameters:
height - A preferred height in pixels.

getViewportDimensions

ViewPortDimensions getViewportDimensions()
Detects the inner dimensions of a frame. See http://www.quirksmode.org/dom/w3c_cssom.html for more information.



Copyright © 2014. All rights reserved.