FreeHEP API
Version current

hep.aida.ref.plotter
Class GridStyle

java.lang.Object
  extended byhep.aida.ref.plotter.BaseStyle
      extended byhep.aida.ref.plotter.BrushStyle
          extended byhep.aida.ref.plotter.LineStyle
              extended byhep.aida.ref.plotter.GridStyle
All Implemented Interfaces:
hep.aida.IBaseStyle, hep.aida.IBrushStyle, hep.aida.IGridStyle, hep.aida.ILineStyle, StyleListener

public class GridStyle
extends LineStyle
implements hep.aida.IGridStyle

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

Constructor Summary
GridStyle()
           
 
Method Summary
 double cellSize()
           
protected  void initializeBaseStyle()
          Initialize the BaseStyle.
 boolean setCellSize(double size)
           
 boolean setUnits(int unitsDefinition)
           
 int units()
           
 
Methods inherited from class hep.aida.ref.plotter.LineStyle
availableColors, availableLineTypes, color, lineType, opacity, setColor, setLineType, setOpacity, setThickness, thickness
 
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.ILineStyle
availableLineTypes, lineType, setLineType, setThickness, thickness
 
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

GridStyle

public GridStyle()
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.

Overrides:
initializeBaseStyle in class LineStyle

cellSize

public double cellSize()
Specified by:
cellSize in interface hep.aida.IGridStyle

setCellSize

public boolean setCellSize(double size)
Specified by:
setCellSize in interface hep.aida.IGridStyle

setUnits

public boolean setUnits(int unitsDefinition)
Specified by:
setUnits in interface hep.aida.IGridStyle

units

public int units()
Specified by:
units in interface hep.aida.IGridStyle

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.