|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ValueModel | |
---|---|
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.extras | Contains optional classes that ship only with the source distribution. |
com.jgoodies.binding.list | Contains classes that operate on, hold and observe lists and list models. |
com.jgoodies.binding.value | Contains the ValueModel
interface and hierarchy. |
Uses of ValueModel in com.jgoodies.binding |
---|
Methods in com.jgoodies.binding that return ValueModel | |
---|---|
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. |
Methods in com.jgoodies.binding with parameters of type ValueModel | |
---|---|
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. |
Constructors in com.jgoodies.binding with parameters of type ValueModel | |
---|---|
PresentationModel(Object 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. |
Uses of ValueModel in com.jgoodies.binding.adapter |
---|
Classes in com.jgoodies.binding.adapter that implement ValueModel | |
---|---|
class |
PreferencesAdapter
A ValueModel implementation that reads and writes values from/to a key of a given Preferences node under a specified key. |
Methods in com.jgoodies.binding.adapter with parameters of type ValueModel | |
---|---|
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(JCheckBoxMenuItem checkBoxMenuItem,
ValueModel valueModel)
Binds a JCheckBoxMenuItem to the given ValueModel and retains the enablement state. |
static void |
Bindings.bind(JCheckBox checkBox,
ValueModel valueModel)
Binds a JCheckBox to the given ValueModel and retains the enablement state. |
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(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(JRadioButtonMenuItem radioButtonMenuItem,
ValueModel model,
Object choice)
Binds a JRadioButtonMenuItem to the given ValueModel and retains the enablement state. |
static void |
Bindings.bind(JRadioButton radioButton,
ValueModel model,
Object choice)
Binds a JRadioButton to the given ValueModel and retains the enablement state. |
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(JTextArea textArea,
ValueModel valueModel,
Document document,
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 |
Bindings.bind(JTextField textField,
ValueModel valueModel,
Document document,
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 JCheckBox |
BasicComponentFactory.createCheckBox(ValueModel valueModel,
String text)
Creates and returns a check box with the specified text label that is bound to the given ValueModel. |
static JColorChooser |
BasicComponentFactory.createColorChooser(ValueModel valueModel)
Creates and returns a JColorChooser that has the color selection bound to the given ValueModel. |
static JColorChooser |
BasicComponentFactory.createColorChooser(ValueModel valueModel,
Color defaultColor)
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 start,
Comparable 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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel. |
static JLabel |
BasicComponentFactory.createLabel(ValueModel valueModel)
Creates and returns a text label that is bound to the given ValueModel. |
static 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 . |
static JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel)
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)
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)
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)
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)
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 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. |
static JPasswordField |
BasicComponentFactory.createPasswordField(ValueModel valueModel)
Creates and returns a JPasswordField with the content bound to the given ValueModel. |
static JPasswordField |
BasicComponentFactory.createPasswordField(ValueModel valueModel,
boolean commitOnFocusLost)
Creates and returns a JPasswordField with the content bound to the given ValueModel. |
static 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. |
static JTextArea |
BasicComponentFactory.createTextArea(ValueModel valueModel)
Creates and returns a text area with the content bound to the given ValueModel. |
static JTextArea |
BasicComponentFactory.createTextArea(ValueModel valueModel,
boolean commitOnFocusLost)
Creates and returns a text area with the content bound to the given ValueModel. |
static JTextField |
BasicComponentFactory.createTextField(ValueModel valueModel)
Creates and returns a text field with the content bound to the given ValueModel. |
static JTextField |
BasicComponentFactory.createTextField(ValueModel valueModel,
boolean commitOnFocusLost)
Creates and returns a text field with the content bound to the given ValueModel. |
Constructors in com.jgoodies.binding.adapter with parameters of type ValueModel | |
---|---|
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(ListModel listModel,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the given ListModel and selection holder. |
|
ComboBoxAdapter(List items,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the specified List of items and the given selection holder. |
|
ComboBoxAdapter(Object[] items,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the specified List of items and the given selection holder. |
|
ComboBoxAdapter(SelectionInList selectionInList,
ValueModel selectionHolder,
boolean ignoreNullSelectionHolder)
An internal constructor that accepts either a SelectionInList or a separate selection holder. |
|
ComboBoxAdapter(ValueModel listHolder,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the specified list holder and the given selection holder. |
|
DocumentAdapter(ValueModel subject)
Constructs a DocumentAdapter on the specified String-typed subject ValueModel. |
|
DocumentAdapter(ValueModel subject,
boolean filterNewlines)
Constructs a DocumentAdapter on the specified String-typed subject ValueModel. |
|
DocumentAdapter(ValueModel subject,
Document document)
Constructs a DocumentAdapter on the specified String-typed subject ValueModel. |
|
DocumentAdapter(ValueModel subject,
Document document,
boolean filterNewlines)
Constructs a DocumentAdapter on the specified subject. |
|
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. |
|
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. |
Uses of ValueModel in com.jgoodies.binding.beans |
---|
Classes in com.jgoodies.binding.beans that implement ValueModel | |
---|---|
class |
BeanAdapter.SimplePropertyAdapter
Implements the access to the individual bean properties. |
class |
PropertyAdapter
Converts a single Java Bean property into the generic ValueModel interface. |
Constructors in com.jgoodies.binding.beans with parameters of type ValueModel | |
---|---|
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. |
Uses of ValueModel in com.jgoodies.binding.extras |
---|
Classes in com.jgoodies.binding.extras that implement ValueModel | |
---|---|
class |
DelayedWriteValueModel
A ValueModel that deferres write-access for a specified delay. |
class |
NonNullValueModel
A ValueModel implementation that avoids null values. |
Methods in com.jgoodies.binding.extras that return ValueModel | |
---|---|
ValueModel |
SelectionInListModel.getSelectionHolder()
Returns the selection holder. |
ValueModel |
SelectionInList2.getSelectionHolder()
Returns the selection holder. |
ValueModel |
SelectionInListModel.getSelectionIndexHolder()
Returns the selection index holder. |
ValueModel |
SelectionInList2.getSelectionIndexHolder()
Returns the selection index holder. |
Methods in com.jgoodies.binding.extras with parameters of type ValueModel | |
---|---|
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. |
void |
SelectionInListModel.setSelectionHolder(ValueModel newSelectionHolder)
Sets a new selection holder. |
void |
SelectionInList2.setSelectionHolder(ValueModel newSelectionHolder)
Sets a new selection holder. |
void |
SelectionInListModel.setSelectionIndexHolder(ValueModel newSelectionIndexHolder)
Sets a new selection index holder. |
void |
SelectionInList2.setSelectionIndexHolder(ValueModel newSelectionIndexHolder)
Sets a new selection index holder. |
Constructors in com.jgoodies.binding.extras with parameters of type ValueModel | |
---|---|
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. |
|
SelectionInList2(List list,
ValueModel selectionHolder)
Constructs a SelectionInList2 on the given List and selection holder using a default selection index holder. |
|
SelectionInList2(List list,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList2 on the given List, selection holder, and selection index holder. |
|
SelectionInList2(Object[] listItems,
ValueModel selectionHolder)
Constructs a SelectionInList2 on the given item array and selection holder using a default selection index holder. |
|
SelectionInList2(Object[] listItems,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList2 on the given item array and selection holder using a default selection index holder. |
|
SelectionInList2(ValueModel listHolder)
Constructs a SelectionInList2 on the given list holder using defaults for the selection holder and selection index holder. |
|
SelectionInList2(ValueModel listHolder,
ValueModel selectionHolder)
Constructs a SelectionInList2 on the given list holder, selection holder and selection index holder. |
|
SelectionInList2(ValueModel listHolder,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList2 on the given list holder, selection holder and selection index holder. |
|
SelectionInListModel(ListModel listModel,
ValueModel selectionHolder)
Constructs a SelectionInList on the given ListModel and selection holder using a default selection index holder. |
|
SelectionInListModel(ListModel listModel,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given ListModel, selection holder, and selection index holder. |
|
SelectionInListModel(ValueModel listModelHolder)
Constructs a SelectionInList on the given ListModel holder using defaults for the selection holder and selection index holder. |
|
SelectionInListModel(ValueModel listModelHolder,
ValueModel selectionHolder)
Constructs a SelectionInList on the given ListModel holder, selection holder and selection index holder. |
|
SelectionInListModel(ValueModel listModelHolder,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given ListModel holder, selection holder and selection index holder. |
Uses of ValueModel in com.jgoodies.binding.list |
---|
Classes in com.jgoodies.binding.list that implement ValueModel | |
---|---|
class |
SelectionInList
Represents a selection in a list of objects. |
Methods in com.jgoodies.binding.list that return ValueModel | |
---|---|
ValueModel |
SelectionInList.getListHolder()
Returns the list holder. |
ValueModel |
ListHolder.getListHolder()
Returns the ValueModel that holds the List we delegate to. |
ValueModel |
ListModelHolder.getListModelHolder()
Returns the ValueModel that holds the ListModel we delegate to. |
ValueModel |
SelectionInList.getSelectionHolder()
Returns the selection holder. |
ValueModel |
SelectionInList.getSelectionIndexHolder()
Returns the selection index holder. |
Methods in com.jgoodies.binding.list with parameters of type ValueModel | |
---|---|
void |
SelectionInList.setListHolder(ValueModel newListHolder)
Sets a new list holder. |
void |
ListHolder.setListHolder(ValueModel newListHolder)
Sets a new List holder. |
void |
ListModelHolder.setListModelHolder(ValueModel newListModelHolder)
Sets a new ListModel holder. |
void |
SelectionInList.setSelectionHolder(ValueModel newSelectionHolder)
Sets a new selection holder. |
void |
SelectionInList.setSelectionIndexHolder(ValueModel newSelectionIndexHolder)
Sets a new selection index holder. |
Constructors in com.jgoodies.binding.list with parameters of type ValueModel | |
---|---|
ListHolder(ValueModel listHolder)
Constructs a ListHolder on the given List. |
|
ListModelHolder(ValueModel listModelHolder)
Constructs a ListModelHolder on the given ListModel. |
|
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(List list,
ValueModel selectionHolder)
Constructs a SelectionInList on the given list and selection holder using a default selection index holder. |
|
SelectionInList(List list,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given list, selection holder, and selection index holder. |
|
SelectionInList(Object[] listItems,
ValueModel selectionHolder)
Constructs a SelectionInList on the given item array and selection holder using a default selection index holder. |
|
SelectionInList(Object[] listItems,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given item array and selection holder using a default 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. |
Uses of ValueModel in com.jgoodies.binding.value |
---|
Classes in com.jgoodies.binding.value that implement ValueModel | |
---|---|
class |
AbstractConverter
An abstract class that minimizes the effort required to implement a type converter. |
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 |
BufferedValueModel
A ValueModel that wraps another ValueModel, the subject, and delays changes of the subject's value. |
class |
ComponentValueModel
A ValueModel that provides relevant GUI state in presentation models. |
static class |
ConverterFactory.BooleanNegator
Negates Booleans leaving null unchanged. |
static class |
ConverterFactory.BooleanToStringConverter
Converts Booleans to Strings and vice-versa using given texts for true, false, and null. |
static class |
ConverterFactory.DoubleConverter
Converts Doubles using a given multiplier. |
static class |
ConverterFactory.DoubleToIntegerConverter
Converts Doubles to Integers and vice-versa. |
static class |
ConverterFactory.FloatConverter
Converts Floats using a given multiplier. |
static class |
ConverterFactory.FloatToIntegerConverter
Converts Floats to Integers and vice-versa. |
static class |
ConverterFactory.IntegerConverter
Converts Integers using a given multiplier. |
static class |
ConverterFactory.LongConverter
Converts Longs using a given multiplier. |
static class |
ConverterFactory.LongToIntegerConverter
Converts Longs to Integers and vice-versa. |
static class |
ConverterFactory.StringConverter
Converts Values to Strings and vice-versa using a given Format. |
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. |
Fields in com.jgoodies.binding.value declared as ValueModel | |
---|---|
protected ValueModel |
AbstractConverter.subject
Holds the ValueModel that in turn holds the source value. |
Methods in com.jgoodies.binding.value that return ValueModel | |
---|---|
static ValueModel |
ConverterFactory.createBooleanNegator(ValueModel booleanSubject)
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 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. |
static ValueModel |
ConverterFactory.createDoubleConverter(ValueModel doubleSubject,
double multiplier)
Creates and returns a ValueModel that converts Doubles using the specified multiplier. |
static ValueModel |
ConverterFactory.createDoubleToIntegerConverter(ValueModel doubleSubject)
Creates and returns a ValueModel that converts Doubles to Integer, and vice versa. |
static ValueModel |
ConverterFactory.createDoubleToIntegerConverter(ValueModel doubleSubject,
int multiplier)
Creates and returns a ValueModel that converts Doubles to Integer, and vice versa. |
static ValueModel |
ConverterFactory.createFloatConverter(ValueModel floatSubject,
float multiplier)
Creates and returns a ValueModel that converts Floats using the specified multiplier. |
static ValueModel |
ConverterFactory.createFloatToIntegerConverter(ValueModel floatSubject)
Creates and returns a ValueModel that converts Floats to Integer, and vice versa. |
static ValueModel |
ConverterFactory.createFloatToIntegerConverter(ValueModel floatSubject,
int multiplier)
Creates and returns a ValueModel that converts Floats to Integer, and vice versa. |
static ValueModel |
ConverterFactory.createIntegerConverter(ValueModel integerSubject,
double multiplier)
Creates and returns a ValueModel that converts Integers using the specified multiplier. |
static ValueModel |
ConverterFactory.createLongConverter(ValueModel longSubject,
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 longSubject,
int multiplier)
Creates and returns a ValueModel that converts Longs to Integer and vice versa. |
static ValueModel |
ConverterFactory.createStringConverter(ValueModel subject,
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. |
Methods in com.jgoodies.binding.value with parameters of type ValueModel | |
---|---|
static ValueModel |
ConverterFactory.createBooleanNegator(ValueModel booleanSubject)
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 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. |
static ValueModel |
ConverterFactory.createDoubleConverter(ValueModel doubleSubject,
double multiplier)
Creates and returns a ValueModel that converts Doubles using the specified multiplier. |
static ValueModel |
ConverterFactory.createDoubleToIntegerConverter(ValueModel doubleSubject)
Creates and returns a ValueModel that converts Doubles to Integer, and vice versa. |
static ValueModel |
ConverterFactory.createDoubleToIntegerConverter(ValueModel doubleSubject,
int multiplier)
Creates and returns a ValueModel that converts Doubles to Integer, and vice versa. |
static ValueModel |
ConverterFactory.createFloatConverter(ValueModel floatSubject,
float multiplier)
Creates and returns a ValueModel that converts Floats using the specified multiplier. |
static ValueModel |
ConverterFactory.createFloatToIntegerConverter(ValueModel floatSubject)
Creates and returns a ValueModel that converts Floats to Integer, and vice versa. |
static ValueModel |
ConverterFactory.createFloatToIntegerConverter(ValueModel floatSubject,
int multiplier)
Creates and returns a ValueModel that converts Floats to Integer, and vice versa. |
static ValueModel |
ConverterFactory.createIntegerConverter(ValueModel integerSubject,
double multiplier)
Creates and returns a ValueModel that converts Integers using the specified multiplier. |
static ValueModel |
ConverterFactory.createLongConverter(ValueModel longSubject,
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 longSubject,
int multiplier)
Creates and returns a ValueModel that converts Longs to Integer and vice versa. |
static ValueModel |
ConverterFactory.createStringConverter(ValueModel subject,
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. |
Constructors in com.jgoodies.binding.value with parameters of type ValueModel | |
---|---|
AbstractConverter(ValueModel subject)
Constructs an AbstractConverter on the given subject. |
|
AbstractVetoableValueModel(ValueModel subject)
Constructs an AbstractVetoableValueModel for the given ValueModel. |
|
BufferedValueModel(ValueModel subject,
ValueModel triggerChannel)
Constructs a BufferedValueHolder on the given subject
using the given trigger channel. |
|
ComponentValueModel(ValueModel subject)
Constructs a ComponentValueModel for the given ValueModel. |
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |