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
Modifier and TypeMethodDescriptionintgetBlue()Returns the value of the 'Blue' attribute.intgetGreen()Returns the value of the 'Green' attribute.intgetRed()Returns the value of the 'Red' attribute.booleanReturns the value of the 'Auto Color' attribute.voidsetAutoColor(boolean value) Sets the value of the 'Auto Color' attribute.voidsetBlue(int value) Sets the value of the 'Blue' attribute.voidsetGreen(int value) Sets the value of the 'Green' attribute.voidsetRed(int value) Sets the value of the 'Red' attribute.org.eclipse.swt.graphics.RGBtoRGB()Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
isAutoColor
boolean isAutoColor()Returns the value of the 'Auto Color' attribute.- Returns:
- the value of the 'Auto Color' attribute.
- See Also:
-
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:
-
getRed
int getRed()Returns the value of the 'Red' attribute.- Returns:
- the value of the 'Red' attribute.
- See Also:
-
setRed
void setRed(int value) Sets the value of the 'Red' attribute.- Parameters:
value- the new value of the 'Red' attribute.- See Also:
-
getGreen
int getGreen()Returns the value of the 'Green' attribute.- Returns:
- the value of the 'Green' attribute.
- See Also:
-
setGreen
void setGreen(int value) Sets the value of the 'Green' attribute.- Parameters:
value- the new value of the 'Green' attribute.- See Also:
-
getBlue
int getBlue()Returns the value of the 'Blue' attribute.- Returns:
- the value of the 'Blue' attribute.
- See Also:
-
setBlue
void setBlue(int value) Sets the value of the 'Blue' attribute.- Parameters:
value- the new value of the 'Blue' attribute.- See Also:
-
toRGB
org.eclipse.swt.graphics.RGB toRGB()
-