AIDA API
Version 3.3

hep.aida
Interface ITextStyle

All Superinterfaces:
IBaseStyle, IBrushStyle

public interface ITextStyle
extends IBrushStyle

Style for all text (e.g. axis labels, legend box text etc.)

Author:
The AIDA team (http://aida.freehep.org/)

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

public String[] availableFonts()
Get list of fonts available in this implementation.


fontSize

public double fontSize()
Get current font size.


setFontSize

public boolean setFontSize(double size)
Set current font size.

Returns:
false if size not supported by this implementation.

font

public String font()
Get name of current font.


setFont

public boolean setFont(String font)
Set current font, e.g. "timesNewRoman" or "courier".

Returns:
false if font not supported by this implementation.

isBold

public boolean isBold()

isItalic

public boolean isItalic()

isUnderlined

public boolean isUnderlined()

setBold

public boolean setBold()

setBold

public boolean setBold(boolean bold)

setItalic

public boolean setItalic()

setItalic

public boolean setItalic(boolean italic)

setUnderlined

public boolean setUnderlined()

setUnderlined

public boolean setUnderlined(boolean underlined)

AIDA API
Version 3.3

Copyright © 2000-2004 AIDA Team, All Rights Reserved.