public abstract static class IlvStyle.ColorChange extends IlvStyle.Change
IlvStyle.Change
subclass that modifies the colors
of an IlvStyle
.
The ColorChange
class modifies either:
IlvStyle.isFillOn()
).ColorChange
class also handles some cases where the fill
or stroke paint are not instances of java.awt.Color
. For example:
IlvPattern
changeColor(java.awt.Color)
method,
which must be implemented in concrete subclass.Modifier | Constructor and Description |
---|---|
protected |
ColorChange()
Creates a new
ColorChange . |
Modifier and Type | Method and Description |
---|---|
IlvStyle |
change(IlvStyle style)
Changes the specified style.
|
protected abstract Color |
changeColor(Color c)
Modifies the specified color.
|
change
public IlvStyle change(IlvStyle style)
change
in class IlvStyle.Change
style
- The style to modify.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.