|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.worker.DefaultGlassPaneStrategy
public class DefaultGlassPaneStrategy
Default implementation of GlassPaneStrategy that simply activates a
transparent component, blocks mouse events and displays the standard wait cursor.
It is also possible to specify the actual glasspane component to use. In this case it's up to the user to specify the cursor and handle mouse events.
| Constructor Summary | |
|---|---|
DefaultGlassPaneStrategy()
Creates a new instance. |
|
DefaultGlassPaneStrategy(javax.swing.JComponent glassPane)
Creates a new instance that uses the specified glasspane component. |
|
| Method Summary | |
|---|---|
void |
activatePane(java.lang.Object source)
Activates the glasspane. |
void |
deactivatePane(java.lang.Object source)
Deactivates the glasspane. |
javax.swing.JComponent |
getGlassPane()
Gets the glasspane component this strategy is using. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultGlassPaneStrategy()
public DefaultGlassPaneStrategy(javax.swing.JComponent glassPane)
glassPane - the component to use as the glasspane.| Method Detail |
|---|
public javax.swing.JComponent getGlassPane()
public void activatePane(java.lang.Object source)
activatePane in interface GlassPaneStrategysource - the object that requested the activation.public void deactivatePane(java.lang.Object source)
deactivatePane in interface GlassPaneStrategysource - the object that previously activated the glasspane.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||