Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.util
Class GhostPaletteUtil

java.lang.Object
  extended by oracle.ide.util.GhostPaletteUtil

public final class GhostPaletteUtil
extends java.lang.Object

Utilities for using GhostPalette in the IDE.


Method Summary
static void show(GhostPalette palette, java.lang.String key, javax.swing.JLayeredPane layeredPane, boolean fadeIn)
          Show a ghost palette at the same position as the last time it was shown, or using the default position if this is the first time the palette is being shown.
static void show(GhostPalette palette, java.lang.String key, javax.swing.JLayeredPane layeredPane, boolean fadeIn, int w, int h)
          Show a ghost palette with the same size and position as the last time it was shown, or using a default size and position if this is the first time the palette is being shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

show

public static void show(GhostPalette palette,
                        java.lang.String key,
                        javax.swing.JLayeredPane layeredPane,
                        boolean fadeIn)
Show a ghost palette at the same position as the last time it was shown, or using the default position if this is the first time the palette is being shown.

Parameters:
palette - the ghost palette
key - a unique key identifying this palette
layeredPane - the layered pane to show the palette in
fadeIn - whether to fade the palette in or show it immediately

show

public static void show(GhostPalette palette,
                        java.lang.String key,
                        javax.swing.JLayeredPane layeredPane,
                        boolean fadeIn,
                        int w,
                        int h)
Show a ghost palette with the same size and position as the last time it was shown, or using a default size and position if this is the first time the palette is being shown.

Parameters:
palette - the ghost palette
key - a unique key identifying this palette
layeredPane - the layered pane to show the palette in
fadeIn - whether to fade the palette in or show it immediately
w - the default width of the palette
h - the default height of the palette

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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