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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanjavafx.scene.paint.Colorjavafx.scene.paint.ColorgetName()intdoublegetText()doublegetX1()doublegetX2()inthashCode()booleanbooleansetDraggable(boolean dragEnabled) setEdgeColor(javafx.scene.paint.Color color) setFillColor(javafx.scene.paint.Color color) voidsetHoverTemplate(String hoverTemplate) setLegendGrouping(String legendGroup) setLegendOnly(Boolean legendOnly) setLogScaleX(boolean logScaleX) voidsetPxWidth(int value) voidsetRatioY(double yRatio) voidvoidsetX1(double x) voidsetX2(double x) voidshowInLegend(Boolean showInLegend) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getFillColorin interfacePlotObject
-
setFillColor
- Specified by:
setFillColorin interfacePlotObject
-
getEdgeColor
public javafx.scene.paint.Color getEdgeColor()- Specified by:
getEdgeColorin interfacePlotObject
-
setEdgeColor
- Specified by:
setEdgeColorin interfacePlotObject
-
getPxWidth
public int getPxWidth() -
setPxWidth
public void setPxWidth(int value) -
getText
-
setText
-
getName
- Specified by:
getNamein interfacePlotObject
-
setName
- Specified by:
setNamein interfacePlotObject
-
getZindex
- Specified by:
getZindexin interfacePlotObject
-
setZindex
- Specified by:
setZindexin interfacePlotObject
-
getSeriesIdentifier
- Specified by:
getSeriesIdentifierin interfacePlotObject
-
isLogScaleX
public boolean isLogScaleX() -
setLogScaleX
-
getHoverTemplate
-
setHoverTemplate
-
getShowInLegend
-
showInLegend
- Specified by:
showInLegendin interfacePlotObject
-
getLegendGrouping
- Specified by:
getLegendGroupingin interfacePlotObject
-
setLegendGrouping
- Specified by:
setLegendGroupingin interfacePlotObject
-
getLegendOnly
- Specified by:
getLegendOnlyin interfacePlotObject
-
setLegendOnly
- Specified by:
setLegendOnlyin interfacePlotObject
-
hashCode
public int hashCode() -
equals
-
toString
-