public class ClientNativeWindowManager extends AbstractMDIManager implements ClientContainerI, java.awt.event.HierarchyBoundsListener, java.awt.event.WindowListener
VIEWTYPE_FORMULAR, VIEWTYPE_LESEZEICHEN, VIEWTYPE_REPORT, VIEWTYPE_SCHABLONE, VIEWTYPE_UNKNOWN, VIEWTYPE_WIZARD| Constructor and Description |
|---|
ClientNativeWindowManager(ClientContextI ctx,
electric.xml.Element confroot) |
| Modifier and Type | Method and Description |
|---|---|
void |
_refresh() |
FormElementI |
activateViewForBO(BO _bo) |
FormElementI |
activateViewForBO(BO _bo,
boolean _alsoIfNew) |
void |
addMDIElement(de.ipcon.form.ClientNativeWindowManager.MDIElement mel) |
void |
addMiniComponent(javax.swing.JComponent _jc) |
void |
addVisualComponent(javax.swing.JComponent c,
java.lang.String position) |
void |
ancestorMoved(java.awt.event.HierarchyEvent he) |
void |
ancestorResized(java.awt.event.HierarchyEvent he) |
boolean |
canHandleMultipleViews() |
java.lang.String |
clientCloseVeto() |
void |
clientTitleChanged() |
void |
close() |
void |
closeView(FormContextI _ftx,
boolean noFocusChange) |
java.awt.Component |
getActiveFrameComponent() |
javax.swing.JComponent |
getContainerComponent() |
FormElementI |
getFormElement(BO _bo) |
FormElementI |
getFormElement(BO _bo,
boolean doFocus) |
FormElementI |
getFormElement(BO _bo,
boolean doFocus,
boolean _alsoIfNew) |
java.awt.Rectangle |
getInitialBounds()
Calculates the bounds and available size on the window the menu window is located and returns it.
|
java.awt.Component |
getLastActiveFrameComponent() |
MDIElementI |
getMDIElement(BO _bo)
Get the
MDIElementI which is associated with (and thus displays)
the given BO. |
MDIElementI |
getMDIElement(BO _bo,
boolean _alsoIfNew) |
MDIElementI |
getMDIElement(FormContextI _ftx) |
int |
getTaskbarHeight() |
electric.xml.Element |
getToolbarPluginElement() |
void |
handleToolBarE(electric.xml.Element el) |
void |
openView(FormContextI _ftx,
java.lang.String _title,
Struktur _form,
int viewType) |
void |
openView(FormContextI _ftx,
java.lang.String _title,
Struktur _form,
int viewType,
FormElementI owner) |
void |
openView(FormContextI _ftx,
java.lang.String _title,
Struktur _form,
int viewType,
java.awt.Rectangle forcedBounds) |
void |
openView(FormContextI _ftx,
java.lang.String _title,
Struktur _form,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize) |
void |
openView(FormContextI _ftx,
java.lang.String _title,
Struktur _form,
int viewType,
java.awt.Rectangle forcedBounds,
boolean maximize,
boolean centerOnForcedLocation) |
void |
openView(FormContextI ftx,
java.lang.String title,
Struktur form,
int viewType,
WindowPlacementStrategyI placement)
Creates a new Window and adds it to the list of created elements
|
void |
refresh() |
void |
refreshView(FormContextI ftx) |
void |
removeMDIElement(de.ipcon.form.ClientNativeWindowManager.MDIElement mel) |
void |
removeMiniComponent(javax.swing.JComponent _jc) |
void |
setCenterPanel(javax.swing.JComponent comp) |
boolean |
usesOSWindowManagement() |
void |
windowActivated(java.awt.event.WindowEvent e)
Invoked when the Window is set to be the active Window.
|
void |
windowClosed(java.awt.event.WindowEvent e)
Invoked when a window has been closed as the result of calling dispose on the window.
|
void |
windowClosing(java.awt.event.WindowEvent e)
Invoked when the user attempts to close the window from the window's system menu.
|
void |
windowDeactivated(java.awt.event.WindowEvent e)
Invoked when a Window is no longer the active Window.
|
void |
windowDeiconified(java.awt.event.WindowEvent e)
Invoked when a window is changed from a minimized to a normal state.
|
void |
windowIconified(java.awt.event.WindowEvent e)
Invoked when a window is changed from a normal to a minimized state.
|
void |
windowOpened(java.awt.event.WindowEvent e)
Invoked the first time a window is made visible.
|
addMDIListener, closeView, getEastPanel, getFormContextForFrame, getJComponent, getJMenu, getKnownFtxs, getName, getNorthBound, getNorthPanel, getSouthBound, getSouthPanel, getStrukturForFtx, getWestPanel, handleClassA, managerActivated, managerDeactivated, openView, openView, openView, postConfigure, postInit, registerAsPlugin, removeMDIListener, removeStrukturForFtx, setEastPanel, setJMenu, setName, setNorthPanel, setSouthPanel, setWestPanel, storeStrukturForFtxforcedClientDisconnectInitiated, forcedClientDisconnectStopped, localeChanged, refreshActions, refreshActions, reloadConfig, reregisterActions, serverConnectionEstablished, serverConnectionLost, serverConnectionRollingOver, serverIsShutdown, serverShutdownInitiated, serverShutdownStopped, updateServerHealthequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormContextForComponentforcedClientDisconnectInitiated, forcedClientDisconnectStopped, localeChanged, refreshActions, refreshActions, reloadConfig, reregisterActions, serverConnectionEstablished, serverConnectionLost, serverConnectionRollingOver, serverIsShutdown, serverShutdownInitiated, serverShutdownStopped, updateServerHealthpublic ClientNativeWindowManager(ClientContextI ctx, electric.xml.Element confroot)
public boolean usesOSWindowManagement()
usesOSWindowManagement in interface MDIManagerIusesOSWindowManagement in class AbstractMDIManagerpublic electric.xml.Element getToolbarPluginElement()
public void handleToolBarE(electric.xml.Element el)
public void addVisualComponent(javax.swing.JComponent c,
java.lang.String position)
addVisualComponent in interface ClientContainerIpublic void ancestorMoved(java.awt.event.HierarchyEvent he)
ancestorMoved in interface java.awt.event.HierarchyBoundsListenerpublic void ancestorResized(java.awt.event.HierarchyEvent he)
ancestorResized in interface java.awt.event.HierarchyBoundsListenerpublic void setCenterPanel(javax.swing.JComponent comp)
public void clientTitleChanged()
clientTitleChanged in interface MDIManagerIclientTitleChanged in class AbstractMDIManagerpublic boolean canHandleMultipleViews()
canHandleMultipleViews in interface MDIManagerIcanHandleMultipleViews in class AbstractMDIManagerpublic void openView(FormContextI ftx, java.lang.String title, Struktur form, int viewType, WindowPlacementStrategyI placement)
ftx - title - form - viewType - placement - the strategy for placing the new window on the screen(s).public void openView(FormContextI _ftx, java.lang.String _title, Struktur _form, int viewType)
openView in interface MDIManagerIopenView in class AbstractMDIManagerpublic void openView(FormContextI _ftx, java.lang.String _title, Struktur _form, int viewType, java.awt.Rectangle forcedBounds)
openView in interface MDIManagerIpublic void openView(FormContextI _ftx, java.lang.String _title, Struktur _form, int viewType, java.awt.Rectangle forcedBounds, boolean maximize)
openView in interface MDIManagerIpublic void openView(FormContextI _ftx, java.lang.String _title, Struktur _form, int viewType, java.awt.Rectangle forcedBounds, boolean maximize, boolean centerOnForcedLocation)
public void openView(FormContextI _ftx, java.lang.String _title, Struktur _form, int viewType, FormElementI owner)
openView in interface MDIManagerIpublic void addMDIElement(de.ipcon.form.ClientNativeWindowManager.MDIElement mel)
public void removeMDIElement(de.ipcon.form.ClientNativeWindowManager.MDIElement mel)
public void refresh()
public void _refresh()
public java.awt.Component getLastActiveFrameComponent()
getLastActiveFrameComponent in interface MDIManagerIpublic java.awt.Component getActiveFrameComponent()
getActiveFrameComponent in interface MDIManagerIpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerpublic java.lang.String clientCloseVeto()
clientCloseVeto in interface ClientPluginIclientCloseVeto in class AbstractClientPluginpublic void close()
close in interface ClientPluginIclose in interface MDIManagerIclose in class AbstractClientPluginpublic void closeView(FormContextI _ftx, boolean noFocusChange)
closeView in interface MDIManagerIcloseView in class AbstractMDIManagerpublic void refreshView(FormContextI ftx)
refreshView in interface MDIManagerIrefreshView in class AbstractMDIManagerpublic FormElementI getFormElement(BO _bo)
getFormElement in interface MDIManagerIgetFormElement in class AbstractMDIManagerpublic FormElementI getFormElement(BO _bo, boolean doFocus)
public FormElementI getFormElement(BO _bo, boolean doFocus, boolean _alsoIfNew)
public FormElementI activateViewForBO(BO _bo)
activateViewForBO in interface MDIManagerIactivateViewForBO in class AbstractMDIManagerpublic FormElementI activateViewForBO(BO _bo, boolean _alsoIfNew)
activateViewForBO in interface MDIManagerIactivateViewForBO in class AbstractMDIManagerpublic MDIElementI getMDIElement(FormContextI _ftx)
getMDIElement in interface MDIManagerIgetMDIElement in class AbstractMDIManagerpublic MDIElementI getMDIElement(BO _bo)
MDIElementI which is associated with (and thus displays)
the given BO. The _alsoIfNew can be used to configure how
new BOs should be handled. By default the method will always
return null for new BOs to avoid accidentally returning an
existing MDIElementI which is associated with a BO with
the same Id and class as the given BO but which is not
the requested BO nonetheless (can happen if two BOs of the
same class were created in two different Transactions and not yet
saved).getMDIElement in interface MDIManagerIgetMDIElement in class AbstractMDIManager_bo - the BO for which the associated MDIElementI is
wanted_alsoIfNew - if false (the default) always return null for new
BOs; otherwise returns (if one exists) the MDIElementI
associated with a BO instance with the same Id and
class as the given BOpublic MDIElementI getMDIElement(BO _bo, boolean _alsoIfNew)
getMDIElement in interface MDIManagerIgetMDIElement in class AbstractMDIManagerpublic void addMiniComponent(javax.swing.JComponent _jc)
addMiniComponent in interface MiniComponentContainerIaddMiniComponent in class AbstractMDIManagerpublic void removeMiniComponent(javax.swing.JComponent _jc)
removeMiniComponent in interface MiniComponentContainerIremoveMiniComponent in class AbstractMDIManagerpublic javax.swing.JComponent getContainerComponent()
getContainerComponent in interface MiniComponentContainerIgetContainerComponent in class AbstractMDIManagerpublic int getTaskbarHeight()
getTaskbarHeight in interface MDIManagerIgetTaskbarHeight in class AbstractMDIManagerpublic java.awt.Rectangle getInitialBounds()
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.