public class FwkActiveWindowListener extends FwkListener implements java.awt.event.WindowListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.awt.Component |
active |
protected java.awt.Component |
lastActive |
static java.lang.String |
version |
fwkListener
Modifier and Type | Method and Description |
---|---|
static FwkListener |
getInstance()
Gets the single instance of this Class.
|
static java.awt.Rectangle |
getPreferredRectangle(int x,
int y,
int width,
int height)
This method return the rectangle of a window.
|
java.awt.Rectangle |
getPreferredRectangleImpl(int x,
int y,
int width,
int height) |
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
void |
windowActivated(java.awt.event.WindowEvent ev)
Invoked when a window is activated.
|
void |
windowClosed(java.awt.event.WindowEvent ev)
Invoked when a window has been closed.
|
void |
windowClosing(java.awt.event.WindowEvent ev)
Invoked when a window is in the process of being closed.
|
void |
windowDeactivated(java.awt.event.WindowEvent ev)
Invoked when a window is de-activated.
|
void |
windowDeiconified(java.awt.event.WindowEvent ev)
Invoked when a window is de-iconified.
|
void |
windowIconified(java.awt.event.WindowEvent ev)
Invoked when a window is iconified.
|
void |
windowOpened(java.awt.event.WindowEvent ev)
Invoked when a window has been opened.
|
actionPerformed, actionPerformed, getSingelton, menuCanceled, menuDeselected, menuSelected
getPresentationString, getPresentationString
getNiceVersion, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPresentationString, getPresentationString
release
public static final java.lang.String version
protected java.awt.Component active
protected java.awt.Component lastActive
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkListener
public static FwkListener getInstance()
public static java.awt.Rectangle getPreferredRectangle(int x, int y, int width, int height)
x
- The x position of the rectangle, if -1 the routine will initiate the value.y
- The y position of the rectangle, if -1 the routine will initiate the value.width
- The width of the rectangle, if -1 the routine will initiate the value.height
- The height of the rectangle, if -1 the routine will initiate the value.public java.awt.Rectangle getPreferredRectangleImpl(int x, int y, int width, int height)
public void windowOpened(java.awt.event.WindowEvent ev)
windowOpened
in interface java.awt.event.WindowListener
public void windowClosing(java.awt.event.WindowEvent ev)
windowClosing
in interface java.awt.event.WindowListener
public void windowClosed(java.awt.event.WindowEvent ev)
windowClosed
in interface java.awt.event.WindowListener
public void windowIconified(java.awt.event.WindowEvent ev)
windowIconified
in interface java.awt.event.WindowListener
public void windowDeiconified(java.awt.event.WindowEvent ev)
windowDeiconified
in interface java.awt.event.WindowListener
public void windowActivated(java.awt.event.WindowEvent ev)
windowActivated
in interface java.awt.event.WindowListener
public void windowDeactivated(java.awt.event.WindowEvent ev)
windowDeactivated
in interface java.awt.event.WindowListener