hep.aida.ref.plotter
Class StatisticsBoxStyle
- java.lang.Object
-
- hep.aida.ref.plotter.WeakStyleListener
-
- hep.aida.ref.plotter.BaseStyle
-
- hep.aida.ref.plotter.StatisticsBoxStyle
-
- All Implemented Interfaces:
- IBaseStyle, IStatisticsBoxStyle, StyleListener
public class StatisticsBoxStyle extends BaseStyle implements IStatisticsBoxStyle
-
-
Constructor Summary
Constructors Constructor and Description StatisticsBoxStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IBoxStyleboxStyle()Get the box style of the statistics box.booleansetBoxStyle(IBoxStyle boxStyle)Set the box style of the statistics box.booleansetTextStyle(ITextStyle textStyle)Set the text style of the statistics box.booleansetVisibileStatistics(java.lang.String visibleStat)Set which statistics is visible.ITextStyletextStyle()Get the text style of the statistics box.java.lang.StringvisibleStatistics()-
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
-
-
-
-
Method Detail
-
boxStyle
public IBoxStyle boxStyle()
Description copied from interface:IStatisticsBoxStyleGet the box style of the statistics box.- Specified by:
boxStylein interfaceIStatisticsBoxStyle- Returns:
- The IBoxStyle of the statistic box.
-
setBoxStyle
public boolean setBoxStyle(IBoxStyle boxStyle)
Description copied from interface:IStatisticsBoxStyleSet the box style of the statistics box.- Specified by:
setBoxStylein interfaceIStatisticsBoxStyle- Parameters:
boxStyle- The box style.- Returns:
- true if the operation was successful.
-
setTextStyle
public boolean setTextStyle(ITextStyle textStyle)
Description copied from interface:IStatisticsBoxStyleSet the text style of the statistics box.- Specified by:
setTextStylein interfaceIStatisticsBoxStyle- Parameters:
textStyle- The text style.- Returns:
- true if the operation was successful.
-
textStyle
public ITextStyle textStyle()
Description copied from interface:IStatisticsBoxStyleGet the text style of the statistics box.- Specified by:
textStylein interfaceIStatisticsBoxStyle- Returns:
- The ITextStyle for the whole statistic box.
-
setVisibileStatistics
public boolean setVisibileStatistics(java.lang.String visibleStat)
Description copied from interface:IStatisticsBoxStyleSet which statistics is visible.- Specified by:
setVisibileStatisticsin interfaceIStatisticsBoxStyle- 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 java.lang.String visibleStatistics()
- Specified by:
visibleStatisticsin interfaceIStatisticsBoxStyle
-
-
DMelt 3.0 © DataMelt by jWork.ORG