|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- needed for generics Comparable.compareTo(Object)
.public interface IPointPainterConfigurableUI<T extends IPointPainter<T>>
Adds configuration of UI like strokes and color to IPointPainter.
Method Summary | |
---|---|
java.awt.Color |
getColor()
Returns the color to paint with or null if no special color is desired. |
java.awt.Color |
getColorFill()
Returns the color to paint fillings with or null if no special color is desired. |
java.awt.Stroke |
getStroke()
Returns the stroke to paint with. |
int |
getTransparency()
Returns the transparency to use for painting. |
int |
getTransparencyFill()
Returns the transparency to use for fill painting. |
java.awt.Color |
setColor(java.awt.Color color)
Sets the color to paint with or null if no special color is
desired. |
java.awt.Color |
setColorFill(java.awt.Color fillColor)
Sets the color to paint fillings with or null if no special
fill color is desired. |
java.awt.Stroke |
setStroke(java.awt.Stroke stroke)
Sets the stroke to paint with or null if no special color is
desired. |
int |
setTransparency(int transparency0to255)
Sets the transparency to use for painting. |
int |
setTransparencyFill(int transparency0to255)
Sets the transparency to use for fill painting. |
Methods inherited from interface info.monitorenter.gui.chart.IPointPainter |
---|
endPaintIteration, paintPoint, startPaintIteration |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.awt.Color getColor()
null if no special color is desired.
- Returns:
- the color to paint with
null if no special color is
desired.
java.awt.Color getColorFill()
null if no special color is desired.
- Returns:
- the color to paint fillings with
null if no special
color is desired.
java.awt.Stroke getStroke()
int getTransparency()
This value will be computed from the color used. If that color is not
configured (null) a value of 0.0 is returned even if the color from the
used for painting has a different setting!
Graphics
int getTransparencyFill()
This value will be computed from the color used. If that color is not
configured (null) a value of 0.0 is returned even if the color from the
used for painting has a different setting!
Graphics
java.awt.Color setColor(java.awt.Color color)
null
if no special color is
desired.
In the latter case the color of the
provided
for paint operations will be used.
Graphics
color
- the color to paint with or null
if no special color
is desired.
null if no special color is
desired.
java.awt.Color setColorFill(java.awt.Color fillColor)
null
if no special
fill color is desired.
In the latter case the color of the
provided
for paint fill operations will be used.
Graphics
fillColor
- the color to paint fillings with or null
if no
special color is desired.
null if no special color is
desired.
java.awt.Stroke setStroke(java.awt.Stroke stroke)
null
if no special color is
desired.
In the latter case the stroke of the
provided
for paint operations will be used.
Graphics
stroke
- the stroke to paint with.
null
if none was used
before.int setTransparency(int transparency0to255)
This value will be fold into color. If color has not been configured before it will not have any effect.
Caution: When using a value greater 0 may cost a multiple cpu load!
transparency0to255
- a transparency value between 0 and 255.
int setTransparencyFill(int transparency0to255)
This value will be fold into fill color. If fill color has not been configured before it will not have any effect.
Caution: When using a value greater 0 may cost a multiple cpu load!
transparency0to255
- a transparency value between 0 and 255.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |