|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.plotter.WeakStyleListener
hep.aida.ref.plotter.BaseStyle
hep.aida.ref.plotter.LineStyle
hep.aida.ref.plotter.GridStyle
public class GridStyle
| Constructor Summary | |
|---|---|
GridStyle()
|
|
| Method Summary | |
|---|---|
String[] |
availableColors()
Get a list of the colours supported by this implementation. |
double |
cellSize()
|
String |
color()
Current colour of this brush style. |
String |
color(int gi,
int oi)
|
double |
opacity()
returns -1 if it not set |
boolean |
setCellSize(double size)
Set and get the size of the cell. |
boolean |
setColor(String color)
Set current colour, e.g. |
boolean |
setOpacity(double opacity)
Set opacity (alpha), e.g. |
boolean |
setUnits(int unitsDefinition)
Get and set the units used for the size of cell. |
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, deepestSetParameter, isMyParent, isParameterSet, isParameterSet, isVisible, name, parameter, parameterValue, parentList, removeAllParents, removeParent, reset, setParameter, setParameter, setParameter, setParameterDefault, setParent, 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 |
|---|
public GridStyle()
| Method Detail |
|---|
public double cellSize()
cellSize in interface IGridStylepublic boolean setCellSize(double size)
IGridStyle
setCellSize in interface IGridStylepublic boolean setUnits(int unitsDefinition)
IGridStyle
setUnits in interface IGridStylepublic int units()
units in interface IGridStylepublic String[] availableColors()
IBrushStyle
availableColors in interface IBrushStylepublic String color()
IBrushStyle
color in interface IBrushStyle
public String color(int gi,
int oi)
public double opacity()
opacity in interface IBrushStylepublic boolean setColor(String color)
IBrushStyle
setColor in interface IBrushStylepublic boolean setOpacity(double opacity)
IBrushStyle
setOpacity in interface IBrushStyle
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||