Class ViewStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.render.ViewStyle
-
public class ViewStyle extends Object
Settings to configure the appearance of the Geometry View.- Author:
- Martin Davis
-
-
Constructor Summary
Constructors Constructor Description ViewStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getBackground()
Color
getBorderColor()
Color
getLegendFill()
String
getTitle()
Color
getTitleFill()
boolean
isBorderEnabled()
boolean
isGridEnabled()
boolean
isLegendBorderEnabled()
boolean
isLegendEnabled()
boolean
isLegendMetricsEnabled()
boolean
isLegendStatsEnabled()
boolean
isTitleBorderEnabled()
boolean
isTitleEnabled()
void
setBackground(Color clrBackground)
void
setBorderColor(Color clr)
void
setBorderEnabled(boolean isEnabled)
void
setGridEnabled(boolean isEnabled)
void
setLegendBorderEnabled(boolean isEnabled)
void
setLegendEnabled(boolean isEnabled)
void
setLegendFill(Color fillClr)
void
setLegendMetricsEnabled(boolean isEabled)
void
setLegendStatsEnabled(boolean isEabled)
void
setTitle(String title)
void
setTitleBorderEnabled(boolean isEnabled)
void
setTitleEnabled(boolean isEnabled)
void
setTitleFill(Color fillClr)
-
-
-
Method Detail
-
setGridEnabled
public void setGridEnabled(boolean isEnabled)
-
isGridEnabled
public boolean isGridEnabled()
-
setLegendEnabled
public void setLegendEnabled(boolean isEnabled)
-
isLegendEnabled
public boolean isLegendEnabled()
-
setTitleEnabled
public void setTitleEnabled(boolean isEnabled)
-
isTitleEnabled
public boolean isTitleEnabled()
-
setTitle
public void setTitle(String title)
-
getTitle
public String getTitle()
-
setBackground
public void setBackground(Color clrBackground)
-
getBackground
public Color getBackground()
-
setLegendBorderEnabled
public void setLegendBorderEnabled(boolean isEnabled)
-
isLegendBorderEnabled
public boolean isLegendBorderEnabled()
-
setTitleBorderEnabled
public void setTitleBorderEnabled(boolean isEnabled)
-
getLegendFill
public Color getLegendFill()
-
setLegendFill
public void setLegendFill(Color fillClr)
-
isTitleBorderEnabled
public boolean isTitleBorderEnabled()
-
setTitleFill
public void setTitleFill(Color fillClr)
-
getTitleFill
public Color getTitleFill()
-
isBorderEnabled
public boolean isBorderEnabled()
-
setBorderEnabled
public void setBorderEnabled(boolean isEnabled)
-
setBorderColor
public void setBorderColor(Color clr)
-
getBorderColor
public Color getBorderColor()
-
setLegendStatsEnabled
public void setLegendStatsEnabled(boolean isEabled)
-
isLegendStatsEnabled
public boolean isLegendStatsEnabled()
-
setLegendMetricsEnabled
public void setLegendMetricsEnabled(boolean isEabled)
-
isLegendMetricsEnabled
public boolean isLegendMetricsEnabled()
-
-