hep.aida
Interface ITextStyle
-
- All Superinterfaces:
- IBaseStyle, IBrushStyle
- All Known Implementing Classes:
- TextStyle
public interface ITextStyle extends IBrushStyle
Style for all text (e.g. axis labels, legend box text etc.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.String[]availableFonts()Get list of fonts available in this implementation.java.lang.Stringfont()Get name of current font.doublefontSize()Get current font size.booleanisBold()booleanisItalic()booleanisUnderlined()booleansetBold()booleansetBold(boolean bold)booleansetFont(java.lang.String font)Set current font, e.g.booleansetFontSize(double size)Set current font size.booleansetItalic()booleansetItalic(boolean italic)booleansetUnderlined()booleansetUnderlined(boolean underlined)-
Methods inherited from interface hep.aida.IBrushStyle
availableColors, color, opacity, setColor, setOpacity
-
Methods inherited from interface hep.aida.IBaseStyle
availableParameterOptions, availableParameters, child, children, isVisible, name, parameterValue, reset, setParameter, setParameter, setVisible, type
-
-
-
-
Method Detail
-
availableFonts
java.lang.String[] availableFonts()
Get list of fonts available in this implementation.
-
fontSize
double fontSize()
Get current font size.
-
setFontSize
boolean setFontSize(double size)
Set current font size.- Returns:
- false if size not supported by this implementation.
-
font
java.lang.String font()
Get name of current font.
-
setFont
boolean setFont(java.lang.String font)
Set current font, e.g. "timesNewRoman" or "courier".- Returns:
- false if font not supported by this implementation.
-
isBold
boolean isBold()
-
isItalic
boolean isItalic()
-
isUnderlined
boolean isUnderlined()
-
setBold
boolean setBold()
-
setBold
boolean setBold(boolean bold)
-
setItalic
boolean setItalic()
-
setItalic
boolean setItalic(boolean italic)
-
setUnderlined
boolean setUnderlined()
-
setUnderlined
boolean setUnderlined(boolean underlined)
-
-
DMelt 3.0 © DataMelt by jWork.ORG