Class ItemPalette

All Implemented Interfaces:
ComponentListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, RootPaneContainer, WindowConstants, BeanInterface, ModifiedFlag, WindowInterface

public class ItemPalette
extends DisplayFrame
implements ChangeListener
Container for adding items to Control Panels. Starting point for palette package.

Loads and stores icons used in Control Panel Editor panels. For background colors to work on a particular editor instance, select the 'Item Palette' item under 'Add Items' menu and configure the 'Backgrounds' tab ItemPalette for that editor. Otherwise any item can be dragged and dropped to any editor.

The icons are displayed on the background of the last editor to call the ItemPalette instance. In session the user can set it to another color or a white/gray squares pattern using the "View on:" combo. This choice is shared across tabs as a field on the DisplayFrame parent frame.

UML Class diagram

See Also:
Serialized Form