Package com.inductiveautomation.rm.swing
Class RMActivationAdapter
java.lang.Object
com.inductiveautomation.rm.swing.RMActivationAdapter
- All Implemented Interfaces:
- AWTEventListener,- EventListener
An 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 SummaryConstructorsConstructorDescriptionRMActivationAdapter(Window aWindow, boolean hideOnDeactivate) Creates a new activation adaptor for given window.
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled when app activates.voidCalled when app deactivates.voideventDispatched(AWTEvent anEvent) AWTEventListener method to catch window activated/deactivated and interpret as app/modal activate/deactivate.voidCalled when a modal window is activated.voidCalled when a modal window is deactivated.voidsetEnabled(boolean aValue) Sets the adapter to be installed or removed from toolkit.
- 
Constructor Details- 
RMActivationAdapterCreates a new activation adaptor for given window.
 
- 
- 
Method Details- 
setEnabledpublic void setEnabled(boolean aValue) Sets the adapter to be installed or removed from toolkit.
- 
eventDispatchedAWTEventListener method to catch window activated/deactivated and interpret as app/modal activate/deactivate.- Specified by:
- eventDispatchedin interface- 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.
 
-