public class IltAWTUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
AddDebugListener(Frame frame,
Component component,
String name,
boolean showFocusOwner)
Arranges that all the events of type ComponentEvent, FocusEvent, KeyEvent,
MouseEvent (except mouse moved), WindowEvent are logged on standard output.
|
static void |
AddKeepFocusListener(Frame frame,
Component panel,
IlvManagerView view)
Arranges that a given view in a given frame keeps the focus as long as the
frame itself has the focus.
|
static void |
AddWindowCloseAppletListener(Window window)
Arranges that a WINDOW_CLOSING event on the window will destroy the window.
|
static void |
AddWindowCloseProgramListener(Window window)
Arranges that a WINDOW_CLOSING event on the window will destroy the window
and exit the program.
|
public static void AddWindowCloseAppletListener(Window window)
public static void AddWindowCloseProgramListener(Window window)
This function should not be called from within an applet.
public static void AddKeepFocusListener(Frame frame, Component panel, IlvManagerView view)
frame
- the framepanel
- the only panel displayed in the frameview
- the view contained in the panelpublic static void AddDebugListener(Frame frame, Component component, String name, boolean showFocusOwner)
frame
- the frame the component is contained incomponent
- the component whose events shall be loggedname
- a string used to prefix the log linesshowFocusOwner
- if true, the frame's focus owner will be displayed after every
event© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.