Interface Swatch
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
UIColor
- All Known Implementing Classes:
SwatchImpl,UIColorImpl
The interface Swatch.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGets color 1.doubleGets color 2.doubleGets color 3.doubleGets color 4.intGets is process.intGets is visible.getName()Gets name.getSpace()Gets space.intgetUid()Gets uid.voidsetColor1(double color1) Sets color 1.voidsetColor2(double color2) Sets color 2.voidsetColor3(double color3) Sets color 3.voidsetColor4(double color4) Sets color 4.voidsetIsProcess(int isProcess) Sets is process.voidsetIsVisible(int isVisible) Sets is visible.voidSets name.voidSets space.voidsetUid(int uid) Sets uid.
-
Method Details
-
getName
String getName()Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name
-
getUid
int getUid()Gets uid.- Returns:
- the uid
-
setUid
void setUid(int uid) Sets uid.- Parameters:
uid- the uid
-
getSpace
String getSpace()Gets space.- Returns:
- the space
-
setSpace
Sets space.- Parameters:
space- the space
-
getIsProcess
int getIsProcess()Gets is process.- Returns:
- the is process
-
setIsProcess
void setIsProcess(int isProcess) Sets is process.- Parameters:
isProcess- the is process
-
getIsVisible
int getIsVisible()Gets is visible.- Returns:
- the is visible
-
setIsVisible
void setIsVisible(int isVisible) Sets is visible.- Parameters:
isVisible- the is visible
-
getColor1
double getColor1()Gets color 1.- Returns:
- the color 1
-
setColor1
void setColor1(double color1) Sets color 1.- Parameters:
color1- the color 1
-
getColor2
double getColor2()Gets color 2.- Returns:
- the color 2
-
setColor2
void setColor2(double color2) Sets color 2.- Parameters:
color2- the color 2
-
getColor3
double getColor3()Gets color 3.- Returns:
- the color 3
-
setColor3
void setColor3(double color3) Sets color 3.- Parameters:
color3- the color 3
-
getColor4
double getColor4()Gets color 4.- Returns:
- the color 4
-
setColor4
void setColor4(double color4) Sets color 4.- Parameters:
color4- the color 4
-