hep.aida.ref.plotter
Class StatisticsBoxStyle

java.lang.Object
  extended by hep.aida.ref.plotter.WeakStyleListener
      extended by hep.aida.ref.plotter.BaseStyle
          extended by hep.aida.ref.plotter.StatisticsBoxStyle
All Implemented Interfaces:
IBaseStyle, IStatisticsBoxStyle, StyleListener

public class StatisticsBoxStyle
extends BaseStyle
implements IStatisticsBoxStyle


Constructor Summary
StatisticsBoxStyle()
           
 
Method Summary
 IBoxStyle boxStyle()
          Get the box style of the statistics box.
 boolean setBoxStyle(IBoxStyle boxStyle)
          Set the box style of the statistics box.
 boolean setTextStyle(ITextStyle textStyle)
          Set the text style of the statistics box.
 boolean setVisibileStatistics(String visibleStat)
          Set which statistics is visible.
 ITextStyle textStyle()
          Get the text style of the statistics box.
 String visibleStatistics()
           
 
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.IBaseStyle
availableParameterOptions, availableParameters, child, children, isVisible, name, parameterValue, reset, setParameter, setParameter, setVisible, type
 

Constructor Detail

StatisticsBoxStyle

public StatisticsBoxStyle()
Method Detail

boxStyle

public IBoxStyle boxStyle()
Description copied from interface: IStatisticsBoxStyle
Get the box style of the statistics box.

Specified by:
boxStyle in interface IStatisticsBoxStyle
Returns:
The IBoxStyle of the statistic box.

setBoxStyle

public boolean setBoxStyle(IBoxStyle boxStyle)
Description copied from interface: IStatisticsBoxStyle
Set the box style of the statistics box.

Specified by:
setBoxStyle in interface IStatisticsBoxStyle
Parameters:
boxStyle - The box style.
Returns:
true if the operation was successful.

setTextStyle

public boolean setTextStyle(ITextStyle textStyle)
Description copied from interface: IStatisticsBoxStyle
Set the text style of the statistics box.

Specified by:
setTextStyle in interface IStatisticsBoxStyle
Parameters:
textStyle - The text style.
Returns:
true if the operation was successful.

textStyle

public ITextStyle textStyle()
Description copied from interface: IStatisticsBoxStyle
Get the text style of the statistics box.

Specified by:
textStyle in interface IStatisticsBoxStyle
Returns:
The ITextStyle for the whole statistic box.

setVisibileStatistics

public boolean setVisibileStatistics(String visibleStat)
Description copied from interface: IStatisticsBoxStyle
Set which statistics is visible.

Specified by:
setVisibileStatistics in interface IStatisticsBoxStyle
Parameters:
visibleStat - A string that controls which information is being displayed. This is a string of 1 and 0 a-la PAW. The position of the digit correspond to an item in the stat box. 1 means visibility, 0 means don't show. If digits are missing they are assumed to be 1. So "10" switches off the second item in the stat box. Refer to the documentation to see the order of the items in the stat box.

visibleStatistics

public String visibleStatistics()
Specified by:
visibleStatistics in interface IStatisticsBoxStyle


jHepWork 3.2 © jWork.org