hep.aida.ref.plotter
Class GridStyle
java.lang.Object
hep.aida.ref.plotter.BaseStyle
hep.aida.ref.plotter.LineStyle
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
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 |
GridStyle
public GridStyle()
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