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 ColorbackgroundColorColor of legend background.protected ColorborderColorColor of legend border.protected FontfontLegend font.protected ColorfontColorColor of legend font.protected intsampleLineLengthNumber of pixel for a legend line.protected intsampleLineMarginMinimum pixel distance between a legend text and a legend line.protected inttxtInterlineNumber of pixel between two lines of text in the legend.protected inttxtMarginXInternal margin : distance between legend border and text.protected inttxtMarginYInternal 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 ColorgetBackgroundColor()ColorgetBorderColor()FontgetFont()ColorgetFontColor()intgetSampleLineLength()intgetSampleLineMargin()intgetTxtInterline()intgetTxtMarginX()intgetTxtMarginY()voidsetBackgroundColor(Color backgroundColor)voidsetBorderColor(Color borderColor)voidsetFont(Font font)voidsetFontColor(Color fontColor)voidsetSampleLineLength(int sampleLineLength)voidsetSampleLineMargin(int sampleLineMargin)voidsetTxtInterline(int txtInterline)voidsetTxtMarginX(int txtMarginX)voidsetTxtMarginY(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)
-
-