Class AbstractRegionVisualSet.AbstractRegionVisualElement
java.lang.Object
VisualSet<T>.com.amalgamasimulation.charts.visualsets.VisualSet.VisualElement
LabeledVisualSet<T>.com.amalgamasimulation.charts.visualsets.LabeledVisualSet.LabeledVisualElement
com.amalgamasimulation.charts.visualsets.AbstractRegionVisualSet.AbstractRegionVisualElement
- All Implemented Interfaces:
IBeginEndArgumentPropertyOwnerElement,IAbstractChartVisualElement<T>
- Direct Known Subclasses:
RangeRegionVisualSet.RangeRegionVisualElement,RegionVisualSet.RegionVisualElement
- Enclosing class:
AbstractRegionVisualSet<T>
public abstract class AbstractRegionVisualSet.AbstractRegionVisualElement
extends LabeledVisualSet<T>.LabeledVisualElement
implements IBeginEndArgumentPropertyOwnerElement
Internal class that represents visual element for region 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
ConstructorsConstructorDescriptionAbstractRegionVisualElement(T contents) Constructs visual element for the given region data element. -
Method Summary
Modifier and TypeMethodDescriptionDelegates a call toAbstractRegionVisualSet.getBackgroundColor(Object)for the data element corresponding to this visual element.doubleReturns the begin X-axis argument of the visual corresponding to this data element.Delegates a call toAbstractRegionVisualSet.getBorderColor(Object)for the data element corresponding to this visual element.doubleDelegates a call toAbstractRegionVisualSet.getBorderWidth(Object)for the data element corresponding to this visual element.doubleReturns the end X-axis argument of the visual corresponding to this data element.Methods inherited from class com.amalgamasimulation.charts.visualsets.LabeledVisualSet.LabeledVisualElement
getLabelColor, getLabelFontSize, getLabelSides, getLabelTextMethods 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
-
AbstractRegionVisualElement
Constructs visual element for the given region data element.- Parameters:
contents- region data element
-
-
Method Details
-
getBackgroundColor
Delegates a call toAbstractRegionVisualSet.getBackgroundColor(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
AbstractRegionVisualSet.getBackgroundColor(Object)
-
getBorderColor
Delegates a call toAbstractRegionVisualSet.getBorderColor(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
AbstractRegionVisualSet.getBorderColor(Object)
-
getBorderWidth
public double getBorderWidth()Delegates a call toAbstractRegionVisualSet.getBorderWidth(Object)for the data element corresponding to this visual element.- Returns:
- the result of a call
AbstractRegionVisualSet.getBorderWidth(Object)
-
getBeginArgument
public double getBeginArgument()Description copied from interface:IBeginEndArgumentPropertyOwnerElementReturns the begin X-axis argument of the visual corresponding to this data element.- Specified by:
getBeginArgumentin interfaceIBeginEndArgumentPropertyOwnerElement- Returns:
- the begin X-axis argument of the visual corresponding to this data element
-
getEndArgument
public double getEndArgument()Description copied from interface:IBeginEndArgumentPropertyOwnerElementReturns the end X-axis argument of the visual corresponding to this data element.- Specified by:
getEndArgumentin interfaceIBeginEndArgumentPropertyOwnerElement- Returns:
- the end X-axis argument of the visual corresponding to this data element
-