Class PointsVisualSet.PointsVisualElement
java.lang.Object
VisualSet<T>.com.amalgamasimulation.visualsets.VisualSet.VisualElement
com.amalgamasimulation.visualsets.PointsVisualSet.PointsVisualElement
- All Implemented Interfaces:
IValuePropertyOwnerElement,IAbstractChartVisualElement<T>,ILineChartVisualElement<T>
- Enclosing class:
PointsVisualSet<T>
public class PointsVisualSet.PointsVisualElement
extends VisualSet<T>.VisualElement
implements IValuePropertyOwnerElement, ILineChartVisualElement<T>
Internal class that represents visual element for point 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
ConstructorsConstructorDescriptionPointsVisualElement(T contents) Constructs visual element for the given point data element. -
Method Summary
Modifier and TypeMethodDescriptiondoubleDelegates a call toPointsVisualSet.getPointSize(Object)for the data element corresponding to this visual element.doublegetValue()Returns the value of this data element.Returns the current VisualSet containing this VisualElement.Methods 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, onMousePressed
-
Constructor Details
-
PointsVisualElement
Constructs visual element for the given point data element.- Parameters:
contents- line data element
-
-
Method Details
-
getVisualSet
Description copied from interface:IAbstractChartVisualElementReturns the current VisualSet containing this VisualElement.- Specified by:
getVisualSetin interfaceIAbstractChartVisualElement<T>- Specified by:
getVisualSetin interfaceILineChartVisualElement<T>- Returns:
- the current VisualSet containing this VisualElement
-
getPointSize
public double getPointSize()Delegates a call toPointsVisualSet.getPointSize(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
PointsVisualSet.getPointSize(Object)
-
getValue
public double getValue()Description copied from interface:IValuePropertyOwnerElementReturns the value of this data element.- Specified by:
getValuein interfaceIValuePropertyOwnerElement- Returns:
- the value of this data element
-