|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.palette2.PaletteItem
public abstract class PaletteItem
Palette Item is the leaf of the Component Palette model and is the "child" of PaletteSection. PaletteItem describes a component that is displayed within the Component Palette.
PaletteSection
Field Summary | |
---|---|
static java.awt.datatransfer.DataFlavor |
PALETTE_ITEM_FLAVOR
Drag and Drop DataFlavor representing a PaletteItem. |
Constructor Summary | |
---|---|
PaletteItem()
|
Method Summary | |
---|---|
abstract java.lang.Object |
getData(java.lang.Object key)
Get data |
abstract java.lang.String |
getDescription()
Get description. |
abstract java.lang.String |
getHelpable()
Get help link. |
abstract javax.swing.Icon |
getIcon()
Get Icon. |
abstract java.lang.String |
getItemId()
Get Item Id. |
abstract java.lang.String |
getName()
Get display name. |
abstract java.lang.String |
getProviderId()
Get Provider Id. |
abstract java.lang.String |
getSearchTextContext()
Get search text context callback name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.awt.datatransfer.DataFlavor PALETTE_ITEM_FLAVOR
Constructor Detail |
---|
public PaletteItem()
Method Detail |
---|
public abstract java.lang.String getName()
public abstract java.lang.String getDescription()
public abstract javax.swing.Icon getIcon()
public abstract java.lang.String getItemId()
Unique identifier for item within Palette.
public abstract java.lang.String getProviderId()
An identifier that is utilized to identify this item as belonging to the page provider that 'owns' this item. For example, oracle.ide.palette2.DeclaredPageProvider may own all statically declared items.
public abstract java.lang.String getSearchTextContext()
public abstract java.lang.String getHelpable()
public abstract java.lang.Object getData(java.lang.Object key)
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.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |