public class WebColor extends AbstractBaseColor
Type | Property and Description |
---|---|
StringProperty |
hex |
opacityProperty
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, opacityProperty
activateAutoRefresh, equals, getKey, hasChanged, hasChanged, hashCode, readBoolean, readDouble, readInteger, setKey, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
activateAutoRefresh, getKey, hasChanged, hasChanged, setKey
public StringProperty hexProperty
public WebColor(String hex)
hex
- the hexadecimal value [0-9A-F]{6} (without 0x or #)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 AbstractBaseParams
Copyright © 2011–2016 JRebirth OSS. All rights reserved.