public class SwingGlassPaneAdapter extends AbstractStateAdapter
| Constructor and Description | 
|---|
SwingGlassPaneAdapter()
Create a new adapter with no state associated. 
 | 
SwingGlassPaneAdapter(State pState)
Create a new adapter. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
adjustInitialState(Object pTarget,
                  boolean pEnabled)
Sets up the glass pane for the window. 
 | 
protected void | 
processStateChange(Object pTarget,
                  boolean pEnabled)
Enables or disables the glasspane depending on the state. 
 | 
add, add, addInvert, getConsistencyCategory, getName, remove, setName, setState, stateChangedpublic SwingGlassPaneAdapter()
public SwingGlassPaneAdapter(State pState)
pState - the state we adaptprotected void adjustInitialState(Object pTarget, boolean pEnabled)
adjustInitialState in class AbstractStateAdapterpTarget - target object, never nullpEnabled - true if the target object should get "enabled"protected void processStateChange(Object pTarget, boolean pEnabled)
processStateChange in class AbstractStateAdapterpTarget - target object, never nullpEnabled - true if the target object should get "enabled"Copyright © 2017 Jürgen Zeller (privat). All rights reserved.