|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Superclass for all styles in AIDA Plotting package. All styles can be reset to their original values at construction time. In the case of styles which 'contain' other styles (like IStyle or IAxisStyle), reset() calls reset() on the aggregated styles too. All styles are hierarchical, so the plotter's current style is overridden by the region's current style, which is overridden by any 'associated' style which is overwritten by any style passed in explicitly at plotting time. Parameters and options which have been explicitly set to non-default (or default!) values are 'sticky'. For example, if a style has the default 'red' and this has been set explicitly to 'blue' at the Plotter level, then it will override the default 'red' at the Region level. IF the user explicitly sets the region to 'green' (or 'red'!) then it will not be overridden by the 'parent' style.
Method Summary | |
String[] |
availableParameterOptions(String paramName)
Get list of the available options for a given parameter (implementation-dependent). |
String[] |
availableParameters()
Get list of the available parameters (implementation-dependent) |
String |
parameterValue(String parameter)
Get value of a parameter. |
void |
reset()
Return to original (construction time) state. |
boolean |
setParameter(String paramName)
Set a parameter. |
boolean |
setParameter(String paramName,
String options)
Set a parameter. |
Method Detail |
public void reset()
public boolean setParameter(String paramName)
paramName
- Name of the parameter.
public boolean setParameter(String paramName, String options)
paramName
- Name of the parameter.options
- String of options.
public String parameterValue(String parameter)
public String[] availableParameters()
public String[] availableParameterOptions(String paramName)
|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |