Interface HasFont
- 
- All Superinterfaces:
- IsDefaultFontContainer
 - All Known Implementing Classes:
- AbstractTitle,- Action,- ActionItem,- Label,- LegendLabels,- LegendTitle,- PointLabels,- ScaleTitle,- Subtitle,- Ticks,- Title,- Title
 
 public interface HasFont extends IsDefaultFontContainer Interface to map the font and color options.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IsColorgetColor()Returns the font color.default StringgetColorAsString()Returns the font color as string.default IsFontgetFont()Returns the font element.FontContainergetFontContainer()Returns a font container instance to use in the default methods of this interface.default voidsetColor(String color)Sets the font color.default voidsetColor(IsColor color)Sets the font color.
 
- 
- 
- 
Method Detail- 
getFontContainerFontContainer getFontContainer() Returns a font container instance to use in the default methods of this interface.- Returns:
- a font container instance
 
 - 
getFontdefault IsFont getFont() Returns the font element.- Specified by:
- getFontin interface- IsDefaultFontContainer
- Returns:
- the font
 
 - 
setColordefault void setColor(IsColor color) Sets the font color.- Parameters:
- color- font color.
 
 - 
setColordefault void setColor(String color) Sets the font color.- Parameters:
- color- font color.
 
 - 
getColorAsStringdefault String getColorAsString() Returns the font color as string.- Specified by:
- getColorAsStringin interface- IsDefaultFontContainer
- Returns:
- font color as string
 
 - 
getColordefault IsColor getColor() Returns the font color.- Returns:
- font color
 
 
- 
 
-