Class HeatmapVisualSet.HeatmapVisualElement
java.lang.Object
VisualSet<T>.com.amalgamasimulation.visualsets.VisualSet.VisualElement
LabeledVisualSet<T>.com.amalgamasimulation.visualsets.LabeledVisualSet.LabeledVisualElement
com.amalgamasimulation.visualsets.HeatmapVisualSet.HeatmapVisualElement
- All Implemented Interfaces:
IAbstractChartVisualElement<T>,IHeatmapChartVisualElement<T>
- Enclosing class:
HeatmapVisualSet<T>
public class HeatmapVisualSet.HeatmapVisualElement
extends LabeledVisualSet<T>.LabeledVisualElement
implements IHeatmapChartVisualElement<T>
Internal class that represents visual element for heatmap data element. This
class is public for technical purposes, it is unlikely that API users will
need to interact with it.
- Author:
- Aleksey Kirillov
-
Field Summary
Fields inherited from class com.amalgamasimulation.visualsets.VisualSet.VisualElement
contents, nextVisualElement, previousVisualElement -
Constructor Summary
ConstructorsConstructorDescriptionHeatmapVisualElement(T contents) Constructs visual element for the given heatmap data element. -
Method Summary
Modifier and TypeMethodDescriptionDelegates a call toHeatmapVisualSet.getBackgroundColor(Object)for the data element corresponding to this visual element.Delegates a call toHeatmapVisualSet.getBorderColor(Object)for the data element corresponding to this visual element.doubleDelegates a call toHeatmapVisualSet.getBorderWidth(Object)for the data element corresponding to this visual element.Returns the current VisualSet containing this VisualElement.Delegates a call toHeatmapVisualSet.getXAxisCategory(Object)for the data element corresponding to this visual element.Delegates a call toHeatmapVisualSet.getYAxisCategory(Object)for the data element corresponding to this visual element.Methods inherited from class com.amalgamasimulation.visualsets.LabeledVisualSet.LabeledVisualElement
getLabelColor, getLabelFontSize, getLabelSides, getLabelTextMethods inherited from class com.amalgamasimulation.visualsets.VisualSet.VisualElement
acceptContextMenuHandlers, getArgument, getContents, getInternalID, getNextVisualElement, getPreviousVisualElement, getTooltipText, onMouseEntered, onMouseExited, onMousePressed, setNextVisualElement, setPreviousVisualElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.amalgamasimulation.visualsets.types.IAbstractChartVisualElement
acceptContextMenuHandlers, getArgument, getContents, getNextVisualElement, getPreviousVisualElement, getTooltipText, onMouseEntered, onMouseExited, onMousePressedMethods inherited from interface com.amalgamasimulation.visualsets.types.IHeatmapChartVisualElement
getLabelText
-
Constructor Details
-
HeatmapVisualElement
Constructs visual element for the given heatmap data element.- Parameters:
contents- heatmap data element
-
-
Method Details
-
getBackgroundColor
Delegates a call toHeatmapVisualSet.getBackgroundColor(Object)for the data element corresponding to this visual element.- Specified by:
getBackgroundColorin interfaceIHeatmapChartVisualElement<T>- Returns:
- the result of a call
HeatmapVisualSet.getBackgroundColor(Object)
-
getBorderColor
Delegates a call toHeatmapVisualSet.getBorderColor(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
HeatmapVisualSet.getBorderColor(Object)
-
getBorderWidth
public double getBorderWidth()Delegates a call toHeatmapVisualSet.getBorderWidth(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
HeatmapVisualSet.getBorderWidth(Object)
-
getXAxisCategory
Delegates a call toHeatmapVisualSet.getXAxisCategory(Object)for the data element corresponding to this visual element.- Specified by:
getXAxisCategoryin interfaceIHeatmapChartVisualElement<T>- Returns:
- the result of a call
HeatmapVisualSet.getXAxisCategory(Object)
-
getYAxisCategory
Delegates a call toHeatmapVisualSet.getYAxisCategory(Object)for the data element corresponding to this visual element.- Specified by:
getYAxisCategoryin interfaceIHeatmapChartVisualElement<T>- Returns:
- the result of a call
HeatmapVisualSet.getYAxisCategory(Object)
-
getVisualSet
Description copied from interface:IAbstractChartVisualElementReturns the current VisualSet containing this VisualElement.- Specified by:
getVisualSetin interfaceIAbstractChartVisualElement<T>- Specified by:
getVisualSetin interfaceIHeatmapChartVisualElement<T>- Returns:
- the current VisualSet containing this VisualElement
-