|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Gradient'. This type represents a two-color gradient.
The following features are supported:
AttributePackage.getGradient()
Method Summary | |
double |
getDirection()
Returns the value of the 'Direction' attribute. |
ColorDefinition |
getEndColor()
Returns the value of the 'End Color' containment reference. |
ColorDefinition |
getStartColor()
Returns the value of the 'Start Color' containment reference. |
int |
getTransparency()
Returns the value of the 'Transparency' attribute. |
boolean |
isCyclic()
Returns the value of the 'Cyclic' attribute. |
boolean |
isSetCyclic()
Returns whether the value of the ' Cyclic ' attribute is set. |
boolean |
isSetDirection()
Returns whether the value of the ' Direction ' attribute is set. |
boolean |
isSetTransparency()
Returns whether the value of the ' Transparency ' attribute is set. |
void |
setCyclic(boolean value)
Sets the value of the ' Cyclic ' attribute. |
void |
setDirection(double value)
Sets the value of the ' Direction ' attribute. |
void |
setEndColor(ColorDefinition value)
Sets the value of the ' End Color ' containment reference. |
void |
setStartColor(ColorDefinition value)
Sets the value of the ' Start Color ' containment reference. |
void |
setTransparency(int value)
Sets the value of the ' Transparency ' attribute. |
void |
unsetCyclic()
Unsets the value of the ' Cyclic ' attribute. |
void |
unsetDirection()
Unsets the value of the ' Direction ' attribute. |
void |
unsetTransparency()
Unsets the value of the ' Transparency ' attribute. |
Methods inherited from interface org.eclipse.birt.chart.model.attribute.Fill |
getType, isSetType, setType, unsetType |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public ColorDefinition getStartColor()
setStartColor(ColorDefinition)
,
AttributePackage.getGradient_StartColor()
public void setStartColor(ColorDefinition value)
Start Color
' containment reference.
Sets the start color of the gradient.
value
- the new value of the 'Start Color' containment reference.getStartColor()
public ColorDefinition getEndColor()
setEndColor(ColorDefinition)
,
AttributePackage.getGradient_EndColor()
public void setEndColor(ColorDefinition value)
End Color
' containment reference.
Sets the end color of the gradient.
value
- the new value of the 'End Color' containment reference.getEndColor()
public double getDirection()
isSetDirection()
,
unsetDirection()
,
setDirection(double)
,
AttributePackage.getGradient_Direction()
public void setDirection(double value)
Direction
' attribute.
Sets the angle of the gradient.
value
- the new value of the 'Direction' attribute.isSetDirection()
,
unsetDirection()
,
getDirection()
public void unsetDirection()
Direction
' attribute.
isSetDirection()
,
getDirection()
,
setDirection(double)
public boolean isSetDirection()
Direction
' attribute is set.
unsetDirection()
,
getDirection()
,
setDirection(double)
public boolean isCyclic()
isSetCyclic()
,
unsetCyclic()
,
setCyclic(boolean)
,
AttributePackage.getGradient_Cyclic()
public void setCyclic(boolean value)
Cyclic
' attribute.
value
- the new value of the 'Cyclic' attribute.isSetCyclic()
,
unsetCyclic()
,
isCyclic()
public void unsetCyclic()
Cyclic
' attribute.
isSetCyclic()
,
isCyclic()
,
setCyclic(boolean)
public boolean isSetCyclic()
Cyclic
' attribute is set.
unsetCyclic()
,
isCyclic()
,
setCyclic(boolean)
public int getTransparency()
isSetTransparency()
,
unsetTransparency()
,
setTransparency(int)
,
AttributePackage.getGradient_Transparency()
public void setTransparency(int value)
Transparency
' attribute. Sets the transparency for the gradient.
value
- the new value of the 'Transparency' attribute.isSetTransparency()
,
unsetTransparency()
,
getTransparency()
public void unsetTransparency()
Transparency
' attribute.
isSetTransparency()
,
getTransparency()
,
setTransparency(int)
public boolean isSetTransparency()
Transparency
' attribute is set.
unsetTransparency()
,
getTransparency()
,
setTransparency(int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |