Skip navigation links

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

E13403-06


oracle.ide.palette2
Class PaletteSection

java.lang.Object
  extended by oracle.ide.palette2.PaletteSection

Direct Known Subclasses:
DefaultPaletteSection

public abstract class PaletteSection
extends java.lang.Object

Palette Section is the third level the Component Palette model and is the "child" of PaletteGroup. A Palette Section is a subgrouping within a PaletteGroup. Users view sections as separators (similar to menu separators) within a group. Items can be sorted within a section. If a section unnameed a separator is not displayed. A section is comprised of zero or more Palette Items.

See Also:
Palette, PalettePage, PaletteGroup, PaletteItem

Constructor Summary
PaletteSection()
           

 

Method Summary
abstract  java.lang.Object getData(java.lang.Object key)
          Get data
abstract  java.util.Collection<PaletteItem> getItems()
          Get Palette Itemss
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

PaletteSection

public PaletteSection()

Method Detail

getName

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

getItems

public abstract java.util.Collection<PaletteItem> getItems()
Get Palette Itemss
Returns:
unmodifiable collection of PaletteItem's

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.


Skip navigation links

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

E13403-06


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