org.pietschy.command.interceptor

Class DefaultGlassPaneHandler

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(RootPaneContainer rootPaneContainer)
Invoked by GlassPaneInterceptor to activate the glasspane and block user interation.
void
deactivateGlassPane(RootPaneContainer rootPaneContainer)
Invoked by GlassPaneInterceptor to deactivate the glasspane and allow user interation.
Cursor
getModalCursor()
void
setModalCursor(Cursor cursor)

Constructor Details

DefaultGlassPaneHandler

public DefaultGlassPaneHandler()

Method Details

activateGlassPane

public void activateGlassPane(RootPaneContainer rootPaneContainer)
Invoked by GlassPaneInterceptor to activate the glasspane and block user interation.
Specified by:
activateGlassPane in interface GlassPaneHandler
Parameters:
rootPaneContainer - the javax.swing.RootPaneContainer whose glass pane is to be activated.

deactivateGlassPane

public void deactivateGlassPane(RootPaneContainer rootPaneContainer)
Invoked by GlassPaneInterceptor to deactivate the glasspane and allow user interation.
Specified by:
deactivateGlassPane in interface GlassPaneHandler
Parameters:
rootPaneContainer - the javax.swing.RootPaneContainer whose glass pane is to be deactivated.

getModalCursor

public Cursor getModalCursor()

setModalCursor

public void setModalCursor(Cursor cursor)