Package org.pepstock.charba.client.items
Class SizeItem
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.items.SizeItem
-
- Direct Known Subclasses:
LegendHitBoxItem
public class SizeItem extends NativeObjectContainer
This item contains the new size of the chart after it has been resized.
This object has been created ONLY when a resize event occurs.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description SizeItem(ConfigurationEnvelop<NativeObject> envelop)
Creates the item using an envelop (fromconfiguration
package) of native java script object which contains all properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getHeight()
Returns the height of the chart item in pixel.double
getWidth()
Returns the width of the chart item in pixel.-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Constructor Detail
-
SizeItem
public SizeItem(ConfigurationEnvelop<NativeObject> envelop)
Creates the item using an envelop (fromconfiguration
package) of native java script object which contains all properties.- Parameters:
envelop
- envelop of native java script object which contains all properties.
-
-