Interface PresentationColor
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
PresentationColorImpl
public interface PresentationColor extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Color'. Presentation color type.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getBlue()
Returns the value of the 'Blue' attribute.int
getGreen()
Returns the value of the 'Green' attribute.int
getRed()
Returns the value of the 'Red' attribute.boolean
isAutoColor()
Returns the value of the 'Auto Color' attribute.void
setAutoColor(boolean value)
Sets the value of the 'Auto Color
' attribute.void
setBlue(int value)
Sets the value of the 'Blue
' attribute.void
setGreen(int value)
Sets the value of the 'Green
' attribute.void
setRed(int value)
Sets the value of the 'Red
' attribute.org.eclipse.swt.graphics.RGB
toRGB()
-
-
-
Method Detail
-
isAutoColor
boolean isAutoColor()
Returns the value of the 'Auto Color' attribute.- Returns:
- the value of the 'Auto Color' attribute.
- See Also:
setAutoColor(boolean)
,PresentationPackage.getPresentationColor_AutoColor()
-
setAutoColor
void setAutoColor(boolean value)
Sets the value of the 'Auto Color
' attribute.- Parameters:
value
- the new value of the 'Auto Color' attribute.- See Also:
isAutoColor()
-
getRed
int getRed()
Returns the value of the 'Red' attribute.- Returns:
- the value of the 'Red' attribute.
- See Also:
setRed(int)
,PresentationPackage.getPresentationColor_Red()
-
setRed
void setRed(int value)
Sets the value of the 'Red
' attribute.- Parameters:
value
- the new value of the 'Red' attribute.- See Also:
getRed()
-
getGreen
int getGreen()
Returns the value of the 'Green' attribute.- Returns:
- the value of the 'Green' attribute.
- See Also:
setGreen(int)
,PresentationPackage.getPresentationColor_Green()
-
setGreen
void setGreen(int value)
Sets the value of the 'Green
' attribute.- Parameters:
value
- the new value of the 'Green' attribute.- See Also:
getGreen()
-
getBlue
int getBlue()
Returns the value of the 'Blue' attribute.- Returns:
- the value of the 'Blue' attribute.
- See Also:
setBlue(int)
,PresentationPackage.getPresentationColor_Blue()
-
setBlue
void setBlue(int value)
Sets the value of the 'Blue
' attribute.- Parameters:
value
- the new value of the 'Blue' attribute.- See Also:
getBlue()
-
toRGB
org.eclipse.swt.graphics.RGB toRGB()
-
-