FreeHEP API
Version current

hep.aida.ref.plotter
Class FillStyle

java.lang.Object
  extended byhep.aida.ref.plotter.BaseStyle
      extended byhep.aida.ref.plotter.BrushStyle
          extended byhep.aida.ref.plotter.FillStyle
All Implemented Interfaces:
hep.aida.IBaseStyle, hep.aida.IBrushStyle, hep.aida.IFillStyle, StyleListener

public class FillStyle
extends hep.aida.ref.plotter.BrushStyle
implements hep.aida.IFillStyle

Author:
The FreeHEP team @ SLAC
Source Code:
FillStyle.java

Constructor Summary
FillStyle()
           
 
Method Summary
 String[] availableColors()
           
 String[] availablePatterns()
           
 String color()
           
protected  void initializeBaseStyle()
          Initialize the BaseStyle.
 double opacity()
          returns -1 if it not set
 String pattern()
           
 boolean setColor(String color)
           
 boolean setOpacity(double opacity)
           
 boolean setPattern(String pattern)
           
 
Methods inherited from class hep.aida.ref.plotter.BaseStyle
addBaseStyle, addParameter, availableParameterOptions, availableParameters, child, children, deepestSetParameter, isParameterSet, isVisible, name, numberOfParameters, parameter, parameters, parameterValue, parent, reset, setName, setParameter, setParameter, setParameterDefault, setParent, setVisible, styleChanged, type
 
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, child, children, isVisible, name, parameterValue, reset, setParameter, setParameter, setVisible, type
 

Constructor Detail

FillStyle

public FillStyle()
Method Detail

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.


availablePatterns

public String[] availablePatterns()
Specified by:
availablePatterns in interface hep.aida.IFillStyle

pattern

public String pattern()
Specified by:
pattern in interface hep.aida.IFillStyle

setPattern

public boolean setPattern(String pattern)
Specified by:
setPattern in interface hep.aida.IFillStyle

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.