FreeHEP API
Version current

hep.aida.ref.plotter
Class DataStyle

java.lang.Object
  extended byhep.aida.ref.plotter.BaseStyle
      extended byhep.aida.ref.plotter.DataStyle
All Implemented Interfaces:
hep.aida.IBaseStyle, hep.aida.IDataStyle, StyleListener

public class DataStyle
extends BaseStyle
implements hep.aida.IDataStyle

Author:
The AIDA team @ SLAC.
Source Code:
DataStyle.java

Constructor Summary
DataStyle()
           
 
Method Summary
 hep.aida.ILineStyle errorBarStyle()
           
 hep.aida.IFillStyle fillStyle()
           
protected  void initializeBaseStyle()
          Initialize the BaseStyle.
 boolean isShownInLegendBox()
           
 boolean isShownInStatisticsBox()
           
 hep.aida.ILineStyle lineStyle()
           
 hep.aida.IMarkerStyle markerStyle()
           
 String model()
           
 hep.aida.ILineStyle outlineStyle()
           
 String parameterValue(String parameterName)
           
 boolean setErrorBarStyle(hep.aida.ILineStyle errorBarStyle)
           
 boolean setFillStyle(hep.aida.IFillStyle fillStyle)
           
 boolean setLineStyle(hep.aida.ILineStyle lineStyle)
           
 boolean setMarkerStyle(hep.aida.IMarkerStyle markerStyle)
           
 boolean setModel(String model)
          Set the model accorting to which the data is represented.
 boolean setOutlineStyle(hep.aida.ILineStyle outlineStyle)
           
 boolean setParameter(String parName)
           
 boolean setParameter(String parName, String parValue)
           
 void showInLegendBox(boolean showInLegendBox)
          Set if this data is to be represented in the legend box.
 void showInStatisticsBox(boolean showInStatisticsBox)
          Set if this data is to be represented in the statistics box.
 
Methods inherited from class hep.aida.ref.plotter.BaseStyle
addBaseStyle, addParameter, availableParameterOptions, availableParameters, child, children, deepestSetParameter, isParameterSet, isVisible, name, numberOfParameters, parameter, parameters, parent, reset, setName, 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.IBaseStyle
availableParameterOptions, availableParameters, child, children, isVisible, name, reset, setVisible, type
 

Constructor Detail

DataStyle

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

Specified by:
initializeBaseStyle in class BaseStyle

setParameter

public boolean setParameter(String parName)
Specified by:
setParameter in interface hep.aida.IBaseStyle
Overrides:
setParameter in class BaseStyle

setParameter

public boolean setParameter(String parName,
                            String parValue)
Specified by:
setParameter in interface hep.aida.IBaseStyle
Overrides:
setParameter in class BaseStyle

parameterValue

public String parameterValue(String parameterName)
Specified by:
parameterValue in interface hep.aida.IBaseStyle
Overrides:
parameterValue in class BaseStyle

fillStyle

public hep.aida.IFillStyle fillStyle()
Specified by:
fillStyle in interface hep.aida.IDataStyle

lineStyle

public hep.aida.ILineStyle lineStyle()
Specified by:
lineStyle in interface hep.aida.IDataStyle

markerStyle

public hep.aida.IMarkerStyle markerStyle()
Specified by:
markerStyle in interface hep.aida.IDataStyle

errorBarStyle

public hep.aida.ILineStyle errorBarStyle()
Specified by:
errorBarStyle in interface hep.aida.IDataStyle

outlineStyle

public hep.aida.ILineStyle outlineStyle()
Specified by:
outlineStyle in interface hep.aida.IDataStyle

setFillStyle

public boolean setFillStyle(hep.aida.IFillStyle fillStyle)
Specified by:
setFillStyle in interface hep.aida.IDataStyle

setLineStyle

public boolean setLineStyle(hep.aida.ILineStyle lineStyle)
Specified by:
setLineStyle in interface hep.aida.IDataStyle

setMarkerStyle

public boolean setMarkerStyle(hep.aida.IMarkerStyle markerStyle)
Specified by:
setMarkerStyle in interface hep.aida.IDataStyle

setErrorBarStyle

public boolean setErrorBarStyle(hep.aida.ILineStyle errorBarStyle)
Specified by:
setErrorBarStyle in interface hep.aida.IDataStyle

setOutlineStyle

public boolean setOutlineStyle(hep.aida.ILineStyle outlineStyle)
Specified by:
setOutlineStyle in interface hep.aida.IDataStyle

setModel

public boolean setModel(String model)
Set the model accorting to which the data is represented.

Specified by:
setModel in interface hep.aida.IDataStyle

model

public String model()
Specified by:
model in interface hep.aida.IDataStyle

showInStatisticsBox

public void showInStatisticsBox(boolean showInStatisticsBox)
Set if this data is to be represented in the statistics box.

Specified by:
showInStatisticsBox in interface hep.aida.IDataStyle

isShownInStatisticsBox

public boolean isShownInStatisticsBox()
Specified by:
isShownInStatisticsBox in interface hep.aida.IDataStyle

showInLegendBox

public void showInLegendBox(boolean showInLegendBox)
Set if this data is to be represented in the legend box.

Specified by:
showInLegendBox in interface hep.aida.IDataStyle

isShownInLegendBox

public boolean isShownInLegendBox()
Specified by:
isShownInLegendBox in interface hep.aida.IDataStyle

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.