Package | Description |
---|---|
com.jgoodies.binding |
Contains utilities and the PresentationModel that combines
many of the Binding features
|
com.jgoodies.binding.adapter |
Contains adapters that convert
ValueModel s
to Swing model interfaces. |
com.jgoodies.binding.beans |
Contains classes to model and work with Java Beans and
Java Bean properties.
|
com.jgoodies.binding.binder | |
com.jgoodies.binding.extras |
Contains optional classes that ship only with the source distribution.
|
com.jgoodies.binding.internal | |
com.jgoodies.binding.list |
Contains classes that operate on, hold and observe lists and list models.
|
com.jgoodies.binding.util |
Contains binding utility classes
|
com.jgoodies.binding.value |
Contains the
ValueModel
interface and hierarchy. |
Modifier and Type | Method and Description |
---|---|
ValueModel |
PresentationModel.getBeanChannel()
Returns the ValueModel that holds the bean that in turn holds
the adapted properties.
|
ValueModel |
PresentationModel.getTriggerChannel()
Returns a ValueModel that can be shared and used to trigger commit
and flush events in BufferedValueModels.
|
Modifier and Type | Method and Description |
---|---|
protected BeanAdapter<B> |
PresentationModel.createBeanAdapter(ValueModel beanChannel)
Creates and returns a BeanAdapter for the given bean channel.
|
void |
PresentationModel.observeChanged(ValueModel valueModel)
Observes value changes in the given ValueModel.
|
void |
PresentationModel.retractInterestFor(ValueModel valueModel)
Retracts interest for value changes in the given ValueModel.
|
void |
PresentationModel.setTriggerChannel(ValueModel newTriggerChannel)
Sets the given ValueModel as this model's new trigger channel.
|
Constructor and Description |
---|
PresentationModel(B bean,
ValueModel triggerChannel)
Constructs a PresentationModel on the given bean using the given
trigger channel.
|
PresentationModel(ValueModel beanChannel)
Constructs a PresentationModel on the given bean channel.
|
PresentationModel(ValueModel beanChannel,
ValueModel triggerChannel)
Constructs a PresentationModel on the given bean channel using the given
trigger channel.
|
Modifier and Type | Class and Description |
---|---|
class |
PreferencesAdapter
A ValueModel implementation that reads and writes values from/to a key
of a given
Preferences node under a specified key. |
Modifier and Type | Method and Description |
---|---|
static void |
Bindings.addComponentPropertyHandler(JComponent component,
ValueModel valueModel)
If the given model is a ComponentValueModel, a component property handler
is registered with this model.
|
static void |
Bindings.bind(AbstractButton toggleButton,
ValueModel valueModel)
Binds a JToggleButton to the given ValueModel in check box style.
|
static void |
Bindings.bind(AbstractButton toggleButton,
ValueModel model,
Object choice)
Binds a JToggleButton to the given ValueModel in radio button style.
|
static void |
Bindings.bind(AbstractButton toggleButton,
ValueModel valueModel,
Object selectedValue,
Object deselectedValue)
Binds a JToggleButton to the given ValueModel in check box style.
|
static void |
Bindings.bind(JColorChooser colorChooser,
ValueModel valueModel)
Binds a JColorChooser to the given Color-typed ValueModel.
|
static void |
Bindings.bind(JColorChooser colorChooser,
ValueModel valueModel,
Color defaultColor)
Binds a JColorChooser to the given Color-typed ValueModel.
|
static void |
Bindings.bind(JComponent component,
String propertyName,
ValueModel valueModel)
Binds the specified property of the given JComponent to the specified
ValueModel.
|
static void |
Bindings.bind(JFormattedTextField textField,
ValueModel valueModel)
Binds the given JFormattedTextField to the specified ValueModel.
|
static void |
Bindings.bind(JLabel label,
ValueModel valueModel)
Binds the given JLabel to the specified ValueModel.
|
static void |
Bindings.bind(JTextArea textArea,
ValueModel valueModel)
Binds a text area to the given ValueModel.
|
static void |
Bindings.bind(JTextArea textArea,
ValueModel valueModel,
boolean commitOnFocusLost)
Binds a text area to the given ValueModel.
|
static void |
Bindings.bind(JTextField textField,
ValueModel valueModel)
Bind a text fields or password field to the given ValueModel.
|
static void |
Bindings.bind(JTextField textField,
ValueModel valueModel,
boolean commitOnFocusLost)
Binds a text field or password field to the given ValueModel.
|
static void |
SpinnerToValueModelConnector.connect(SpinnerModel spinnerModel,
ValueModel valueModel,
Object defaultValue)
Establishes a synchronization between the SpinnerModel and ValueModel.
|
static void |
SpinnerAdapterFactory.connect(SpinnerModel spinnerModel,
ValueModel valueModel,
Object defaultValue)
Connects the given ValueModel and SpinnerModel
by synchronizing their values.
|
static void |
TextComponentConnector.connect(ValueModel subject,
JTextArea textArea)
Establishes a synchronization between the specified String-typed
subject ValueModel and the given text area.
|
static void |
TextComponentConnector.connect(ValueModel subject,
JTextField textField)
Establishes a synchronization between the specified String-typed
subject ValueModel and the given text field.
|
static JCheckBox |
BasicComponentFactory.createCheckBox(ValueModel valueModel,
String markedText)
Deprecated.
Creates and returns a check box with the specified text label
that is bound to the given ValueModel.
|
static JColorChooser |
BasicComponentFactory.createColorChooser(ValueModel valueModel)
Deprecated.
Creates and returns a JColorChooser that has the color selection bound
to the given ValueModel.
|
static JColorChooser |
BasicComponentFactory.createColorChooser(ValueModel valueModel,
Color defaultColor)
Deprecated.
Creates and returns a JColorChooser that has the color selection bound
to the given ValueModel.
|
static SpinnerDateModel |
SpinnerAdapterFactory.createDateAdapter(ValueModel valueModel,
Date defaultDate)
Creates and returns a
SpinnerDateModel bound to the given
valueModel . |
static SpinnerDateModel |
SpinnerAdapterFactory.createDateAdapter(ValueModel valueModel,
Date defaultDate,
Comparable<Date> start,
Comparable<Date> end,
int calendarField)
Creates and returns a
SpinnerDateModel that represents a sequence
of dates and is bound to the given valueModel . |
static JFormattedTextField |
BasicComponentFactory.createDateField(ValueModel valueModel)
Deprecated.
Creates and returns a formatted text field that is bound
to the Date value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createFormattedTextField(ValueModel valueModel,
Format format)
Deprecated.
Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
the given Format.
|
static JFormattedTextField |
BasicComponentFactory.createFormattedTextField(ValueModel valueModel,
JFormattedTextField.AbstractFormatter formatter)
Deprecated.
Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
the given Formatter.
|
static JFormattedTextField |
BasicComponentFactory.createFormattedTextField(ValueModel valueModel,
JFormattedTextField.AbstractFormatterFactory formatterFactory)
Deprecated.
Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
Formatters provided by the given AbstractFormatterFactory.
|
static JFormattedTextField |
BasicComponentFactory.createFormattedTextField(ValueModel valueModel,
String mask)
Deprecated.
Creates and returns a formatted text field that binds its value
to the given model and converts Strings to values using
a MaskFormatter that is based on the given mask.
|
static JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel)
Deprecated.
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel,
int emptyNumber)
Deprecated.
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel,
NumberFormat numberFormat)
Deprecated.
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel,
NumberFormat numberFormat,
int emptyNumber)
Deprecated.
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel,
NumberFormat numberFormat,
Integer emptyNumber)
Deprecated.
Creates and returns a formatted text field that is bound
to the Integer value of the given ValueModel.
|
static JLabel |
BasicComponentFactory.createLabel(ValueModel valueModel)
Deprecated.
Creates and returns a text label that is bound to the given ValueModel.
|
static JLabel |
BasicComponentFactory.createLabel(ValueModel valueModel,
Format format)
Deprecated.
Creates and returns a text label that is bound to the
given ValueModel that is wrapped by a
StringConverter . |
static JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel)
Deprecated.
Creates and returns a formatted text field that is bound
to the Long value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel,
long emptyNumber)
Deprecated.
Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel,
NumberFormat numberFormat)
Deprecated.
Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel,
NumberFormat numberFormat,
long emptyNumber)
Deprecated.
Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel.
|
static JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel,
NumberFormat numberFormat,
Long emptyNumber)
Deprecated.
Creates and returns a formatted text field that is bound to the
Long value of the given ValueModel.
|
static SpinnerNumberModel |
SpinnerAdapterFactory.createNumberAdapter(ValueModel valueModel,
int defaultValue,
int minValue,
int maxValue,
int stepSize)
Creates and returns a
SpinnerNumberModel that is connected to
the given ValueModel and that honors the specified minimum,
maximum and step values. |
static SpinnerNumberModel |
SpinnerAdapterFactory.createNumberAdapter(ValueModel valueModel,
Number defaultValue,
Comparable<? extends Number> minValue,
Comparable<? extends Number> maxValue,
Number stepSize)
Creates and returns a
SpinnerNumberModel that is connected to
the given ValueModel and that honors the specified minimum,
maximum and step values. |
static JPasswordField |
BasicComponentFactory.createPasswordField(ValueModel valueModel)
Deprecated.
Creates and returns a JPasswordField with the content bound
to the given ValueModel.
|
static JPasswordField |
BasicComponentFactory.createPasswordField(ValueModel valueModel,
boolean commitOnFocusLost)
Deprecated.
Creates and returns a JPasswordField with the content bound
to the given ValueModel.
|
static JRadioButton |
BasicComponentFactory.createRadioButton(ValueModel model,
Object choice,
String markedText)
Deprecated.
Creates and returns a radio button with the specified text label
that is bound to the given ValueModel.
|
static JTextArea |
BasicComponentFactory.createTextArea(ValueModel valueModel)
Deprecated.
Creates and returns a text area with the content bound to the given
ValueModel.
|
static JTextArea |
BasicComponentFactory.createTextArea(ValueModel valueModel,
boolean commitOnFocusLost)
Deprecated.
Creates and returns a text area with the content bound to the given
ValueModel.
|
static JTextField |
BasicComponentFactory.createTextField(ValueModel valueModel)
Deprecated.
Creates and returns a text field with the content bound
to the given ValueModel.
|
static JTextField |
BasicComponentFactory.createTextField(ValueModel valueModel,
boolean commitOnFocusLost)
Deprecated.
Creates and returns a text field with the content bound
to the given ValueModel.
|
Constructor and Description |
---|
BoundedRangeAdapter(ValueModel subject,
int extent,
int min,
int max)
Constructs a BoundedRangeAdapter on the given subject
using the specified extend, minimum and maximum values.
|
ColorSelectionAdapter(ValueModel subject)
Constructs a ColorSelectionAdapter on the given subject ValueModel.
|
ColorSelectionAdapter(ValueModel subject,
Color defaultColor)
Constructs a ColorSelectionAdapter on the given subject ValueModel.
|
ComboBoxAdapter(E[] items,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the specified List of items and the
given selection holder.
|
ComboBoxAdapter(List<E> items,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the specified List of items
and the given selection holder.
|
ComboBoxAdapter(ListModel listModel,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the given ListModel and selection
holder.
|
RadioButtonAdapter(ValueModel subject,
Object choice)
Constructs a RadioButtonAdapter on the given subject ValueModel
for the specified choice.
|
SingleListSelectionAdapter(ValueModel selectionIndexHolder)
Constructs a
SingleListSelectionAdapter with
the given selection index holder. |
SpinnerToValueModelConnector(SpinnerModel spinnerModel,
ValueModel valueModel,
Object defaultValue)
Constructs a SpinnerToValueModelConnector that establishes a
Synchronization between the SpinnerModel and ValueModel.
|
TextComponentConnector(ValueModel subject,
JTextArea textArea)
Constructs a TextComponentConnector that connects the specified
String-typed subject ValueModel with the given text area.
|
TextComponentConnector(ValueModel subject,
JTextField textField)
Constructs a TextComponentConnector that connects the specified
String-typed subject ValueModel with the given text field.
|
ToggleButtonAdapter(ValueModel subject)
Constructs a ToggleButtonAdapter on the given subject ValueModel.
|
ToggleButtonAdapter(ValueModel subject,
Object selectedValue,
Object deselectedValue)
Constructs a ToggleButtonAdapter on the given subject ValueModel
using the specified values for the selected and deselected state.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanAdapter.SimplePropertyAdapter
Implements the access to the individual bean properties.
|
class |
PropertyAdapter<B>
Converts a single Java Bean property into the generic ValueModel interface.
|
Modifier and Type | Method and Description |
---|---|
ValueModel |
BeanAdapter.getBeanChannel()
Returns the ValueModel that holds the bean that in turn holds
the adapted properties.
|
Modifier and Type | Method and Description |
---|---|
static void |
PropertyConnector.connectAndUpdate(ValueModel valueModel,
Object bean2,
String property2Name)
Synchronizes the ValueModel with the specified bound bean property,
and updates the bean immediately.
|
Constructor and Description |
---|
BeanAdapter(ValueModel beanChannel)
Constructs a BeanAdapter for the given bean channel;
does not observe changes.
|
BeanAdapter(ValueModel beanChannel,
boolean observeChanges)
Constructs a BeanAdapter for the given bean channel;
observes changes if specified.
|
IndirectPropertyChangeSupport(ValueModel beanChannel)
Constructs an IndirectPropertyChangeSupport using the given bean channel.
|
PropertyAdapter(ValueModel beanChannel,
String propertyName)
Constructs a
PropertyAdapter for the given
bean channel and property name; does not observe changes. |
PropertyAdapter(ValueModel beanChannel,
String propertyName,
boolean observeChanges)
Constructs a
PropertyAdapter for the given
bean channel and property name; observes changes if specified. |
PropertyAdapter(ValueModel beanChannel,
String propertyName,
String getterName,
String setterName)
Constructs a
PropertyAdapter for the given bean channel,
property name, getter and setter name; does not observe changes. |
PropertyAdapter(ValueModel beanChannel,
String propertyName,
String getterName,
String setterName,
boolean observeChanges)
Constructs a
PropertyAdapter for the given bean channel,
property name, getter and setter name; observes changes if specified. |
Modifier and Type | Method and Description |
---|---|
protected ValueModel |
ValueModelBindingBuilderImpl.getValueModel() |
Modifier and Type | Method and Description |
---|---|
ValueModelBindingBuilder |
ObjectBinderImpl.bind(ValueModel valueModel) |
ValueModelBindingBuilder |
ObjectBinder.bind(ValueModel valueModel)
Creates and returns a binding builder that manages a ValueModel
that can be operated on and that can be bound to a component.
|
Constructor and Description |
---|
ValueModelBindingBuilderImpl(ValueModel valueModel)
Creates a ValueModelBindingBuilderImpl for the given ValueModel.
|
ValueModelBindingBuilderImpl(ValueModel valueModel,
String propertyName)
Creates a ValueModelBindingBuilderImpl for the given ValueModel
using the given bean property name.
|
Modifier and Type | Class and Description |
---|---|
class |
DelayedWriteValueModel
A ValueModel that defers write-access for a specified delay.
|
class |
NonNullValueModel
A
ValueModel implementation that avoids null values. |
Constructor and Description |
---|
DelayedWriteValueModel(ValueModel subject,
int delay)
Constructs a DelayedWriteValueModel for the given subject ValueModel
and the specified Timer delay in milliseconds with coalescing disabled.
|
DelayedWriteValueModel(ValueModel subject,
int delay,
boolean coalesce)
Constructs a DelayedWriteValueModel for the given subject ValueModel
and the specified Timer delay in milliseconds with coalescing disabled.
|
NonNullValueModel(ValueModel subject,
Object defaultValue)
Constructs an NonNullValueModel for the given ValueModel.
|
Modifier and Type | Method and Description |
---|---|
ValueModel |
IPresentationModel.getComponentModel(String propertyName) |
Modifier and Type | Class and Description |
---|---|
class |
SelectionInList<E>
Represents a selection in a list of objects.
|
Modifier and Type | Method and Description |
---|---|
ValueModel |
IndirectListModel.getListHolder()
Returns the model that holds the List/ListModel.
|
ValueModel |
SelectionInList.getSelectionHolder()
Returns the selection holder.
|
ValueModel |
SelectionInList.getSelectionIndexHolder()
Returns the selection index holder.
|
Modifier and Type | Method and Description |
---|---|
void |
IndirectListModel.setListHolder(ValueModel newListHolder)
Sets a new list holder.
|
void |
SelectionInList.setSelectionHolder(ValueModel newSelectionHolder)
Sets a new selection holder.
|
void |
SelectionInList.setSelectionIndexHolder(ValueModel newSelectionIndexHolder)
Sets a new selection index holder.
|
Constructor and Description |
---|
IndirectListModel(ValueModel listHolder)
Constructs an IndirectListModel on the given list holder.
|
SelectionInList(E[] listItems,
ValueModel selectionHolder)
Constructs a SelectionInList on the given item array and
selection holder using a default selection index holder.
|
SelectionInList(E[] listItems,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given item array and
selection holder using a default selection index holder.
|
SelectionInList(List<E> list,
ValueModel selectionHolder)
Constructs a SelectionInList on the given list and
selection holder using a default selection index holder.
|
SelectionInList(List<E> list,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given list,
selection holder, and selection index holder.
|
SelectionInList(ListModel listModel,
ValueModel selectionHolder)
Constructs a SelectionInList on the given list model
and selection holder using a default selection index holder.
|
SelectionInList(ListModel listModel,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given list model,
selection holder, and selection index holder.
|
SelectionInList(ValueModel listHolder)
Constructs a SelectionInList on the given list holder
using defaults for the selection holder and selection index holder.
|
SelectionInList(ValueModel listHolder,
ValueModel selectionHolder)
Constructs a SelectionInList on the given list holder,
selection holder and selection index holder.
|
SelectionInList(ValueModel listHolder,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given list holder,
selection holder and selection index holder.
|
Modifier and Type | Method and Description |
---|---|
void |
ChangeTracker.observe(ValueModel valueModel)
Observes value changes in the given ValueModel.
|
void |
ChangeTracker.retractInterestFor(ValueModel valueModel)
Retracts interest for value changes in the given ValueModel.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ComponentValueModel
Adds bound properties for the frequently used JComponent state
enabled,visible and JTextComponent state editable
to the ValueModel interface.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractValueModel
An abstract class that minimizes the effort required to implement
the
ValueModel interface. |
class |
AbstractVetoableValueModel
A ValueModel that allows to accept or reject proposed value changes.
|
class |
AbstractWrappedValueModel
An abstract wrapper for ValueModels that provides ComponentModel features.
|
class |
BufferedValueModel
A ValueModel that wraps another ValueModel, the subject,
and delays changes of the subject's value.
|
class |
ConverterValueModel
A ValueModel that converts the values of a wrapped ValueModel.
|
class |
DefaultComponentValueModel
A ValueModel that provides relevant GUI state in presentation models.
|
class |
DelayedReadValueModel
A ValueModel that deferres updates and read-access for a specified delay.
|
class |
Trigger
A ValueModel implementation that is intended to be used as trigger channel
for instances of BufferedValueModel.
|
class |
ValueHolder
A simple
ValueModel implementation
that holds a generic value. |
Modifier and Type | Method and Description |
---|---|
static ValueModel |
ConverterFactory.createBooleanNegator(ValueModel booleanSource)
Creates and returns a ValueModel that negates Booleans and leaves
null unchanged. |
static ValueModel |
ConverterFactory.createBooleanToStringConverter(ValueModel booleanSubject,
String trueText,
String falseText)
Creates and returns a ValueModel that converts Booleans
to the associated of the two specified strings, and vice versa.
|
static ValueModel |
ConverterFactory.createBooleanToStringConverter(ValueModel booleanSource,
String trueText,
String falseText,
String nullText)
Creates and returns a ValueModel that converts Booleans
to the associated of the two specified strings, and vice versa.
|
static ValueModel |
ConverterFactory.createDoubleConverter(ValueModel doubleSource,
double multiplier)
Creates and returns a ValueModel that converts Doubles using the
specified multiplier.
|
static ValueModel |
ConverterFactory.createDoubleToIntegerConverter(ValueModel doubleSource)
Creates and returns a ValueModel that converts Doubles to Integer,
and vice versa.
|
static ValueModel |
ConverterFactory.createDoubleToIntegerConverter(ValueModel doubleSource,
int multiplier)
Creates and returns a ValueModel that converts Doubles to Integer,
and vice versa.
|
static ValueModel |
ConverterFactory.createFloatConverter(ValueModel floatSource,
float multiplier)
Creates and returns a ValueModel that converts Floats using the
specified multiplier.
|
static ValueModel |
ConverterFactory.createFloatToIntegerConverter(ValueModel floatSource)
Creates and returns a ValueModel that converts Floats to Integer,
and vice versa.
|
static ValueModel |
ConverterFactory.createFloatToIntegerConverter(ValueModel floatSource,
int multiplier)
Creates and returns a ValueModel that converts Floats to Integer,
and vice versa.
|
static ValueModel |
ConverterFactory.createIntegerConverter(ValueModel integerSource,
double multiplier)
Creates and returns a ValueModel that converts Integers using the
specified multiplier.
|
static ValueModel |
ConverterFactory.createLongConverter(ValueModel longSource,
double multiplier)
Creates and returns a ValueModel that converts Long using the
specified multiplier.
|
static ValueModel |
ConverterFactory.createLongToIntegerConverter(ValueModel longSubject)
Creates and returns a ValueModel that converts Longs to Integer
and vice versa.
|
static ValueModel |
ConverterFactory.createLongToIntegerConverter(ValueModel longSource,
int multiplier)
Creates and returns a ValueModel that converts Longs to Integer
and vice versa.
|
static ValueModel |
ConverterFactory.createStringConverter(ValueModel source,
Format format)
Creates and returns a ValueModel that converts objects to Strings
and vice versa.
|
ValueModel |
BufferedValueModel.getSubject()
Returns the subject, i.e. the underlying ValueModel that provides
the unbuffered value.
|
ValueModel |
BufferedValueModel.getTriggerChannel()
Returns the ValueModel that is used to trigger commit and flush events.
|
protected ValueModel |
AbstractWrappedValueModel.getWrappee() |
Modifier and Type | Method and Description |
---|---|
static ValueModel |
ConverterFactory.createBooleanNegator(ValueModel booleanSource)
Creates and returns a ValueModel that negates Booleans and leaves
null unchanged. |
static ValueModel |
ConverterFactory.createBooleanToStringConverter(ValueModel booleanSubject,
String trueText,
String falseText)
Creates and returns a ValueModel that converts Booleans
to the associated of the two specified strings, and vice versa.
|
static ValueModel |
ConverterFactory.createBooleanToStringConverter(ValueModel booleanSource,
String trueText,
String falseText,
String nullText)
Creates and returns a ValueModel that converts Booleans
to the associated of the two specified strings, and vice versa.
|
static ValueModel |
ConverterFactory.createDoubleConverter(ValueModel doubleSource,
double multiplier)
Creates and returns a ValueModel that converts Doubles using the
specified multiplier.
|
static ValueModel |
ConverterFactory.createDoubleToIntegerConverter(ValueModel doubleSource)
Creates and returns a ValueModel that converts Doubles to Integer,
and vice versa.
|
static ValueModel |
ConverterFactory.createDoubleToIntegerConverter(ValueModel doubleSource,
int multiplier)
Creates and returns a ValueModel that converts Doubles to Integer,
and vice versa.
|
static ValueModel |
ConverterFactory.createFloatConverter(ValueModel floatSource,
float multiplier)
Creates and returns a ValueModel that converts Floats using the
specified multiplier.
|
static ValueModel |
ConverterFactory.createFloatToIntegerConverter(ValueModel floatSource)
Creates and returns a ValueModel that converts Floats to Integer,
and vice versa.
|
static ValueModel |
ConverterFactory.createFloatToIntegerConverter(ValueModel floatSource,
int multiplier)
Creates and returns a ValueModel that converts Floats to Integer,
and vice versa.
|
static ValueModel |
ConverterFactory.createIntegerConverter(ValueModel integerSource,
double multiplier)
Creates and returns a ValueModel that converts Integers using the
specified multiplier.
|
static ValueModel |
ConverterFactory.createLongConverter(ValueModel longSource,
double multiplier)
Creates and returns a ValueModel that converts Long using the
specified multiplier.
|
static ValueModel |
ConverterFactory.createLongToIntegerConverter(ValueModel longSubject)
Creates and returns a ValueModel that converts Longs to Integer
and vice versa.
|
static ValueModel |
ConverterFactory.createLongToIntegerConverter(ValueModel longSource,
int multiplier)
Creates and returns a ValueModel that converts Longs to Integer
and vice versa.
|
static ValueModel |
ConverterFactory.createStringConverter(ValueModel source,
Format format)
Creates and returns a ValueModel that converts objects to Strings
and vice versa.
|
void |
BufferedValueModel.setSubject(ValueModel newSubject)
Sets a new subject ValueModel, i.e. the model that provides
the unbuffered value.
|
void |
BufferedValueModel.setTriggerChannel(ValueModel newTriggerChannel)
Sets the ValueModel that triggers the commit and flush events.
|
Constructor and Description |
---|
AbstractVetoableValueModel(ValueModel subject)
Constructs an AbstractVetoableValueModel for the given ValueModel.
|
AbstractWrappedValueModel(ValueModel wrappee)
Constructs a DefaultComponentValueModel that wraps the given ValueModel
and adds
ComponentModel Properties. |
BufferedValueModel(ValueModel subject,
ValueModel triggerChannel)
Constructs a BufferedValueModel on the given subject
using the given trigger channel.
|
ConverterValueModel(ValueModel source,
BindingConverter converter)
Constructs a ConverterValueModel on the given source ValueModel and
BindingConverter.
|
DefaultComponentValueModel(ValueModel wrappee)
Constructs a DefaultComponentValueModel that wraps the given ValueModel
and adds
ComponentModel Properties. |
DelayedReadValueModel(ValueModel subject,
int delay)
Constructs a DelayedReadValueModel for the given subject ValueModel
and the specified Timer delay in milliseconds with coalescing disabled.
|
DelayedReadValueModel(ValueModel subject,
int delay,
boolean coalesce)
Constructs a DelayedReadValueModel for the given subject ValueModel
and the specified Timer delay in milliseconds using the given
coalesce mode.
|
Copyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.