Class Hover
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.commons.AbstractNode
- 
- org.pepstock.charba.client.options.AbstractModel<P,D>
- 
- org.pepstock.charba.client.options.Interaction
- 
- org.pepstock.charba.client.options.Hover
 
 
 
 
 
- 
- All Implemented Interfaces:
- IsDefaultInteraction
 
 public final class Hover extends Interaction Definitions about how elements appear in the chart, hovering the chart.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IsInteractionModegetMode()Returns which elements appear in the interaction.booleanisIntersect()iftrue, the mode only applies when the mouse position intersects an item on the chart.voidsetIntersect(boolean intersect)iftrue, the only applies when the mouse position intersects an item on the chart.voidsetMode(String name)Sets which elements appear in the interaction.voidsetMode(IsInteractionMode mode)Sets which elements appear in the interaction.- 
Methods inherited from class org.pepstock.charba.client.options.InteractiongetAxis, isIncludeInvisible, setAxis, setIncludeInvisible
 - 
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, getUpdateListener, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setUpdateListener, setValueAndAddToParent, 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.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, 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.IsDefaultInteractioncreate, getMode, isIntersect
 
- 
 
- 
- 
- 
Method Detail- 
setModepublic final void setMode(String name) Sets which elements appear in the interaction.- Parameters:
- name- which elements appear in the interaction.
 
 - 
setModepublic final void setMode(IsInteractionMode mode) Sets which elements appear in the interaction.- Parameters:
- mode- which elements appear in the interaction.
 
 - 
getModepublic final IsInteractionMode getMode() Returns which elements appear in the interaction.- Returns:
- which elements appear in the interaction.
 
 - 
setIntersectpublic final void setIntersect(boolean intersect) iftrue, the only applies when the mouse position intersects an item on the chart.- Parameters:
- intersect- if- true, the mode only applies when the mouse position intersects an item on the chart.
 
 - 
isIntersectpublic final boolean isIntersect() iftrue, the mode only applies when the mouse position intersects an item on the chart.- Returns:
- if true, the mode only applies when the mouse position intersects an item on the chart.
 
 
- 
 
-