Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.palette2
Class PalettePage

java.lang.Object
  extended by oracle.ide.palette2.PalettePage
Direct Known Subclasses:
DefaultPalettePage

public abstract class PalettePage
extends java.lang.Object

Palette Page is an abstract class and is the first level of the Component Palette model and a "child" of PalettePages.

PalettePage is the major application category grouping within the Palette. Users know PalettePage as a selection within the dropdown list at the top of the Component Palette UI. A PalettePage may have zero or more PaletteGroups.

See Also:
PalettePages, PaletteGroup

Constructor Summary
PalettePage()
           
 
Method Summary
abstract  java.lang.Object getData(java.lang.Object key)
          Get data
abstract  java.lang.String getDescription()
          Get description.
abstract  java.util.Collection<PaletteGroup> getGroups()
          Get all Palette Groups
abstract  javax.swing.Icon getIcon()
          Get Icon.
abstract  java.lang.String getName()
          Get display name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PalettePage

public PalettePage()
Method Detail

getGroups

public abstract java.util.Collection<PaletteGroup> getGroups()
Get all Palette Groups

Returns:
unmodifiable collection of paletteGroup's

getName

public abstract java.lang.String getName()
Get display name.

Returns:
display name.

getDescription

public abstract java.lang.String getDescription()
Get description.

Returns:
string.

getIcon

public abstract javax.swing.Icon getIcon()
Get Icon.

Returns:
icon.

getData

public abstract java.lang.Object getData(java.lang.Object key)
Get data

Use to surface arbitrary additional data. This is used to identify the item to their clients without requiring clients to cast to a PaletteItem subclass.

For example, in XMLEF, use getData to get from a PaletteItem back to the identification of what type of element to create (XmlKey). XMLEF's PaletteItem instances will have this data.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.