Class LineLegendLayout
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
-
- org.jzy3d.plot3d.rendering.legends.overlay.LineLegendLayout
-
public class LineLegendLayout extends LegendLayout
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
LegendLayout.Corner
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
backgroundColor
Color of legend background.protected Color
borderColor
Color of legend border.protected Font
font
Legend font.protected Color
fontColor
Color of legend font.protected int
sampleLineLength
Number of pixel for a legend line.protected int
sampleLineMargin
Minimum pixel distance between a legend text and a legend line.protected int
txtInterline
Number of pixel between two lines of text in the legend.protected int
txtMarginX
Internal margin : distance between legend border and text.protected int
txtMarginY
Internal margin : distance between legend border and text.-
Fields inherited from class org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
boxMarginX, boxMarginY, corner
-
-
Constructor Summary
Constructors Constructor Description LineLegendLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBackgroundColor()
Color
getBorderColor()
Font
getFont()
Color
getFontColor()
int
getSampleLineLength()
int
getSampleLineMargin()
int
getTxtInterline()
int
getTxtMarginX()
int
getTxtMarginY()
void
setBackgroundColor(Color backgroundColor)
void
setBorderColor(Color borderColor)
void
setFont(Font font)
void
setFontColor(Color fontColor)
void
setSampleLineLength(int sampleLineLength)
void
setSampleLineMargin(int sampleLineMargin)
void
setTxtInterline(int txtInterline)
void
setTxtMarginX(int txtMarginX)
void
setTxtMarginY(int txtMarginY)
-
Methods inherited from class org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
getBoxMarginX, getBoxMarginY, getCorner, setBoxMarginX, setBoxMarginY, setCorner
-
-
-
-
Field Detail
-
txtMarginX
protected int txtMarginX
Internal margin : distance between legend border and text.
-
txtMarginY
protected int txtMarginY
Internal margin : distance between legend border and text.
-
txtInterline
protected int txtInterline
Number of pixel between two lines of text in the legend.
-
sampleLineMargin
protected int sampleLineMargin
Minimum pixel distance between a legend text and a legend line.
-
sampleLineLength
protected int sampleLineLength
Number of pixel for a legend line.
-
fontColor
protected Color fontColor
Color of legend font.
-
borderColor
protected Color borderColor
Color of legend border.
-
backgroundColor
protected Color backgroundColor
Color of legend background. Translucent if none.
-
font
protected Font font
Legend font. Can be null, or otherwise initialized likenew Font("Helvetica", Font.PLAIN, 11)
-
-
Method Detail
-
getTxtMarginX
public int getTxtMarginX()
-
setTxtMarginX
public void setTxtMarginX(int txtMarginX)
-
getTxtMarginY
public int getTxtMarginY()
-
setTxtMarginY
public void setTxtMarginY(int txtMarginY)
-
getTxtInterline
public int getTxtInterline()
-
setTxtInterline
public void setTxtInterline(int txtInterline)
-
getSampleLineMargin
public int getSampleLineMargin()
-
setSampleLineMargin
public void setSampleLineMargin(int sampleLineMargin)
-
getSampleLineLength
public int getSampleLineLength()
-
setSampleLineLength
public void setSampleLineLength(int sampleLineLength)
-
getFontColor
public Color getFontColor()
-
setFontColor
public void setFontColor(Color fontColor)
-
getBorderColor
public Color getBorderColor()
-
setBorderColor
public void setBorderColor(Color borderColor)
-
getBackgroundColor
public Color getBackgroundColor()
-
setBackgroundColor
public void setBackgroundColor(Color backgroundColor)
-
getFont
public Font getFont()
-
setFont
public void setFont(Font font)
-
-