| Package | Description | 
|---|---|
| net.sf.cuf.state | 
 
The State/StateAdapter library eases the management and reaction of binary states. 
It greatly reduces the code needed to keep the internal (logical) state of an application with its visual representation, e.g.  | 
| net.sf.cuf.state.ui | 
 
This package contains various State/StateAdapter implementing classes that are useful for Swing widgets. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractStateAdapter
This abstract implementation of StateAdapter handels all of the
 bookkeeping work and delegates the "real" work (adapting of a state
 change to a target object) to its subclasses. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
SwingBackgroundAdapter
A SwingBackgroundAdapter adapts the "enabled" state to setting the
 original background color of a JComponent, the "disabled" state is mapped
 to setting the background Color supplied in the adapter's constructor
 or in the setDisabledBackground method. 
 | 
class  | 
SwingBorderAdapter
A SwingBorderAdapter adapts the "enabled" state to setting the
 original Border of a JComponent, the "disabled" state is mapped
 to setting the border supplied in the adapter's constructor
 or in the setDisabledBorder method. 
 | 
class  | 
SwingEditableAdapter
A SwingEditableAdapter maps the enabeling/disabeling of the monitored state
 to the editable/nonEditable  of a JTextComponent. 
 | 
class  | 
SwingEnabledAdapter
A SwingEnabledAdapter maps the enabling/disabling of the monitored state
 to the enabling/disabling of a Component or Action. 
 | 
class  | 
SwingGlassPaneAdapter
The SwingGlassPaneAdapter maps the enabled/disabled of the observed state
 to the blocking/unblocking of a window using a glass pane. 
 | 
class  | 
SwingJTableEnabledAdapter
A SwingJTableEnabledAdapter maps the enabeling/disabeling of the
 monitored state to the enabeling/disabeling of a JTable. 
 | 
class  | 
SwingSelectedAdapter
A SwingSelectedAdapter maps the enabeling/disabeling of of the monitored
 state to the selection/unselection of a AbstractButton or DispatcherAction. 
 | 
class  | 
SwingVisibleAdapter
A SwingVisibleAdapter maps the enabeling/disabeling of the monitored state
 to the showing/hiding of a JComponent. 
 | 
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.