Package org.pepstock.charba.client.items
Class FontItem
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.options.AbstractReadOnlyFont
-
- org.pepstock.charba.client.options.AbstractFont
-
- org.pepstock.charba.client.items.FontItem
-
- All Implemented Interfaces:
IsDefaultFont
,IsFont
public final class FontItem extends AbstractFont
Font options item to use mainly for callbacks.- Author:
- Andrea "Stock" Stocchero
- See Also:
FontCallback
-
-
Constructor Summary
Constructors Constructor Description FontItem()
Creates an empty font to use for chart configuration with global defaults.FontItem(IsDefaultFont defaultValues)
Creates an empty font to use for chart configuration when the font is created by a callback.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NativeObject
nativeObject()
Returns the native object instance.-
Methods inherited from class org.pepstock.charba.client.options.AbstractFont
getUpdateListener, setFamily, setLineHeight, setLineHeight, setSize, setStyle, setUpdateListener, setWeight
-
Methods inherited from class org.pepstock.charba.client.options.AbstractReadOnlyFont
create, getFamily, getLineHeight, getLineHeightAsString, getObject, getSize, getStyle, getWeight
-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkAndGetColor, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultFont
create, create, getFamily, getLineHeight, getLineHeightAsString, getSize, getStyle, getWeight
-
-
-
-
Constructor Detail
-
FontItem
public FontItem()
Creates an empty font to use for chart configuration with global defaults.
-
FontItem
public FontItem(IsDefaultFont defaultValues)
Creates an empty font to use for chart configuration when the font is created by a callback.- Parameters:
defaultValues
- default provider
-
-
Method Detail
-
nativeObject
public NativeObject nativeObject()
Returns the native object instance.- Returns:
- the native object instance.
-
-