|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthep.aida.ref.plotter.WeakStyleListener
hep.aida.ref.plotter.BaseStyle
hep.aida.ref.plotter.LineStyle
public class LineStyle
| Constructor Summary | |
|---|---|
LineStyle()
|
|
| Method Summary | |
|---|---|
String[] |
availableColors()
Get a list of the colours supported by this implementation. |
String[] |
availableLineTypes()
Get list of line types supported by this implementation. |
String |
color()
Current colour of this brush style. |
String |
color(int gi,
int oi)
|
String |
lineType()
Get line type currently in use. |
String |
lineType(int globalIndex,
int overlayIndex)
|
double |
opacity()
returns -1 if it not set |
boolean |
setColor(String color)
Set current colour, e.g. |
boolean |
setLineType(String lineType)
Set current line type e.g. |
boolean |
setOpacity(double opacity)
Set opacity (alpha), e.g. |
boolean |
setThickness(int lineThickness)
Set thickness (exact meaning is implementation-dependent, but <0 means invisible). |
int |
thickness()
Get current line thickness. |
| 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.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 |
| Constructor Detail |
|---|
public LineStyle()
| Method Detail |
|---|
public String[] availableLineTypes()
ILineStyle
availableLineTypes in interface ILineStylepublic String lineType()
ILineStyle
lineType in interface ILineStyle
public String lineType(int globalIndex,
int overlayIndex)
public boolean setLineType(String lineType)
ILineStyle
setLineType in interface ILineStylepublic boolean setThickness(int lineThickness)
ILineStyle
setThickness in interface ILineStylepublic int thickness()
ILineStyle
thickness in interface ILineStylepublic String[] availableColors()
IBrushStyle
availableColors in interface IBrushStylepublic String color()
IBrushStyle
color in interface IBrushStyle
public String color(int gi,
int oi)
public double opacity()
opacity in interface IBrushStylepublic boolean setColor(String color)
IBrushStyle
setColor in interface IBrushStylepublic boolean setOpacity(double opacity)
IBrushStyle
setOpacity in interface IBrushStyle
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||