Class TriangleMarkerVisualSet.TriangleMarkerVisualElement
java.lang.Object
VisualSet<T>.com.amalgamasimulation.visualsets.VisualSet.VisualElement
com.amalgamasimulation.visualsets.TriangleMarkerVisualSet.TriangleMarkerVisualElement
- All Implemented Interfaces:
IRowHeightPropertyOwnerElement,IAbstractChartVisualElement<T>,IGanttChartVisualElement<T>
- Enclosing class:
TriangleMarkerVisualSet<T>
public class TriangleMarkerVisualSet.TriangleMarkerVisualElement
extends VisualSet<T>.VisualElement
implements IGanttChartVisualElement<T>, IRowHeightPropertyOwnerElement
Internal class that represents visual element for triangle marker 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
ConstructorsConstructorDescriptionTriangleMarkerVisualElement(T contents) Constructs visual element for the given triangle marker data element. -
Method Summary
Modifier and TypeMethodDescriptionDelegates a call toTriangleMarkerVisualSet.getBorderColor(Object)for the data element corresponding to this visual element.doubleDelegates a call toTriangleMarkerVisualSet.getBorderWidth(Object)for the data element corresponding to this visual element.Delegates a call toTriangleMarkerVisualSet.getDirection(Object)for the data element corresponding to this visual element.Delegates a call toTriangleMarkerVisualSet.getFillColor(Object)for the data element corresponding to this visual element.doubleDelegates a call toTriangleMarkerVisualSet.getHeight(Object)for the data element corresponding to this visual element.doubleDelegates a call toTriangleMarkerVisualSet.getRowHeightFraction(Object)for the data element corresponding to this visual element.getSide()Delegates a call toTriangleMarkerVisualSet.getSide(Object)for the data element corresponding to this visual element.Returns the current VisualSet containing this VisualElement.doublegetWidth()Delegates a call toTriangleMarkerVisualSet.getWidth(Object)for the data element corresponding to this visual element.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
-
TriangleMarkerVisualElement
Constructs visual element for the given triangle marker data element.- Parameters:
contents- line data element
-
-
Method Details
-
getSide
Delegates a call toTriangleMarkerVisualSet.getSide(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
TriangleMarkerVisualSet.getSide(Object)
-
getDirection
Delegates a call toTriangleMarkerVisualSet.getDirection(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
TriangleMarkerVisualSet.getDirection(Object)
-
getWidth
public double getWidth()Delegates a call toTriangleMarkerVisualSet.getWidth(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
TriangleMarkerVisualSet.getWidth(Object)
-
getHeight
public double getHeight()Delegates a call toTriangleMarkerVisualSet.getHeight(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
TriangleMarkerVisualSet.getHeight(Object)
-
getBorderColor
Delegates a call toTriangleMarkerVisualSet.getBorderColor(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
TriangleMarkerVisualSet.getBorderColor(Object)
-
getBorderWidth
public double getBorderWidth()Delegates a call toTriangleMarkerVisualSet.getBorderWidth(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
TriangleMarkerVisualSet.getBorderWidth(Object)
-
getFillColor
Delegates a call toTriangleMarkerVisualSet.getFillColor(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
TriangleMarkerVisualSet.getFillColor(Object)
-
getRowHeightFraction
public double getRowHeightFraction()Delegates a call toTriangleMarkerVisualSet.getRowHeightFraction(Object)for the data element corresponding to this visual element.- Specified by:
getRowHeightFractionin interfaceIRowHeightPropertyOwnerElement- Returns:
- the result of a call
TriangleMarkerVisualSet.getRowHeightFraction(Object)
-
getVisualSet
Description copied from interface:IAbstractChartVisualElementReturns the current VisualSet containing this VisualElement.- Specified by:
getVisualSetin interfaceIAbstractChartVisualElement<T>- Specified by:
getVisualSetin interfaceIGanttChartVisualElement<T>- Returns:
- the current VisualSet containing this VisualElement
-