FreeHEP API
Version v1.2.2

hep.aida.ref.plotter
Class LineStyle

java.lang.Object
  |
  +--hep.aida.ref.plotter.BaseStyle
        |
        +--hep.aida.ref.plotter.BrushStyle
              |
              +--hep.aida.ref.plotter.LineStyle
All Implemented Interfaces:
hep.aida.IBaseStyle, hep.aida.IBrushStyle, hep.aida.ILineStyle

public class LineStyle
extends hep.aida.ref.plotter.BrushStyle
implements hep.aida.ILineStyle

Author:
The FreeHEP team @ SLAC.

Constructor Summary
LineStyle()
           
 
Method Summary
 String[] availableColors()
           
 String[] availableLineTypes()
           
 String color()
           
protected  void initializeBaseStyle()
          Initialize the BaseStyle.
protected  void initializeBrushStyle()
           
 String lineType()
           
 double opacity()
          returns -1 if it not set
 boolean setColor(String color)
           
 boolean setLineType(String lineType)
           
 boolean setOpacity(double opacity)
           
 boolean setThickness(int lineThickness)
           
 int thickness()
           
 
Methods inherited from class hep.aida.ref.plotter.BaseStyle
addBaseStyle, addParameter, addParameter, addParameter, addParameter, availableParameterOptions, availableParameters, name, parameterDefaultValue, parameterDefaultValue, parameterValue, parent, reset, setName, setParameter, setParameter, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.IBrushStyle
availableColors, color, opacity, setColor, setOpacity
 
Methods inherited from interface hep.aida.IBaseStyle
availableParameterOptions, availableParameters, parameterValue, reset, setParameter, setParameter
 

Constructor Detail

LineStyle

public LineStyle()
Method Detail

initializeBrushStyle

protected void initializeBrushStyle()
Specified by:
initializeBrushStyle in class hep.aida.ref.plotter.BrushStyle

availableLineTypes

public String[] availableLineTypes()
Specified by:
availableLineTypes in interface hep.aida.ILineStyle

lineType

public String lineType()
Specified by:
lineType in interface hep.aida.ILineStyle

setLineType

public boolean setLineType(String lineType)
Specified by:
setLineType in interface hep.aida.ILineStyle

setThickness

public boolean setThickness(int lineThickness)
Specified by:
setThickness in interface hep.aida.ILineStyle

thickness

public int thickness()
Specified by:
thickness in interface hep.aida.ILineStyle

initializeBaseStyle

protected void initializeBaseStyle()
Description copied from class: BaseStyle
Initialize the BaseStyle. This method has to be overwritten by all Style that has to add parameters or internal BaseStyles.

Specified by:
initializeBaseStyle in class BaseStyle

availableColors

public String[] availableColors()
Specified by:
availableColors in interface hep.aida.IBrushStyle

color

public String color()
Specified by:
color in interface hep.aida.IBrushStyle

opacity

public double opacity()
returns -1 if it not set

Specified by:
opacity in interface hep.aida.IBrushStyle

setColor

public boolean setColor(String color)
Specified by:
setColor in interface hep.aida.IBrushStyle

setOpacity

public boolean setOpacity(double opacity)
Specified by:
setOpacity in interface hep.aida.IBrushStyle

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.