org.opa.core
Interface OPAWindowManager

All Superinterfaces:
OPAManager
All Known Implementing Classes:
OPADefaultWindowManager

public interface OPAWindowManager
extends OPAManager


Method Summary
 void addDisplayBuilder(OPADisplayBuilder builder)
          Adds an OPADisplayBuilder to the instance of OPAWindowManager.
 void dockPanel(java.lang.String opaPanelName, java.lang.String position)
          Docks an OPAPanel to the main application window.
 void showInternal(java.lang.String name, int positionX, int positionY, java.lang.Object[] obj, java.lang.String min, java.lang.String max)
          Shows the specified dialog type loaded with the panel specified by name, position, object and window minimized/maximized.
 void showInternal(java.lang.String name, java.lang.Object[] obj)
          Shows OPADialog with the specified name and object and sets the remaining parameters with default values
 void showInternalDialog(java.lang.String name, int positionX, int positionY, java.lang.Object[] obj, java.lang.String min, java.lang.String max)
          Shows the specified internal frame type loaded with the panel specified by name, position, object and window minimized/maximized.
 void showInternalDialog(java.lang.String name, java.lang.Object[] obj)
          Shows OPAInternalDialog with the specified name and object and sets remaining parameters with default values
 void signalClose(OPADefaultDialog dialog)
          Closes the OPADefaultDialog
 void signalClose(OPAInternalDialog dialog)
          Closes the OPAInternalDialog
 void signalClose(OPAPanel panel)
          Closes the OPAPanel
 
Methods inherited from interface org.opa.core.OPAManager
load, start, stop
 

Method Detail

showInternal

public void showInternal(java.lang.String name,
                         int positionX,
                         int positionY,
                         java.lang.Object[] obj,
                         java.lang.String min,
                         java.lang.String max)
Shows the specified dialog type loaded with the panel specified by name, position, object and window minimized/maximized. The name must match the name of the panel class file otherwise an error is returned.

Parameters:
name -
positionX - the X position from the window's origin
positionY - the Y position from the window's origin

showInternal

public void showInternal(java.lang.String name,
                         java.lang.Object[] obj)
Shows OPADialog with the specified name and object and sets the remaining parameters with default values

Parameters:
name - panel's name

showInternalDialog

public void showInternalDialog(java.lang.String name,
                               int positionX,
                               int positionY,
                               java.lang.Object[] obj,
                               java.lang.String min,
                               java.lang.String max)
Shows the specified internal frame type loaded with the panel specified by name, position, object and window minimized/maximized. The name must match the name of the panel class file otherwise an error is returned.

Parameters:
name -
positionX - the X position from the window's origin
positionY - the Y position from the window's origin

showInternalDialog

public void showInternalDialog(java.lang.String name,
                               java.lang.Object[] obj)
Shows OPAInternalDialog with the specified name and object and sets remaining parameters with default values

Parameters:
name - panel's name

signalClose

public void signalClose(OPAPanel panel)
Closes the OPAPanel

Parameters:
panel -

signalClose

public void signalClose(OPAInternalDialog dialog)
Closes the OPAInternalDialog


signalClose

public void signalClose(OPADefaultDialog dialog)
Closes the OPADefaultDialog


addDisplayBuilder

public void addDisplayBuilder(OPADisplayBuilder builder)
Adds an OPADisplayBuilder to the instance of OPAWindowManager. OPAWindowManager implementations would typically use it to create application menubar, toolbars and popupmenu. The OPADisplayBuilder should be loaded with OPAActionBundles BEFORE it is passed to OPAWindowManager. This is typically done by an implementation of OPAActionManager. OPAWindowManager implementations would most likely use the OPADisplayBuilder when start() is called. Therefore there is no obvious reason why this method would be used AFTER the OPAWindowManager has started.


dockPanel

public void dockPanel(java.lang.String opaPanelName,
                      java.lang.String position)
Docks an OPAPanel to the main application window. This is done using multiple Java Slide Pane. As each request is taken, the new OPAPanel is nested into the existing display.