public class StandardLegendFormat extends java.lang.Object implements LegendFormat
LegendFormat.Margin
PADDING_AUTO_VALUE
Constructor and Description |
---|
StandardLegendFormat() |
Modifier and Type | Method and Description |
---|---|
java.awt.Font |
getLayerTitleFont() |
int |
getLayerTitleMargin(LegendFormat.Margin m) |
int |
getLegendMargin(LegendFormat.Margin m) |
java.awt.Font |
getLegendTitleFont() |
int |
getLegendTitleMargin(LegendFormat.Margin m) |
void |
setLayerTitleFont(java.awt.Font layerTitleFont) |
void |
setLayerTitleMargin(int top,
int right,
int bottom,
int left) |
void |
setLegendMargin(int top,
int right,
int bottom,
int left) |
void |
setLegendTitleFont(java.awt.Font legendTitleFont) |
void |
setLegendTitleMargin(int top,
int right,
int bottom,
int left) |
public java.awt.Font getLegendTitleFont()
getLegendTitleFont
in interface LegendFormat
public void setLegendTitleFont(java.awt.Font legendTitleFont)
setLegendTitleFont
in interface LegendFormat
public java.awt.Font getLayerTitleFont()
getLayerTitleFont
in interface LegendFormat
public void setLayerTitleFont(java.awt.Font layerTitleFont)
setLayerTitleFont
in interface LegendFormat
public int getLegendMargin(LegendFormat.Margin m)
getLegendMargin
in interface LegendFormat
public void setLegendMargin(int top, int right, int bottom, int left)
setLegendMargin
in interface LegendFormat
public int getLegendTitleMargin(LegendFormat.Margin m)
getLegendTitleMargin
in interface LegendFormat
public void setLegendTitleMargin(int top, int right, int bottom, int left)
setLegendTitleMargin
in interface LegendFormat
public int getLayerTitleMargin(LegendFormat.Margin m)
getLayerTitleMargin
in interface LegendFormat
public void setLayerTitleMargin(int top, int right, int bottom, int left)
setLayerTitleMargin
in interface LegendFormat