Package com.inductiveautomation.rm.swing
Class RMActivationAdapter
- java.lang.Object
- 
- com.inductiveautomation.rm.swing.RMActivationAdapter
 
- 
- All Implemented Interfaces:
- java.awt.event.AWTEventListener,- java.util.EventListener
 
 public class RMActivationAdapter extends java.lang.Object implements java.awt.event.AWTEventListenerAn AWTEventListener to listen for app activate/deactivate and modal dialog activate/deactivate to hide or show hide-on-deactivate windows and disable always-on-top for always-on-top windows.
- 
- 
Constructor SummaryConstructors Constructor Description RMActivationAdapter(java.awt.Window aWindow, boolean hideOnDeactivate)Creates a new activation adaptor for given window.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappActivated()Called when app activates.voidappDeactivated()Called when app deactivates.voideventDispatched(java.awt.AWTEvent anEvent)AWTEventListener method to catch window activated/deactivated and interpret as app/modal activate/deactivate.voidmodalActivated()Called when a modal window is activated.voidmodalDeactivated()Called when a modal window is deactivated.voidsetEnabled(boolean aValue)Sets the adapter to be installed or removed from toolkit.
 
- 
- 
- 
Method Detail- 
setEnabledpublic void setEnabled(boolean aValue) Sets the adapter to be installed or removed from toolkit.
 - 
eventDispatchedpublic void eventDispatched(java.awt.AWTEvent anEvent) AWTEventListener method to catch window activated/deactivated and interpret as app/modal activate/deactivate.- Specified by:
- eventDispatchedin interface- java.awt.event.AWTEventListener
 
 - 
appActivatedpublic void appActivated() Called when app activates.
 - 
appDeactivatedpublic void appDeactivated() Called when app deactivates.
 - 
modalActivatedpublic void modalActivated() Called when a modal window is activated.
 - 
modalDeactivatedpublic void modalDeactivated() Called when a modal window is deactivated.
 
- 
 
-