FreeHEP API
Version current

hep.aida.ref.plotter
Class AxisStyle

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

public class AxisStyle
extends BaseStyle
implements hep.aida.IAxisStyle

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

Constructor Summary
AxisStyle()
           
 
Method Summary
protected  void initializeBaseStyle()
          Initialize the BaseStyle.
 String label()
           
 hep.aida.ITextStyle labelStyle()
           
 hep.aida.ILineStyle lineStyle()
           
 String scaling()
          Get the axis scaling.
 boolean setLabel(String label)
           
 boolean setLabelStyle(hep.aida.ITextStyle labelStyle)
           
 boolean setlineStyle(hep.aida.ILineStyle lineStyle)
          Deprecated. Use setLineStyle instead.
 boolean setLineStyle(hep.aida.ILineStyle lineStyle)
           
 boolean setScaling(String scaling)
          Set the axis scaling (at least "log" and "linear").
 boolean setTickLabelStyle(hep.aida.ITextStyle tickLabelStyle)
           
 hep.aida.ITextStyle tickLabelStyle()
           
 
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.IBaseStyle
availableParameterOptions, availableParameters, child, children, isVisible, name, parameterValue, reset, setParameter, setParameter, setVisible, type
 

Constructor Detail

AxisStyle

public AxisStyle()
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

setLabel

public boolean setLabel(String label)
Specified by:
setLabel in interface hep.aida.IAxisStyle

label

public String label()
Specified by:
label in interface hep.aida.IAxisStyle

setScaling

public boolean setScaling(String scaling)
Set the axis scaling (at least "log" and "linear").

Specified by:
setScaling in interface hep.aida.IAxisStyle

scaling

public String scaling()
Get the axis scaling. return The axis scaling.

Specified by:
scaling in interface hep.aida.IAxisStyle

labelStyle

public hep.aida.ITextStyle labelStyle()
Specified by:
labelStyle in interface hep.aida.IAxisStyle

lineStyle

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

tickLabelStyle

public hep.aida.ITextStyle tickLabelStyle()
Specified by:
tickLabelStyle in interface hep.aida.IAxisStyle

setLabelStyle

public boolean setLabelStyle(hep.aida.ITextStyle labelStyle)
Specified by:
setLabelStyle in interface hep.aida.IAxisStyle

setTickLabelStyle

public boolean setTickLabelStyle(hep.aida.ITextStyle tickLabelStyle)
Specified by:
setTickLabelStyle in interface hep.aida.IAxisStyle

setlineStyle

public boolean setlineStyle(hep.aida.ILineStyle lineStyle)
Deprecated. Use setLineStyle instead.

Specified by:
setlineStyle in interface hep.aida.IAxisStyle

setLineStyle

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.