hep.aida.ref.plotter
Class MarkerStyle
java.lang.Object
hep.aida.ref.plotter.BaseStyle
hep.aida.ref.plotter.MarkerStyle
- All Implemented Interfaces:
- hep.aida.IBaseStyle, hep.aida.IBrushStyle, hep.aida.IMarkerStyle, StyleListener
public class MarkerStyle
- extends BaseStyle
- implements hep.aida.IMarkerStyle
Method Summary |
java.lang.String[] |
availableColors()
|
java.lang.String[] |
availableShapes()
|
java.lang.String |
color()
|
java.lang.String |
color(int gi,
int oi)
|
double |
opacity()
returns -1 if it not set |
boolean |
setColor(java.lang.String color)
|
boolean |
setOpacity(double opacity)
|
boolean |
setShape(java.lang.String markerShape)
|
boolean |
setSize(int size)
Set the marker's size. |
java.lang.String |
shape()
|
java.lang.String |
shape(int globalIndex,
int overlayIndex)
|
int |
size()
Get the marker's size. |
Methods inherited from class hep.aida.ref.plotter.BaseStyle |
addParent, addParentList, availableParameterOptions, availableParameters, child, children, createParentListForName, createParentListForName, deepestSetParameter, isMyParent, isParameterSet, isParameterSet, isVisible, name, parameter, parameterValue, parentList, reset, setParameter, setParameter, setParameter, setParameterDefault, setParentList, 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.IBrushStyle |
availableColors, color, opacity, setColor, setOpacity |
Methods inherited from interface hep.aida.IBaseStyle |
availableParameterOptions, availableParameters, child, children, isVisible, name, parameterValue, reset, setParameter, setParameter, setVisible, type |
MarkerStyle
public MarkerStyle()
availableShapes
public java.lang.String[] availableShapes()
- Specified by:
availableShapes
in interface hep.aida.IMarkerStyle
setShape
public boolean setShape(java.lang.String markerShape)
- Specified by:
setShape
in interface hep.aida.IMarkerStyle
shape
public java.lang.String shape()
- Specified by:
shape
in interface hep.aida.IMarkerStyle
shape
public java.lang.String shape(int globalIndex,
int overlayIndex)
setSize
public boolean setSize(int size)
- Set the marker's size.
- Specified by:
setSize
in interface hep.aida.IMarkerStyle
- Parameters:
size
- The marker's size.
- Returns:
- false if the implementation cannot perform the requested change
in the marker's size.
size
public int size()
- Get the marker's size.
- Specified by:
size
in interface hep.aida.IMarkerStyle
- Returns:
- The marker's size.
availableColors
public java.lang.String[] availableColors()
- Specified by:
availableColors
in interface hep.aida.IBrushStyle
color
public java.lang.String color()
- Specified by:
color
in interface hep.aida.IBrushStyle
color
public java.lang.String color(int gi,
int oi)
opacity
public double opacity()
- returns -1 if it not set
- Specified by:
opacity
in interface hep.aida.IBrushStyle
setColor
public boolean setColor(java.lang.String color)
- Specified by:
setColor
in interface hep.aida.IBrushStyle
setOpacity
public boolean setOpacity(double opacity)
- Specified by:
setOpacity
in interface hep.aida.IBrushStyle
jHepWork 1.1 (C) Chekanov