hep.aida.ref.plotter
Class GridStyle

java.lang.Object
  extended by hep.aida.ref.plotter.BaseStyle
      extended by hep.aida.ref.plotter.LineStyle
          extended by hep.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


Constructor Summary
GridStyle()
           
 
Method Summary
 java.lang.String[] availableColors()
           
 double cellSize()
           
 java.lang.String color()
           
 java.lang.String color(int gi, int oi)
           
 double opacity()
          returns -1 if it not set
 boolean setCellSize(double size)
           
 boolean setColor(java.lang.String color)
           
 boolean setOpacity(double opacity)
           
 boolean setUnits(int unitsDefinition)
           
 int units()
           
 
Methods inherited from class hep.aida.ref.plotter.LineStyle
availableLineTypes, lineType, lineType, setLineType, setThickness, thickness
 
Methods inherited from class hep.aida.ref.plotter.BaseStyle
addParent, addParentList, availableParameterOptions, availableParameters, child, children, createParentListForName, createParentListForName, deepestSetParameter, isMyParent, isParameterSet, isParameterSet, isVisible, name, parameter, parameterValue, parentList, reset, setParameter, setParameter, setParameter, setParameterDefault, setParentList, setParentList, setVisible, styleChanged, type
 
Methods inherited from class java.lang.Object
equals, 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

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

availableColors

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

color

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

color

public java.lang.String color(int gi,
                              int oi)

opacity

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

Specified by:
opacity in interface hep.aida.IBrushStyle

setColor

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

setOpacity

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


jHepWork 1.1 (C) Chekanov