Uses of Interface com.jgoodies.binding.value.ValueModel

Uses in package com.jgoodies.binding.beans

Classes implementing com.jgoodies.binding.value.ValueModel

class
Implements the access to the individual bean properties.
class
Converts a single Java Bean property into the generic ValueModel interface.

Constructors with parameter type com.jgoodies.binding.value.ValueModel

Constructs a BeanAdapter for the given bean channel; does not observe changes.
BeanAdapter.BeanAdapter(ValueModel beanChannel, boolean observeChanges)
Constructs a BeanAdapter for the given bean channel; observes changes if specified.
Constructs an IndirectPropertyChangeSupport using the given bean channel.
PropertyAdapter.PropertyAdapter(ValueModel beanChannel, String propertyName)
Constructs a PropertyAdapter for the given bean channel and property name; does not observe changes.
PropertyAdapter.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.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.
PropertyAdapter.PropertyAdapter(ValueModel beanChannel, String propertyName, boolean observeChanges)
Constructs a PropertyAdapter for the given bean channel and property name; observes changes if specified.

Methods with return type com.jgoodies.binding.value.ValueModel

ValueModel
Returns the ValueModel that holds the bean that in turn holds the adapted properties.

Uses in package com.jgoodies.binding.value

Classes implementing com.jgoodies.binding.value.ValueModel

class
An abstract class that minimizes the effort required to implement a type converter.
class
An abstract class that minimizes the effort required to implement the ValueModel interface.
class
A ValueModel that allows to accept or reject proposed value changes.
class
A ValueModel that wraps another ValueModel, the subject, and delays changes of the subject's value.
class
A ValueModel that provides relevant GUI state in presentation models.
class
Negates Booleans leaving null unchanged.
class
Converts Booleans to Strings and vice-versa using given texts for true, false, and null.
class
Converts Doubles using a given multiplier.
class
Converts Doubles to Integers and vice-versa.
class
Converts Floats using a given multiplier.
class
Converts Floats to Integers and vice-versa.
class
Converts Integers using a given multiplier.
class
Converts Longs using a given multiplier.
class
Converts Longs to Integers and vice-versa.
class
Converts Values to Strings and vice-versa using a given Format.
class
A ValueModel that deferres updates and read-access for a specified delay.
class
A ValueModel implementation that is intended to be used as trigger channel for instances of BufferedValueModel.
class
A simple ValueModel implementation that holds a generic value.

Constructors with parameter type com.jgoodies.binding.value.ValueModel

Constructs an AbstractConverter on the given subject.
Constructs an AbstractVetoableValueModel for the given ValueModel.
Constructs a BufferedValueHolder on the given subject using the given trigger channel.
Constructs a ComponentValueModel for the given ValueModel.
Constructs a DelayedReadValueModel for the given subject ValueModel and the specified Timer delay in milliseconds with coalescing disabled.
DelayedReadValueModel.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.

Fields of type com.jgoodies.binding.value.ValueModel

ValueModel
Holds the ValueModel that in turn holds the source value.

Methods with parameter type com.jgoodies.binding.value.ValueModel

ValueModel
Creates and returns a ValueModel that negates Booleans and leaves null unchanged.
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.
ValueModel
ConverterFactory.createBooleanToStringConverter(ValueModel booleanSubject, 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.
ValueModel
ConverterFactory.createDoubleConverter(ValueModel doubleSubject, double multiplier)
Creates and returns a ValueModel that converts Doubles using the specified multiplier.
ValueModel
Creates and returns a ValueModel that converts Doubles to Integer, and vice versa.
ValueModel
Creates and returns a ValueModel that converts Doubles to Integer, and vice versa.
ValueModel
ConverterFactory.createFloatConverter(ValueModel floatSubject, float multiplier)
Creates and returns a ValueModel that converts Floats using the specified multiplier.
ValueModel
Creates and returns a ValueModel that converts Floats to Integer, and vice versa.
ValueModel
Creates and returns a ValueModel that converts Floats to Integer, and vice versa.
ValueModel
ConverterFactory.createIntegerConverter(ValueModel integerSubject, double multiplier)
Creates and returns a ValueModel that converts Integers using the specified multiplier.
ValueModel
ConverterFactory.createLongConverter(ValueModel longSubject, double multiplier)
Creates and returns a ValueModel that converts Long using the specified multiplier.
ValueModel
Creates and returns a ValueModel that converts Longs to Integer and vice versa.
ValueModel
Creates and returns a ValueModel that converts Longs to Integer and vice versa.
ValueModel
Creates and returns a ValueModel that converts objects to Strings and vice versa.
void
Sets a new subject ValueModel, i.e.
void
Sets the ValueModel that triggers the commit and flush events.

Methods with return type com.jgoodies.binding.value.ValueModel

ValueModel
Creates and returns a ValueModel that negates Booleans and leaves null unchanged.
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.
ValueModel
ConverterFactory.createBooleanToStringConverter(ValueModel booleanSubject, 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.
ValueModel
ConverterFactory.createDoubleConverter(ValueModel doubleSubject, double multiplier)
Creates and returns a ValueModel that converts Doubles using the specified multiplier.
ValueModel
Creates and returns a ValueModel that converts Doubles to Integer, and vice versa.
ValueModel
Creates and returns a ValueModel that converts Doubles to Integer, and vice versa.
ValueModel
ConverterFactory.createFloatConverter(ValueModel floatSubject, float multiplier)
Creates and returns a ValueModel that converts Floats using the specified multiplier.
ValueModel
Creates and returns a ValueModel that converts Floats to Integer, and vice versa.
ValueModel
Creates and returns a ValueModel that converts Floats to Integer, and vice versa.
ValueModel
ConverterFactory.createIntegerConverter(ValueModel integerSubject, double multiplier)
Creates and returns a ValueModel that converts Integers using the specified multiplier.
ValueModel
ConverterFactory.createLongConverter(ValueModel longSubject, double multiplier)
Creates and returns a ValueModel that converts Long using the specified multiplier.
ValueModel
Creates and returns a ValueModel that converts Longs to Integer and vice versa.
ValueModel
Creates and returns a ValueModel that converts Longs to Integer and vice versa.
ValueModel
Creates and returns a ValueModel that converts objects to Strings and vice versa.
ValueModel
Returns the subject, i.e.
ValueModel
Returns the ValueModel that is used to trigger commit and flush events.

Uses in package com.jgoodies.binding.extras

Classes implementing com.jgoodies.binding.value.ValueModel

class
A ValueModel that deferres write-access for a specified delay.
class
A ValueModel implementation that avoids null values.

Constructors with parameter type com.jgoodies.binding.value.ValueModel

Constructs a DelayedWriteValueModel for the given subject ValueModel and the specified Timer delay in milliseconds with coalescing disabled.
DelayedWriteValueModel.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.NonNullValueModel(ValueModel subject, Object defaultValue)
Constructs an NonNullValueModel for the given ValueModel.

Uses in package com.jgoodies.binding.adapter

Classes implementing com.jgoodies.binding.value.ValueModel

class
A ValueModel implementation that reads and writes values from/to a key of a given Preferences node under a specified key.

Constructors with parameter type com.jgoodies.binding.value.ValueModel

BoundedRangeAdapter.BoundedRangeAdapter(ValueModel subject, int extent, int min, int max)
Constructs a BoundedRangeAdapter on the given subject using the specified extend, minimum and maximum values.
Constructs a ColorSelectionAdapter on the given subject ValueModel.
Constructs a ColorSelectionAdapter on the given subject ValueModel.
ComboBoxAdapter.ComboBoxAdapter(List items, ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the specified List of items and the given selection holder.
ComboBoxAdapter.ComboBoxAdapter(ListModel listModel, ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the given ListModel and selection holder.
ComboBoxAdapter.ComboBoxAdapter(Object[] items, ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the specified List of items and the given selection holder.
Constructs a RadioButtonAdapter on the given subject ValueModel for the specified choice.
Constructs a SingleListSelectionAdapter with the given selection index holder.
SpinnerToValueModelConnector.SpinnerToValueModelConnector(SpinnerModel spinnerModel, ValueModel valueModel, Object defaultValue)
Constructs a SpinnerToValueModelConnector that establishes a Synchronization between the SpinnerModel and ValueModel.
Constructs a TextComponentConnector that connects the specified String-typed subject ValueModel with the given text area.
Constructs a TextComponentConnector that connects the specified String-typed subject ValueModel with the given text field.
Constructs a ToggleButtonAdapter on the given subject ValueModel.
ToggleButtonAdapter.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.

Methods with parameter type com.jgoodies.binding.value.ValueModel

void
Bindings.addComponentPropertyHandler(JComponent component, ValueModel valueModel)
If the given model is a ComponentValueModel, a component property handler is registered with this model.
void
Bindings.bind(JCheckBox checkBox, ValueModel valueModel)
Binds a JCheckBox to the given ValueModel and retains the enablement state.
void
Bindings.bind(JCheckBoxMenuItem checkBoxMenuItem, ValueModel valueModel)
Binds a JCheckBoxMenuItem to the given ValueModel and retains the enablement state.
void
Bindings.bind(JColorChooser colorChooser, ValueModel valueModel)
Binds a JColorChooser to the given Color-typed ValueModel.
void
Bindings.bind(JColorChooser colorChooser, ValueModel valueModel, Color defaultColor)
Binds a JColorChooser to the given Color-typed ValueModel.
void
Bindings.bind(JComponent component, String propertyName, ValueModel valueModel)
Binds the specified property of the given JComponent to the specified ValueModel.
void
Bindings.bind(JFormattedTextField textField, ValueModel valueModel)
Binds the given JFormattedTextField to the specified ValueModel.
void
Bindings.bind(JLabel label, ValueModel valueModel)
Binds the given JLabel to the specified ValueModel.
void
Bindings.bind(JRadioButton radioButton, ValueModel model, Object choice)
Binds a JRadioButton to the given ValueModel and retains the enablement state.
void
Bindings.bind(JRadioButtonMenuItem radioButtonMenuItem, ValueModel model, Object choice)
Binds a JRadioButtonMenuItem to the given ValueModel and retains the enablement state.
void
Bindings.bind(JTextArea textArea, ValueModel valueModel)
Binds a text area to the given ValueModel.
void
Bindings.bind(JTextArea textArea, ValueModel valueModel, boolean commitOnFocusLost)
Binds a text area to the given ValueModel.
void
Bindings.bind(JTextField textField, ValueModel valueModel)
Bind a text fields or password field to the given ValueModel.
void
Bindings.bind(JTextField textField, ValueModel valueModel, boolean commitOnFocusLost)
Binds a text field or password field to the given ValueModel.
void
SpinnerAdapterFactory.connect(SpinnerModel spinnerModel, ValueModel valueModel, Object defaultValue)
Connects the given ValueModel and SpinnerModel by synchronizing their values.
void
SpinnerToValueModelConnector.connect(SpinnerModel spinnerModel, ValueModel valueModel, Object defaultValue)
Establishes a synchronization between the SpinnerModel and ValueModel.
void
TextComponentConnector.connect(ValueModel subject, JTextArea textArea)
Establishes a synchronization between the specified String-typed subject ValueModel and the given text area.
void
TextComponentConnector.connect(ValueModel subject, JTextField textField)
Establishes a synchronization between the specified String-typed subject ValueModel and the given text field.
JCheckBox
Creates and returns a check box with the specified text label that is bound to the given ValueModel.
JColorChooser
Creates and returns a JColorChooser that has the color selection bound to the given ValueModel.
JColorChooser
BasicComponentFactory.createColorChooser(ValueModel valueModel, Color defaultColor)
Creates and returns a JColorChooser that has the color selection bound to the given ValueModel.
SpinnerDateModel
SpinnerAdapterFactory.createDateAdapter(ValueModel valueModel, Date defaultDate)
Creates and returns a SpinnerDateModel bound to the given valueModel.
SpinnerDateModel
SpinnerAdapterFactory.createDateAdapter(ValueModel valueModel, Date defaultDate, Comparable start, Comparable end, int calendarField)
Creates and returns a SpinnerDateModel that represents a sequence of dates and is bound to the given valueModel.
JFormattedTextField
Creates and returns a formatted text field that is bound to the Date value of the given ValueModel.
JFormattedTextField
Creates and returns a formatted text field that binds its value to the given model and converts Strings to values using the given Format.
JFormattedTextField
BasicComponentFactory.createFormattedTextField(ValueModel valueModel, JFormattedTextField.AbstractFormatter formatter)
Creates and returns a formatted text field that binds its value to the given model and converts Strings to values using the given Formatter.
JFormattedTextField
BasicComponentFactory.createFormattedTextField(ValueModel valueModel, JFormattedTextField.AbstractFormatterFactory formatterFactory)
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.
JFormattedTextField
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.
JFormattedTextField
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel.
JFormattedTextField
BasicComponentFactory.createIntegerField(ValueModel valueModel, NumberFormat numberFormat)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel.
JFormattedTextField
BasicComponentFactory.createIntegerField(ValueModel valueModel, NumberFormat numberFormat, Integer emptyNumber)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel.
JFormattedTextField
BasicComponentFactory.createIntegerField(ValueModel valueModel, NumberFormat numberFormat, int emptyNumber)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel.
JFormattedTextField
BasicComponentFactory.createIntegerField(ValueModel valueModel, int emptyNumber)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel.
JLabel
Creates and returns a text label that is bound to the given ValueModel.
JLabel
BasicComponentFactory.createLabel(ValueModel valueModel, Format format)
Creates and returns a text label that is bound to the given ValueModel that is wrapped by a StringConverter.
JFormattedTextField
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel.
JFormattedTextField
BasicComponentFactory.createLongField(ValueModel valueModel, NumberFormat numberFormat)
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel.
JFormattedTextField
BasicComponentFactory.createLongField(ValueModel valueModel, NumberFormat numberFormat, Long emptyNumber)
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel.
JFormattedTextField
BasicComponentFactory.createLongField(ValueModel valueModel, NumberFormat numberFormat, long emptyNumber)
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel.
JFormattedTextField
BasicComponentFactory.createLongField(ValueModel valueModel, long emptyNumber)
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel.
SpinnerNumberModel
SpinnerAdapterFactory.createNumberAdapter(ValueModel valueModel, Number defaultValue, Comparable minValue, Comparable 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.
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.
JPasswordField
Creates and returns a JPasswordField with the content bound to the given ValueModel.
JPasswordField
BasicComponentFactory.createPasswordField(ValueModel valueModel, boolean commitOnFocusLost)
Creates and returns a JPasswordField with the content bound to the given ValueModel.
JRadioButton
BasicComponentFactory.createRadioButton(ValueModel model, Object choice, String text)
Creates and returns a radio button with the specified text label that is bound to the given ValueModel.
JTextArea
Creates and returns a text area with the content bound to the given ValueModel.
JTextArea
BasicComponentFactory.createTextArea(ValueModel valueModel, boolean commitOnFocusLost)
Creates and returns a text area with the content bound to the given ValueModel.
JTextField
Creates and returns a text field with the content bound to the given ValueModel.
JTextField
BasicComponentFactory.createTextField(ValueModel valueModel, boolean commitOnFocusLost)
Creates and returns a text field with the content bound to the given ValueModel.

Uses in package com.jgoodies.binding.util

Methods with parameter type com.jgoodies.binding.value.ValueModel

void
Observes value changes in the given ValueModel.
void
Retracts interest for value changes in the given ValueModel.

Uses in package com.jgoodies.binding

Constructors with parameter type com.jgoodies.binding.value.ValueModel

PresentationModel.PresentationModel(Object bean, ValueModel triggerChannel)
Constructs a PresentationModel on the given bean using the given trigger channel.
Constructs a PresentationModel on the given bean channel.
Constructs a PresentationModel on the given bean channel using the given trigger channel.

Methods with parameter type com.jgoodies.binding.value.ValueModel

BeanAdapter
Creates and returns a BeanAdapter for the given bean channel.
void
Observes value changes in the given ValueModel.
void
Retracts interest for value changes in the given ValueModel.
void
Sets the given ValueModel as this model's new trigger channel.

Methods with return type com.jgoodies.binding.value.ValueModel

ValueModel
Returns the ValueModel that holds the bean that in turn holds the adapted properties.
ValueModel
Returns a ValueModel that can be shared and used to trigger commit and flush events in BufferedValueModels.

Uses in package com.jgoodies.binding.list

Classes implementing com.jgoodies.binding.value.ValueModel

class
Represents a selection in a List.
class
Represents a selection in a ListModel.

Constructors with parameter type com.jgoodies.binding.value.ValueModel

Constructs a ListHolder on the given List.
Constructs a ListModelHolder on the given ListModel.
SelectionInList.SelectionInList(List list, ValueModel selectionHolder)
Constructs a SelectionInList on the given List and selection holder using a default selection index holder.
SelectionInList.SelectionInList(List list, ValueModel selectionHolder, ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given List, selection holder, and selection index holder.
SelectionInList.SelectionInList(Object[] listItems, ValueModel selectionHolder)
Constructs a SelectionInList on the given item array and selection holder using a default selection index holder.
SelectionInList.SelectionInList(Object[] listItems, ValueModel selectionHolder, ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given item array and selection holder using a default selection index holder.
Constructs a SelectionInList on the given list holder using defaults for the selection holder and selection index holder.
SelectionInList.SelectionInList(ValueModel listHolder, ValueModel selectionHolder)
Constructs a SelectionInList on the given list holder, selection holder and selection index holder.
SelectionInList.SelectionInList(ValueModel listHolder, ValueModel selectionHolder, ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given list holder, selection holder and selection index holder.
SelectionInListModel.SelectionInListModel(ListModel listModel, ValueModel selectionHolder)
Constructs a SelectionInList on the given ListModel and selection holder using a default selection index holder.
SelectionInListModel.SelectionInListModel(ListModel listModel, ValueModel selectionHolder, ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given ListModel, selection holder, and selection index holder.
Constructs a SelectionInList on the given ListModel holder using defaults for the selection holder and selection index holder.
Constructs a SelectionInList on the given ListModel holder, selection holder and selection index holder.
SelectionInListModel.SelectionInListModel(ValueModel listModelHolder, ValueModel selectionHolder, ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given ListModel holder, selection holder and selection index holder.

Methods with parameter type com.jgoodies.binding.value.ValueModel

void
Sets a new List holder.
void
Sets a new ListModel holder.
void
Sets a new selection holder.
void
Sets a new selection holder.
void
Sets a new selection index holder.
void
Sets a new selection index holder.

Methods with return type com.jgoodies.binding.value.ValueModel

ValueModel
Returns the ValueModel that holds the List we delegate to.
ValueModel
Returns the ValueModel that holds the ListModel we delegate to.
ValueModel
Returns the selection holder.
ValueModel
Returns the selection holder.
ValueModel
Returns the selection index holder.
ValueModel
Returns the selection index holder.

Copyright © 2002-2007 JGoodies Karsten Lentzsch. All Rights Reserved.