public abstract class PalettePages
extends java.lang.Object
PalettePage
,
PalettePageProvider
,
PalettePagesListener
Constructor and Description |
---|
PalettePages() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addPalettePagesListener(PalettePagesListener listener)
Add a listener to listen for changes in Palette pages.
|
void |
dispose() |
boolean |
equals(java.lang.Object object) |
abstract PaletteItem |
getItem(java.lang.String providerId,
java.lang.String itemId)
Returns the PaletteItem identified by itemId.
|
abstract java.util.Collection<PalettePage> |
getPages()
Returns a collection of PalettePage's given the current context.
|
PalettePage |
getPreferredPage()
Returns the page that should be shown as the active page when the Palette
is first made visible for the current context.
|
float |
getPreferredPageRank()
Returns the rank of the preferred page.
|
int |
hashCode() |
abstract void |
removePalettePagesListener(PalettePagesListener listener)
Remove PalettePagesListener
|
public abstract java.util.Collection<PalettePage> getPages()
public abstract PaletteItem getItem(java.lang.String providerId, java.lang.String itemId)
The provider returns the matching PaletteItem only if the PaletteItem is within the current context. Null is returned if the PaletteItem is not within the current context or not recognized by this provider.
public abstract void addPalettePagesListener(PalettePagesListener listener)
public abstract void removePalettePagesListener(PalettePagesListener listener)
public PalettePage getPreferredPage()
public float getPreferredPageRank()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void dispose()