org.pietschy.command.interceptor
Class CustomComponentGlassPaneHandler

java.lang.Object
  extended by org.pietschy.command.interceptor.CustomComponentGlassPaneHandler
All Implemented Interfaces:
GlassPaneHandler

public class CustomComponentGlassPaneHandler
extends java.lang.Object
implements GlassPaneHandler

DefaultGlassPaneHander is an implementation of GlassPaneHandler that simply displays the wait cursor and beeps when ever the user clicks.


Constructor Summary
CustomComponentGlassPaneHandler(java.awt.Component glasspane)
           
 
Method Summary
 void activateGlassPane(javax.swing.RootPaneContainer rootPaneContainer)
          Invoked by GlassPaneInterceptor to activate the glasspane and block user interation.
 void deactivateGlassPane(javax.swing.RootPaneContainer rootPaneContainer)
          Invoked by GlassPaneInterceptor to deactivate the glasspane and allow user interation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomComponentGlassPaneHandler

public CustomComponentGlassPaneHandler(java.awt.Component glasspane)
Method Detail

activateGlassPane

public void activateGlassPane(javax.swing.RootPaneContainer rootPaneContainer)
Description copied from interface: GlassPaneHandler
Invoked by GlassPaneInterceptor to activate the glasspane and block user interation.

Specified by:
activateGlassPane in interface GlassPaneHandler
Parameters:
rootPaneContainer - the RootPaneContainer whose glass pane is to be activated.

deactivateGlassPane

public void deactivateGlassPane(javax.swing.RootPaneContainer rootPaneContainer)
Description copied from interface: GlassPaneHandler
Invoked by GlassPaneInterceptor to deactivate the glasspane and allow user interation.

Specified by:
deactivateGlassPane in interface GlassPaneHandler
Parameters:
rootPaneContainer - the RootPaneContainer whose glass pane is to be deactivated.