Package | Description |
---|---|
net.sf.cuf.model |
This package and its sub-packages contains a Java port of the "original" MVC Framework (Smalltalk ValueModel).
|
net.sf.cuf.model.converter |
This package contains various classes that can be used in a ValueModel chain as value converters.
|
net.sf.cuf.model.state |
This package contains a bridge between the ValueModel domain to the State/Stateadapter domain.
|
Modifier and Type | Class and Description |
---|---|
class |
AspectAdapter<T,S>
A AspectAdapter is a ValueModel that takes a part (=an aspect) of an
other object (called the source) as its value.
To detect changes of the aspect, the source must be the value of a ValueModel. |
class |
BufferedValueHolder<T>
A BufferedValueHolder is a ValueModel that buffers the value
of a value model.
The value model being bufferd is called subject, the value model triggering the write-back of the buffered value to the subject is called trigger. The value of the trigger must either be a Boolean, the String "true" or "false" or null. If the trigger value changes to false, we read the value from our subject, if it changes to true, we write the value to our subject and if it changes to null, we do nothing. We also support the notion of an external update. A BufferedValueHolder can also deep-copy it's subjects value if the value has a (working) copy constructor. |
class |
IndexedAdapter<T>
A IndexedAdapter is a ValueModel that takes an entry of
a List as its value.
A IndexedAdapter is simular to an AspectAdapter, it provides one item of a list as its own value. |
class |
LOVMapper
A LOVMapper is a value model that maps between a display list-of-values (LOV)
and their corresponding domain list-of-values.
|
class |
MultiSelectionInList<T>
A MultiSelectionInList holds both a list and a selection.
|
class |
PropertiesAdapter
PropertiesAdapter is a ValueModel that uses a Properties object
as its backing store.
|
class |
SelectionInList<T>
A SelectionInList holds both the data as well as the selection
as a ValueModel.
|
class |
UnmodifiableValueHolder<T>
A ValueHolder object holds a value (any Object) determined
by the constructor.
|
class |
ValueHolder<T>
A ValueHolder object holds a value (any Object).
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNumberStringConverter<T extends Number>
A base class for converters that take a Number as it's subject value and converting
it to an String as its own value.
|
class |
AbstractTypeConverter<OwnT,SubjectT>
The AbstractTypeConverter class provides common code for classes providing
the TypeConverter inferface.
|
class |
BigDecimalStringConverter
A BigDecimalStringConverter is taking a BigDecimal as it's subject value and converting
it to an String as its own value.
|
class |
Collection2ListConverter
Converts a
Collection to List using the default order of the
collection as provided by the iterator. |
class |
DoubleStringConverter
A DoubleStringConverter is taking a Double as it's subject value and converting
it to an String as its own value.
|
class |
FormatConverter<OwnT,SubjectT>
A FormatConverter uses the java.text.Format framework for doing
the type conversion.
|
class |
IntegerStringConverter
A IntegerStringConverter is taking an Long as it's subject value and converting
it to an String as its own value.
|
class |
ListFilterConverter<T>
|
class |
LongStringConverter
A LongStringConverter is taking an Long as it's subject value and converting
it to an String as its own value.
|
class |
RegExpConverter
A RegExpConverter uses a regular expression for a string-to-string conversion.
|
Modifier and Type | Class and Description |
---|---|
class |
StateValue
A StateValue object wraps a State object as a ValueModel.
|
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.