public class Color extends Object
Java class for Color complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Color">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="red" use="required" type="{http://www.omg.org/spec/CMMN/20151109/DC}rgb" />
<attribute name="green" use="required" type="{http://www.omg.org/spec/CMMN/20151109/DC}rgb" />
<attribute name="blue" use="required" type="{http://www.omg.org/spec/CMMN/20151109/DC}rgb" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected int |
blue |
protected int |
green |
protected int |
red |
| Constructor and Description |
|---|
Color() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlue()
Gets the value of the blue property.
|
int |
getGreen()
Gets the value of the green property.
|
int |
getRed()
Gets the value of the red property.
|
void |
setBlue(int value)
Sets the value of the blue property.
|
void |
setGreen(int value)
Sets the value of the green property.
|
void |
setRed(int value)
Sets the value of the red property.
|
@XStreamAsAttribute protected int red
@XStreamAsAttribute protected int green
@XStreamAsAttribute protected int blue
public int getRed()
public void setRed(int value)
public int getGreen()
public void setGreen(int value)
public int getBlue()
public void setBlue(int value)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.