Package eu.europa.esig.dss.ws.dto
Class RemoteColor
java.lang.Object
eu.europa.esig.dss.ws.dto.RemoteColor
- All Implemented Interfaces:
Serializable
public class RemoteColor extends Object implements Serializable
DTO for a
Color
object- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RemoteColor()
The empty constructorRemoteColor(int red, int green, int blue)
The default constructor without alpha layerRemoteColor(Integer red, Integer green, Integer blue, Integer alpha)
The default constructor with alpha layer -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Integer
getAlpha()
Gets alpha layer valueInteger
getBlue()
Gets blue color valueInteger
getGreen()
Gets green color valueInteger
getRed()
Gets red color valueint
hashCode()
void
setAlpha(Integer alpha)
Sets alpha layer valuevoid
setBlue(Integer blue)
Sets blue color valuevoid
setGreen(Integer green)
Sets green color valuevoid
setRed(Integer red)
Sets red color valueString
toString()
-
Constructor Details
-
RemoteColor
public RemoteColor()The empty constructor -
RemoteColor
public RemoteColor(int red, int green, int blue)The default constructor without alpha layer- Parameters:
red
- R color valuegreen
- G color valueblue
- B color value
-
RemoteColor
The default constructor with alpha layer- Parameters:
red
- R color valuegreen
- G color valueblue
- B color valuealpha
- alpha layer value
-
-
Method Details
-
getRed
Gets red color value- Returns:
Integer
-
setRed
Sets red color value- Parameters:
red
-Integer
-
getGreen
Gets green color value- Returns:
Integer
-
setGreen
Sets green color value- Parameters:
green
-Integer
-
getBlue
Gets blue color value- Returns:
Integer
-
setBlue
Sets blue color value- Parameters:
blue
-Integer
-
getAlpha
Gets alpha layer value- Returns:
Integer
-
setAlpha
Sets alpha layer value- Parameters:
alpha
-Integer
-
hashCode
public int hashCode() -
equals
-
toString
-