public class GrayColor extends AbstractBaseColor
| Type | Property and Description |
|---|---|
DoubleProperty |
gray
Return the gray property.
|
opacityProperty| Modifier and Type | Field and Description |
|---|---|
private DoubleProperty |
grayProperty
The gray value [0.0-1.0].
|
PARAMETER_SEPARATOR| Constructor and Description |
|---|
GrayColor(double gray)
Default Constructor.
|
GrayColor(double gray,
double opacity)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
double |
gray()
Return the gray value.
|
DoubleProperty |
grayProperty()
Return the gray property.
|
void |
parse(String[] parameters)
Parse a string to initialize fields.
|
opacity, opacityPropertyactivateAutoRefresh, getKey, hasChanged, hasChanged, readBoolean, readDouble, readInteger, setKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivateAutoRefresh, getKey, hasChanged, hasChanged, setKeyprivate final DoubleProperty grayProperty
public GrayColor(double gray)
gray - the gray component [0.0-1.0]public GrayColor(double gray,
double opacity)
gray - the gray component [0.0-1.0]opacity - the color opacity [0.0-1.0]public double gray()
public DoubleProperty grayProperty()
protected List<? extends Object> getFieldValues()
ParameterEntry object.getFieldValues in class AbstractBaseParamspublic void parse(String[] parameters)
parameters - split from resource properties fileCopyright © 2011–2014 JRebirth OSS. All rights reserved.