public class PaletteImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Palette
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Method and Description |
|---|---|
Palette |
copyInstance()
A convenient method to get an instance copy.
|
static Palette |
create(Fill f)
A convenience method provided to create a palette with a single color
entry
NOTE: Manually written
|
static Palette |
create(int iIndex,
boolean bEmpty)
A convenience method provided to create an empty or pre-initialized
palette
NOTE: Manually written
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
org.eclipse.emf.common.util.EList<Fill> |
getEntries() |
java.lang.String |
getName() |
void |
setName(java.lang.String newName) |
void |
shift(int step)
Shifts the colors in palette with the steps.
|
void |
shift(int step,
int size)
Re-creates the palette colors with specified size and shifts the colors
in palette with the steps.
|
java.lang.String |
toString() |
void |
update(Fill f)
This convenience method updates the content of a palette with a single color
NOTE: Manually written
|
void |
update(int iIndex)
This convenience method updates the content of a palette with a library
of colors
NOTE: Manually written
|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic java.lang.String getName()
getName in interface PalettePalette.setName(String),
AttributePackage.getPalette_Name()public void setName(java.lang.String newName)
setName in interface PalettenewName - the new value of the 'Name' attribute.Palette.getName()public org.eclipse.emf.common.util.EList<Fill> getEntries()
getEntries in interface PaletteAttributePackage.getPalette_Entries()public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic static final Palette create(int iIndex, boolean bEmpty)
bEmpty - public static final Palette create(Fill f)
f - public final void update(int iIndex)
Paletteupdate in interface PalettePalette.shift(int)public final void update(Fill f)
Palettepublic void shift(int step)
Palettepublic void shift(int step,
int size)
Paletteshift in interface Palettestep - 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.size - the size of color library to createpublic Palette copyInstance()
copyInstance in interface PalettecopyInstance in interface IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.