public final class RGB255Color extends AbstractBaseColor
| Type | Property and Description |
|---|---|
IntegerProperty |
blue |
IntegerProperty |
green |
IntegerProperty |
red |
opacityProperty| Modifier and Type | Field and Description |
|---|---|
private IntegerProperty |
blueProperty
The blue value [0-255].
|
private IntegerProperty |
greenProperty
The green value [0-255].
|
private IntegerProperty |
redProperty
The green value [0-255].
|
PARAMETER_SEPARATOR| Constructor and Description |
|---|
RGB255Color(int red,
int green,
int blue)
Default Constructor.
|
RGB255Color(int red,
int green,
int blue,
double opacity)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
blue() |
IntegerProperty |
blueProperty() |
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
int |
green() |
IntegerProperty |
greenProperty() |
void |
parse(String[] parameters)
Parse a string to initialize fields.
|
int |
red() |
IntegerProperty |
redProperty() |
opacity, opacityPropertyactivateAutoRefresh, getKey, hasChanged, hasChanged, readBoolean, readDouble, readInteger, setKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivateAutoRefresh, getKey, hasChanged, hasChanged, setKeyprivate final IntegerProperty redProperty
private final IntegerProperty greenProperty
private final IntegerProperty blueProperty
public RGB255Color(int red,
int green,
int blue)
red - the red component [0-255]green - the green component [0-255]blue - the blue component [0-255]public RGB255Color(int red,
int green,
int blue,
double opacity)
red - the red component [0-255]green - the green component [0-255]blue - the blue component [0-255]opacity - the color opacity [0.0-1.0]public int red()
public IntegerProperty redProperty()
public int green()
public IntegerProperty greenProperty()
public int blue()
public IntegerProperty blueProperty()
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.