Package llnl.gnem.core.gui.plotting.api
Class VerticalLine
java.lang.Object
llnl.gnem.core.gui.plotting.api.VerticalLine
- All Implemented Interfaces:
PlotObject
-
Constructor Summary
ConstructorDescriptionVerticalLine
(double x, double yRatio, String label) VerticalLine
(double x, double yRatio, String label, javafx.scene.paint.Color color, int width, boolean draggable, boolean logScaleX) VerticalLine
(VerticalLine other) -
Method Summary
Modifier and TypeMethodDescriptionboolean
javafx.scene.paint.Color
javafx.scene.paint.Color
getName()
int
double
getText()
double
getX()
int
hashCode()
boolean
boolean
setDraggable
(boolean dragEnabled) setEdgeColor
(javafx.scene.paint.Color color) setFillColor
(javafx.scene.paint.Color color) void
setHoverTemplate
(String hoverTemplate) setLogScaleX
(boolean logScaleX) void
setPxWidth
(int value) void
setRatioY
(double yRatio) void
void
setX
(double x) void
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface llnl.gnem.core.gui.plotting.api.PlotObject
getLegendGrouping, getLegendOnly, setLegendGrouping, setLegendOnly, shouldShowInLegend, showInLegend
-
Constructor Details
-
VerticalLine
-
VerticalLine
-
VerticalLine
public VerticalLine(double x, double yRatio, String label, javafx.scene.paint.Color color, int width, boolean draggable, boolean logScaleX)
-
-
Method Details
-
getX
public double getX() -
setX
public void setX(double x) -
getRatioY
public double getRatioY() -
setRatioY
public void setRatioY(double yRatio) -
isDraggable
public boolean isDraggable() -
setDraggable
-
getFillColor
public javafx.scene.paint.Color getFillColor()- Specified by:
getFillColor
in interfacePlotObject
-
setFillColor
- Specified by:
setFillColor
in interfacePlotObject
-
getEdgeColor
public javafx.scene.paint.Color getEdgeColor()- Specified by:
getEdgeColor
in interfacePlotObject
-
setEdgeColor
- Specified by:
setEdgeColor
in interfacePlotObject
-
getPxWidth
public int getPxWidth() -
setPxWidth
public void setPxWidth(int value) -
getText
-
setText
-
getName
- Specified by:
getName
in interfacePlotObject
-
setName
- Specified by:
setName
in interfacePlotObject
-
getZindex
- Specified by:
getZindex
in interfacePlotObject
-
setZindex
- Specified by:
setZindex
in interfacePlotObject
-
getSeriesIdentifier
- Specified by:
getSeriesIdentifier
in interfacePlotObject
-
isLogScaleX
public boolean isLogScaleX() -
setLogScaleX
-
getHoverTemplate
-
setHoverTemplate
-
hashCode
public int hashCode() -
equals
-
toString
-