Class LabeledVisualSet.LabeledVisualElement
java.lang.Object
VisualSet<T>.com.amalgamasimulation.charts.visualsets.VisualSet.VisualElement
com.amalgamasimulation.charts.visualsets.LabeledVisualSet.LabeledVisualElement
- All Implemented Interfaces:
IAbstractChartVisualElement<T>
- Direct Known Subclasses:
AbstractRegionVisualSet.AbstractRegionVisualElement,GanttVisualSet.GanttVisualElement,HeatmapVisualSet.HeatmapVisualElement
- Enclosing class:
LabeledVisualSet<T>
Internal class that represents visual element for labeled 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.charts.visualsets.VisualSet.VisualElement
contents, nextVisualElement, previousVisualElement -
Constructor Summary
ConstructorsConstructorDescriptionLabeledVisualElement(T contents) Constructs visual element for the given bar labeled data element. -
Method Summary
Modifier and TypeMethodDescriptiongetLabelColor(LabelSide labelSide) Delegates a call toLabeledVisualSet.getLabelColor(Object, LabelSide)for the data element corresponding to this visual element.doublegetLabelFontSize(LabelSide labelSide) Delegates a call toLabeledVisualSet.getLabelFontSize(Object, LabelSide)for the data element corresponding to this visual element.Delegates a call toLabeledVisualSet.getLabelSides()for the data element corresponding to this visual element.getLabelText(LabelSide labelSide) Delegates a call toLabeledVisualSet.getLabelText(Object, LabelSide)for the data element corresponding to this visual element.Methods inherited from class com.amalgamasimulation.charts.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.charts.visualsets.types.IAbstractChartVisualElement
getVisualSet
-
Constructor Details
-
LabeledVisualElement
Constructs visual element for the given bar labeled data element.- Parameters:
contents- bar labeled data element
-
-
Method Details
-
getLabelSides
Delegates a call toLabeledVisualSet.getLabelSides()for the data element corresponding to this visual element.- Returns:
- the result of a call
LabeledVisualSet.getLabelSides()
-
getLabelText
Delegates a call toLabeledVisualSet.getLabelText(Object, LabelSide)for the data element corresponding to this visual element.- Parameters:
labelSide- theLabelSidewhere the corresponding label is drawn- Returns:
- the result of a call
LabeledVisualSet.getLabelText(Object, LabelSide)
-
getLabelColor
Delegates a call toLabeledVisualSet.getLabelColor(Object, LabelSide)for the data element corresponding to this visual element.- Parameters:
labelSide- theLabelSidewhere the corresponding label is drawn- Returns:
- the result of a call
LabeledVisualSet.getLabelColor(Object, LabelSide)
-
getLabelFontSize
Delegates a call toLabeledVisualSet.getLabelFontSize(Object, LabelSide)for the data element corresponding to this visual element.- Parameters:
labelSide- theLabelSidewhere the corresponding label is drawn- Returns:
- the result of a call
LabeledVisualSet.getLabelFontSize(Object, LabelSide)
-