Package | Description |
---|---|
net.sf.cuf.debug |
The debug library provides various debugging utilities for CUF.
It is still in development and subject to change. |
net.sf.cuf.model.state |
This package contains a bridge between the ValueModel domain to the State/Stateadapter domain.
|
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.
|
Class and Description |
---|
State
The State interface describes a (more-or-less) binary state.
Whenever the state changes from not initialized to true/false, from false to true or from true to false, all attached change listeners are notified. If a state changes from either true or false to uninitialized, its listeners are not notified. The source in the ChangeEvent can always be casted to State. |
Class and Description |
---|
AbstractState
This class holds common code of mutable and immutable states.
|
MutableState
The MutableState interface describes a mutable (more-or-less) binary
state.
|
SimpleState
This class implements a MutableState and holds the necessary
state information inside the SimpleState object.
|
State
The State interface describes a (more-or-less) binary state.
Whenever the state changes from not initialized to true/false, from false to true or from true to false, all attached change listeners are notified. If a state changes from either true or false to uninitialized, its listeners are not notified. The source in the ChangeEvent can always be casted to State. |
Class and Description |
---|
AbstractState
This class holds common code of mutable and immutable states.
|
MutableState
The MutableState interface describes a mutable (more-or-less) binary
state.
|
State
The State interface describes a (more-or-less) binary state.
Whenever the state changes from not initialized to true/false, from false to true or from true to false, all attached change listeners are notified. If a state changes from either true or false to uninitialized, its listeners are not notified. The source in the ChangeEvent can always be casted to State. |
StateAdapter
The StateAdapter interface describes the observer of a State Object.
A StateAdapter monitors one (or none) state object, and notifies its target objects whenever the monitored state changes. A implementation class of the StateAdapter interfaces defines the semantics of what really happens if the monitored state changes, the StateAdapter interface describes only the protocol to setup/tear down the connections. |
StateExpression
The StateExpression interface allows to combine states to an
arbitrary complex logical state expression.
|
Class and Description |
---|
AbstractState
This class holds common code of mutable and immutable states.
|
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.
|
State
The State interface describes a (more-or-less) binary state.
Whenever the state changes from not initialized to true/false, from false to true or from true to false, all attached change listeners are notified. If a state changes from either true or false to uninitialized, its listeners are not notified. The source in the ChangeEvent can always be casted to State. |
StateAdapter
The StateAdapter interface describes the observer of a State Object.
A StateAdapter monitors one (or none) state object, and notifies its target objects whenever the monitored state changes. A implementation class of the StateAdapter interfaces defines the semantics of what really happens if the monitored state changes, the StateAdapter interface describes only the protocol to setup/tear down the connections. |
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.