org.pietschy.command.interceptor

Class CustomComponentGlassPaneHandler

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(Component glasspane)

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.

Constructor Details

CustomComponentGlassPaneHandler

public CustomComponentGlassPaneHandler(Component glasspane)

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.