Package llnl.gnem.core.gui.plotting.api
Class Rectangle
java.lang.Object
llnl.gnem.core.gui.plotting.api.Rectangle
- All Implemented Interfaces:
PlotObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
javafx.scene.paint.Color
javafx.scene.paint.Color
getName()
int
double
getText()
double
getX1()
double
getX2()
int
hashCode()
boolean
boolean
setDraggable
(boolean dragEnabled) setEdgeColor
(javafx.scene.paint.Color color) setFillColor
(javafx.scene.paint.Color color) void
setHoverTemplate
(String hoverTemplate) setLegendGrouping
(String legendGroup) setLegendOnly
(Boolean legendOnly) setLogScaleX
(boolean logScaleX) void
setPxWidth
(int value) void
setRatioY
(double yRatio) void
void
setX1
(double x) void
setX2
(double x) void
showInLegend
(Boolean showInLegend) 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
shouldShowInLegend
-
Constructor Details
-
Rectangle
-
Rectangle
-
Rectangle
public Rectangle(double x1, double x2, int pxWidth, double yRatio, String label, javafx.scene.paint.Color edgeColor, javafx.scene.paint.Color fillColor, boolean draggable, boolean logScaleX)
-
-
Method Details
-
getX1
public double getX1() -
getX2
public double getX2() -
setX1
public void setX1(double x) -
setX2
public void setX2(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
-
getShowInLegend
-
showInLegend
- Specified by:
showInLegend
in interfacePlotObject
-
getLegendGrouping
- Specified by:
getLegendGrouping
in interfacePlotObject
-
setLegendGrouping
- Specified by:
setLegendGrouping
in interfacePlotObject
-
getLegendOnly
- Specified by:
getLegendOnly
in interfacePlotObject
-
setLegendOnly
- Specified by:
setLegendOnly
in interfacePlotObject
-
hashCode
public int hashCode() -
equals
-
toString
-