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 SummaryConstructors 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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NativeObjectnativeObject()Returns the native object instance.- 
Methods inherited from class org.pepstock.charba.client.options.AbstractFontgetUpdateListener, setFamily, setLineHeight, setLineHeight, setSize, setStyle, setUpdateListener, setWeight
 - 
Methods inherited from class org.pepstock.charba.client.options.AbstractReadOnlyFontcreate, getFamily, getLineHeight, getLineHeightAsString, getObject, getSize, getStyle, getWeight
 - 
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainercheckAndGetColor, 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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultFontcreate, create, getFamily, getLineHeight, getLineHeightAsString, getSize, getStyle, getWeight
 
- 
 
- 
- 
- 
Constructor Detail- 
FontItempublic FontItem() Creates an empty font to use for chart configuration with global defaults.
 - 
FontItempublic 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- 
nativeObjectpublic NativeObject nativeObject() Returns the native object instance.- Returns:
- the native object instance.
 
 
- 
 
-