Package org.knowm.xchart.style.theme
Class AbstractBaseTheme
- java.lang.Object
-
- org.knowm.xchart.style.theme.AbstractBaseTheme
-
- All Implemented Interfaces:
SeriesColors,SeriesLines,SeriesMarkers,Theme
- Direct Known Subclasses:
GGPlot2Theme,MatlabTheme,XChartTheme
public abstract class AbstractBaseTheme extends java.lang.Object implements Theme
-
-
Field Summary
-
Fields inherited from interface org.knowm.xchart.style.lines.SeriesLines
DASH_DASH, DASH_DOT, DOT_DOT, NONE, SOLID
-
Fields inherited from interface org.knowm.xchart.style.markers.SeriesMarkers
CIRCLE, CROSS, DIAMOND, NONE, OVAL, PLUS, RECTANGLE, SQUARE, TRAPEZOID, TRIANGLE_DOWN, TRIANGLE_UP
-
Fields inherited from interface org.knowm.xchart.style.theme.Theme
BASE_FONT, BASE_STROKE
-
-
Constructor Summary
Constructors Constructor Description AbstractBaseTheme()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.knowm.xchart.style.theme.Theme
getAnnotationLineColor, getAnnotationLineStroke, getAnnotationTextFont, getAnnotationTextFontColor, getAnnotationTextPanelBackgroundColor, getAnnotationTextPanelBorderColor, getAnnotationTextPanelFont, getAnnotationTextPanelFontColor, getAnnotationTextPanelPadding, getChartButtonBackgroundColor, getChartButtonBorderColor, getChartButtonFont, getChartButtonFontColor, getChartButtonHoverColor, getChartButtonMargin, getLabelsFontColorAutomaticDark, getLabelsFontColorAutomaticLight, getPlotContentSize, getToolTipBackgroundColor, getToolTipBorderColor, getToolTipFont, getToolTipHighlightColor, getToolTipType, isLabelsFontColorAutomaticEnabled, isToolTipsEnabled, isZoomEnabled
-
-
-
-
Method Detail
-
getBaseFont
public java.awt.Font getBaseFont()
- Specified by:
getBaseFontin interfaceTheme
-
getChartBackgroundColor
public java.awt.Color getChartBackgroundColor()
- Specified by:
getChartBackgroundColorin interfaceTheme
-
getChartFontColor
public java.awt.Color getChartFontColor()
- Specified by:
getChartFontColorin interfaceTheme
-
getChartPadding
public int getChartPadding()
- Specified by:
getChartPaddingin interfaceTheme
-
getSeriesColors
public java.awt.Color[] getSeriesColors()
- Specified by:
getSeriesColorsin interfaceSeriesColors
-
getSeriesMarkers
public Marker[] getSeriesMarkers()
- Specified by:
getSeriesMarkersin interfaceSeriesMarkers
-
getSeriesLines
public java.awt.BasicStroke[] getSeriesLines()
- Specified by:
getSeriesLinesin interfaceSeriesLines
-
getChartTitleFont
public java.awt.Font getChartTitleFont()
Base font, bold, size 14.- Specified by:
getChartTitleFontin interfaceTheme
-
isChartTitleVisible
public boolean isChartTitleVisible()
- Specified by:
isChartTitleVisiblein interfaceTheme
-
isChartTitleBoxVisible
public boolean isChartTitleBoxVisible()
- Specified by:
isChartTitleBoxVisiblein interfaceTheme
-
getChartTitleBoxBackgroundColor
public java.awt.Color getChartTitleBoxBackgroundColor()
- Specified by:
getChartTitleBoxBackgroundColorin interfaceTheme
-
getChartTitleBoxBorderColor
public java.awt.Color getChartTitleBoxBorderColor()
- Specified by:
getChartTitleBoxBorderColorin interfaceTheme
-
getChartTitlePadding
public int getChartTitlePadding()
- Specified by:
getChartTitlePaddingin interfaceTheme
-
getLegendFont
public java.awt.Font getLegendFont()
- Specified by:
getLegendFontin interfaceTheme
-
isLegendVisible
public boolean isLegendVisible()
- Specified by:
isLegendVisiblein interfaceTheme
-
getLegendBackgroundColor
public java.awt.Color getLegendBackgroundColor()
- Specified by:
getLegendBackgroundColorin interfaceTheme
-
getLegendBorderColor
public java.awt.Color getLegendBorderColor()
- Specified by:
getLegendBorderColorin interfaceTheme
-
getLegendPadding
public int getLegendPadding()
- Specified by:
getLegendPaddingin interfaceTheme
-
getLegendSeriesLineLength
public int getLegendSeriesLineLength()
- Specified by:
getLegendSeriesLineLengthin interfaceTheme
-
getLegendPosition
public Styler.LegendPosition getLegendPosition()
- Specified by:
getLegendPositionin interfaceTheme
-
isXAxisTitleVisible
public boolean isXAxisTitleVisible()
- Specified by:
isXAxisTitleVisiblein interfaceTheme
-
isYAxisTitleVisible
public boolean isYAxisTitleVisible()
- Specified by:
isYAxisTitleVisiblein interfaceTheme
-
getAxisTitleFont
public java.awt.Font getAxisTitleFont()
- Specified by:
getAxisTitleFontin interfaceTheme
-
isXAxisTicksVisible
public boolean isXAxisTicksVisible()
- Specified by:
isXAxisTicksVisiblein interfaceTheme
-
isYAxisTicksVisible
public boolean isYAxisTicksVisible()
- Specified by:
isYAxisTicksVisiblein interfaceTheme
-
getAxisTickLabelsFont
public java.awt.Font getAxisTickLabelsFont()
- Specified by:
getAxisTickLabelsFontin interfaceTheme
-
getAxisTickMarkLength
public int getAxisTickMarkLength()
- Specified by:
getAxisTickMarkLengthin interfaceTheme
-
getAxisTickPadding
public int getAxisTickPadding()
- Specified by:
getAxisTickPaddingin interfaceTheme
-
getAxisTickMarksColor
public java.awt.Color getAxisTickMarksColor()
- Specified by:
getAxisTickMarksColorin interfaceTheme
-
getAxisTickMarksStroke
public java.awt.BasicStroke getAxisTickMarksStroke()
- Specified by:
getAxisTickMarksStrokein interfaceTheme
-
getAxisTickLabelsColor
public java.awt.Color getAxisTickLabelsColor()
- Specified by:
getAxisTickLabelsColorin interfaceTheme
-
isAxisTicksLineVisible
public boolean isAxisTicksLineVisible()
- Specified by:
isAxisTicksLineVisiblein interfaceTheme
-
isAxisTicksMarksVisible
public boolean isAxisTicksMarksVisible()
- Specified by:
isAxisTicksMarksVisiblein interfaceTheme
-
getAxisTitlePadding
public int getAxisTitlePadding()
- Specified by:
getAxisTitlePaddingin interfaceTheme
-
getXAxisTickMarkSpacingHint
public int getXAxisTickMarkSpacingHint()
- Specified by:
getXAxisTickMarkSpacingHintin interfaceTheme
-
getYAxisTickMarkSpacingHint
public int getYAxisTickMarkSpacingHint()
- Specified by:
getYAxisTickMarkSpacingHintin interfaceTheme
-
isPlotGridLinesVisible
public boolean isPlotGridLinesVisible()
- Specified by:
isPlotGridLinesVisiblein interfaceTheme
-
isPlotGridVerticalLinesVisible
public boolean isPlotGridVerticalLinesVisible()
- Specified by:
isPlotGridVerticalLinesVisiblein interfaceTheme
-
isPlotGridHorizontalLinesVisible
public boolean isPlotGridHorizontalLinesVisible()
- Specified by:
isPlotGridHorizontalLinesVisiblein interfaceTheme
-
getPlotBackgroundColor
public java.awt.Color getPlotBackgroundColor()
- Specified by:
getPlotBackgroundColorin interfaceTheme
-
getPlotBorderColor
public java.awt.Color getPlotBorderColor()
- Specified by:
getPlotBorderColorin interfaceTheme
-
isPlotBorderVisible
public boolean isPlotBorderVisible()
- Specified by:
isPlotBorderVisiblein interfaceTheme
-
isPlotTicksMarksVisible
public boolean isPlotTicksMarksVisible()
- Specified by:
isPlotTicksMarksVisiblein interfaceTheme
-
getPlotGridLinesColor
public java.awt.Color getPlotGridLinesColor()
- Specified by:
getPlotGridLinesColorin interfaceTheme
-
getPlotGridLinesStroke
public java.awt.BasicStroke getPlotGridLinesStroke()
- Specified by:
getPlotGridLinesStrokein interfaceTheme
-
getPlotMargin
public int getPlotMargin()
- Specified by:
getPlotMarginin interfaceTheme
-
isCursorEnabled
public boolean isCursorEnabled()
- Specified by:
isCursorEnabledin interfaceTheme
-
getCursorColor
public java.awt.Color getCursorColor()
- Specified by:
getCursorColorin interfaceTheme
-
getCursorSize
public float getCursorSize()
- Specified by:
getCursorSizein interfaceTheme
-
getCursorFont
public java.awt.Font getCursorFont()
- Specified by:
getCursorFontin interfaceTheme
-
getCursorFontColor
public java.awt.Color getCursorFontColor()
- Specified by:
getCursorFontColorin interfaceTheme
-
getCursorBackgroundColor
public java.awt.Color getCursorBackgroundColor()
- Specified by:
getCursorBackgroundColorin interfaceTheme
-
getAvailableSpaceFill
public double getAvailableSpaceFill()
- Specified by:
getAvailableSpaceFillin interfaceTheme
-
isOverlapped
public boolean isOverlapped()
- Specified by:
isOverlappedin interfaceTheme
-
isCircular
public boolean isCircular()
- Specified by:
isCircularin interfaceTheme
-
getStartAngleInDegrees
public double getStartAngleInDegrees()
- Specified by:
getStartAngleInDegreesin interfaceTheme
-
getPieFont
public java.awt.Font getPieFont()
Base font, size 15.- Specified by:
getPieFontin interfaceTheme
-
getLabelsDistance
public double getLabelsDistance()
- Specified by:
getLabelsDistancein interfaceTheme
-
getLabelType
public PieStyler.LabelType getLabelType()
- Specified by:
getLabelTypein interfaceTheme
-
setForceAllLabelsVisible
public boolean setForceAllLabelsVisible()
- Specified by:
setForceAllLabelsVisiblein interfaceTheme
-
getDonutThickness
public double getDonutThickness()
- Specified by:
getDonutThicknessin interfaceTheme
-
isSumVisible
public boolean isSumVisible()
- Specified by:
isSumVisiblein interfaceTheme
-
getSumFont
public java.awt.Font getSumFont()
- Specified by:
getSumFontin interfaceTheme
-
getMarkerSize
public int getMarkerSize()
- Specified by:
getMarkerSizein interfaceTheme
-
getErrorBarsColor
public java.awt.Color getErrorBarsColor()
- Specified by:
getErrorBarsColorin interfaceTheme
-
isErrorBarsColorSeriesColor
public boolean isErrorBarsColorSeriesColor()
- Specified by:
isErrorBarsColorSeriesColorin interfaceTheme
-
-