org.pietschy.command.interceptor
Class DefaultGlassPaneHandler

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

public class DefaultGlassPaneHandler
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
DefaultGlassPaneHandler()
           
 
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.
 java.awt.Cursor getModalCursor()
           
 void setModalCursor(java.awt.Cursor cursor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGlassPaneHandler

public DefaultGlassPaneHandler()
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.

getModalCursor

public java.awt.Cursor getModalCursor()

setModalCursor

public void setModalCursor(java.awt.Cursor cursor)