public class WebColor extends AbstractBaseColor
| Type | Property and Description |
|---|---|
StringProperty |
hex |
opacityProperty| Modifier and Type | Field and Description |
|---|---|
private StringProperty |
hexProperty
The hexadecimal string value [0-9A-F]{6} (without 0x or #).
|
PARAMETER_SEPARATOR| Constructor and Description |
|---|
WebColor(String hex)
Default Constructor.
|
WebColor(String hex,
double opacity)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
String |
hex()
Return the hexadecimal string value [0-9A-F]{6} (without 0x or #).
|
StringProperty |
hexProperty() |
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 StringProperty hexProperty
public WebColor(String hex)
hex - the hexadecimal value [0-9A-F]{6} (without 0x or #)public WebColor(String hex, double opacity)
hex - the hexadecimal value [0-9A-F]{6} (without 0x or #)opacity - the color opacity [0.0-1.0]public String hex()
public StringProperty hexProperty()
public void parse(String[] parameters)
parameters - split from resource properties fileprotected List<? extends Object> getFieldValues()
ParameterEntry object.getFieldValues in class AbstractBaseParamsCopyright © 2011–2014 JRebirth OSS. All rights reserved.