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
 String[] availableFonts()
          Get list of fonts available in this implementation.
 String font()
          Get name of current font.
 double fontSize()
          Get current font size.
 boolean isBold()
           
 boolean isItalic()
           
 boolean isUnderlined()
           
 boolean setBold()
           
 boolean setBold(boolean bold)
           
 boolean setFont(String font)
          Set current font, e.g.
 boolean setFontSize(double size)
          Set current font size.
 boolean setItalic()
           
 boolean setItalic(boolean italic)
           
 boolean setUnderlined()
           
 boolean setUnderlined(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

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

String font()
Get name of current font.


setFont

boolean setFont(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)


jHepWork 3.2 © jWork.org