public class RMActivationAdapter
extends java.lang.Object
implements java.awt.event.AWTEventListener
Constructor and Description |
---|
RMActivationAdapter(java.awt.Window aWindow,
boolean hideOnDeactivate)
Creates a new activation adaptor for given window.
|
Modifier and Type | Method and Description |
---|---|
void |
appActivated()
Called when app activates.
|
void |
appDeactivated()
Called when app deactivates.
|
void |
eventDispatched(java.awt.AWTEvent anEvent)
AWTEventListener method to catch window activated/deactivated and interpret as app/modal activate/deactivate.
|
void |
modalActivated()
Called when a modal window is activated.
|
void |
modalDeactivated()
Called when a modal window is deactivated.
|
void |
setEnabled(boolean aValue)
Sets the adapter to be installed or removed from toolkit.
|
public RMActivationAdapter(java.awt.Window aWindow, boolean hideOnDeactivate)
public void setEnabled(boolean aValue)
public void eventDispatched(java.awt.AWTEvent anEvent)
eventDispatched
in interface java.awt.event.AWTEventListener
public void appActivated()
public void appDeactivated()
public void modalActivated()
public void modalDeactivated()