Class Title
- 
- All Implemented Interfaces:
- IsDefaultAbstractTitle,- IsDefaultFontContainer,- IsDefaultPluginElement,- IsDefaultTitle,- HasFont,- IsTitle
 
 public final class Title extends AbstractTitle<IsDefaultTitle> implements IsDefaultTitle Configures the default chart title which defines text to draw at the top of the chart.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementAligngetAlign()Returns the alignment of the element.PositiongetPosition()Returns the position of element.booleanisDisplay()Returnstrueif the element is shown.voidsetAlign(ElementAlign alignment)Sets the alignment of the element.voidsetDisplay(boolean display)Setstrueif the element is shown.voidsetPosition(Position position)Sets the position of element.- 
Methods inherited from class org.pepstock.charba.client.options.AbstractTitlegetFont, getFontContainer, getPadding, getText, isFullSize, setColor, setFullSize, setText
 - 
Methods inherited from class org.pepstock.charba.client.options.AbstractModelgetDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModel
 - 
Methods inherited from class org.pepstock.charba.client.commons.AbstractNodecheckAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
 - 
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainercheckDefaultValuesArgument, 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, 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, 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.options.HasFontgetColor, getColorAsString, setColor
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultAbstractTitleisFullSize
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPluginElementgetAlign, getPosition, isDisplay
 - 
Methods inherited from interface org.pepstock.charba.client.options.IsTitlesetAlign, setDisplay, setPosition
 
- 
 
- 
- 
- 
Method Detail- 
setDisplaypublic void setDisplay(boolean display) Setstrueif the element is shown.- Parameters:
- display- if- truethe element is shown.
 
 - 
isDisplaypublic boolean isDisplay() Returnstrueif the element is shown.- Specified by:
- isDisplayin interface- IsDefaultPluginElement
- Returns:
- if truethe element is shown.
 
 - 
setPositionpublic void setPosition(Position position) Sets the position of element.- Parameters:
- position- the position of element.
 
 - 
getPositionpublic Position getPosition() Returns the position of element.- Specified by:
- getPositionin interface- IsDefaultPluginElement
- Returns:
- the position of element.
 
 - 
setAlignpublic void setAlign(ElementAlign alignment) Sets the alignment of the element.- Parameters:
- alignment- alignment of the element.
 
 - 
getAlignpublic ElementAlign getAlign() Returns the alignment of the element.- Specified by:
- getAlignin interface- IsDefaultPluginElement
- Returns:
- alignment of the element.
 
 
- 
 
-