com.virtuosotechnologies.lib.pane
Interface PaneContainer

All Known Subinterfaces:
PaneManager, PrefsWindowManager

public interface PaneContainer

A mixin interface to be extended by interfaces and APIs that can have panes plugged into them.


Field Summary
static ClassConstrainedKey INITIAL_PANE_LOCATION
          Property key for the requested initial position.
static ClassConstrainedKey INITIAL_PANE_MENUBAR
          Property key for the requested initial menu bar.
static ClassConstrainedKey INITIAL_PANE_SIZE
          Property key for the requested initial size.
static ClassConstrainedKey INITIAL_PANE_TITLE
          Property key for the requested initial title.
 
Method Summary
 PaneController addPane(JComponent pane, PropertySet initialProperties)
          Add a pane to this container.
 

Field Detail

INITIAL_PANE_TITLE

public static final ClassConstrainedKey INITIAL_PANE_TITLE
Property key for the requested initial title. Class is String.


INITIAL_PANE_SIZE

public static final ClassConstrainedKey INITIAL_PANE_SIZE
Property key for the requested initial size. Class is Size2D.


INITIAL_PANE_LOCATION

public static final ClassConstrainedKey INITIAL_PANE_LOCATION
Property key for the requested initial position. Class is Location2D.


INITIAL_PANE_MENUBAR

public static final ClassConstrainedKey INITIAL_PANE_MENUBAR
Property key for the requested initial menu bar. Class is CommandNode. If the CommandNode has container flavor, one menu is created. If the CommandNode has group flavor, multiple menus are created.

Method Detail

addPane

public PaneController addPane(JComponent pane,
                              PropertySet initialProperties)
Add a pane to this container. You must provide a JComponent for the pane, and you may optionally provide a set of initial properties for the pane. The properties are read once, and any subsequent changes made to the PropertySet do not affect the pane. To make further changes to the pane once it has been added, use the returned PaneController.

Parameters:
pane - the pane to register
initialProperties - requested initial properties for the pane. May be null.