public interface Palette extends IChartObject
The following features are supported:
| 限定符和类型 | 方法和说明 |
|---|---|
Palette |
copyInstance() |
org.eclipse.emf.common.util.EList<Fill> |
getEntries()
Returns the value of the 'Entries' containment reference list.
|
java.lang.String |
getName()
Returns the value of the 'Name' attribute
|
void |
setName(java.lang.String value)
Sets the value of the '
Name' attribute |
void |
shift(int iStep)
Shifts the colors in palette with the steps.
|
void |
shift(int iStep,
int iSize)
Re-creates the palette colors with specified size and shifts the colors
in palette with the steps.
|
void |
update(Fill f)
This convenience method updates the content of a palette with a single color
NOTE: Manually written
|
void |
update(int iIndex)
已过时。
to use
shift(int) |
java.lang.String getName()
setName(String),
AttributePackage.getPalette_Name()void setName(java.lang.String value)
Name' attribute.
Sets the name for the palette. value - the new value of the 'Name' attribute.getName()org.eclipse.emf.common.util.EList<Fill> getEntries()
Fill. Gets the entries defined in the
palette.
Holds the entries contained in the palette.
AttributePackage.getPalette_Entries()void update(int iIndex)
shift(int)iIndex - shift(int)void update(Fill f)
f - void shift(int iStep)
iStep - moving steps to rotate the color. If the step is zero or the
absolute value is greater than the size of list, do nothing.
Negative value means moving to the left side, and positive
value is to the right side.void shift(int iStep,
int iSize)
iStep - moving steps to rotate the color. If the step is zero or the
absolute value is greater than the size of list, do nothing.
Negative value means moving to the left side, and positive
value is to the right side.iSize - the size of color library to createPalette copyInstance()
copyInstance 在接口中 IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.