Package org.pepstock.charba.client.items
Class SubtitleNode
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.items.BaseBoxItem
-
- org.pepstock.charba.client.items.BaseBoxNodeItem<Position>
-
- org.pepstock.charba.client.items.SubtitleNode
-
- All Implemented Interfaces:
IsArea
public final class SubtitleNode extends BaseBoxNodeItem<Position>
Wrapper of subtitle node of CHART.JS.
This is a wrapper of subtitle node of Chart (of CHART.JS).- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description SubtitleNode(ChartEnvelop<NativeObject> envelop)Creates the item using envelop with the native java script object which contains all properties.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanisInside(NativeBaseEvent event)Returnstrueif the chart event is inside of a chart element, otherwisefalse.default booleanisInside(HasNativeEvent container)Returnstrueif the chart event is inside of this box, otherwisefalse.-
Methods inherited from class org.pepstock.charba.client.items.BaseBoxNodeItem
getMaxHeight, getMaxWidth, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getWeight, isActive, isFullSize
-
Methods inherited from class org.pepstock.charba.client.items.BaseBoxItem
getBottom, getHeight, getLeft, getRight, getTop, getWidth, isInside
-
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
-
-
-
-
Constructor Detail
-
SubtitleNode
public SubtitleNode(ChartEnvelop<NativeObject> envelop)
Creates the item using envelop with the native java script object which contains all properties.- Parameters:
envelop- envelop with the native java script object which contains all properties.
-
-
Method Detail
-
isInside
public default boolean isInside(NativeBaseEvent event)
Returnstrueif the chart event is inside of a chart element, otherwisefalse.- Parameters:
event- event to check if inside of a chart element.- Returns:
trueif the chart event is inside a chart element, otherwisefalse
-
isInside
public default boolean isInside(HasNativeEvent container)
Returnstrueif the chart event is inside of this box, otherwisefalse.- Parameters:
container- event container to check if inside the box- Returns:
trueif the chart event is inside of this box, otherwisefalse
-
-