org.pietschy.command.interceptor
Class DefaultGlassPaneHandler
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGlassPaneHandler
public DefaultGlassPaneHandler()
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)