org.eclipse.birt.chart.model.attribute
Interface Palette

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
PaletteImpl

public interface Palette
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Palette'. This type represents a palette of Fills.

The following features are supported:

See Also:
AttributePackage.getPalette()

Method Summary
 org.eclipse.emf.common.util.EList 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 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
 
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

getName

public java.lang.String getName()
Returns the value of the 'Name' attribute. Specifies the name that uniquely identifies this palette.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), AttributePackage.getPalette_Name()

setName

public void setName(java.lang.String value)
Sets the value of the 'Name' attribute. Sets the name for the palette.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getEntries

public org.eclipse.emf.common.util.EList getEntries()
Returns the value of the 'Entries' containment reference list. The list contents are of type Fill. Gets the entries defined in the palette. Holds the entries contained in the palette.

Returns:
the value of the 'Entries' containment reference list.
See Also:
AttributePackage.getPalette_Entries()

update

public void update(int iIndex)
This convenience method updates the content of a palette with a library of colors NOTE: Manually written

Parameters:
iIndex -

update

public void update(Fill f)
This convenience method updates the content of a palette with a single color NOTE: Manually written

Parameters:
f -


Copyright © 2005 Actuate Corp. All rights reserved.