|
||||||||||
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.util | Contains binding utility classes. |
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 | |
---|---|
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. |
Constructors in com.jgoodies.binding with parameters of type ValueModel | |
---|---|
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. |
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(javax.swing.JComponent component,
ValueModel valueModel)
If the given model is a ComponentValueModel, a component property handler is registered with this model. |
static void |
Bindings.bind(javax.swing.JCheckBoxMenuItem checkBoxMenuItem,
ValueModel valueModel)
Binds a JCheckBoxMenuItem to the given ValueModel and retains the enablement state. |
static void |
Bindings.bind(javax.swing.JCheckBox checkBox,
ValueModel valueModel)
Binds a JCheckBox to the given ValueModel and retains the enablement state. |
static void |
Bindings.bind(javax.swing.JColorChooser colorChooser,
ValueModel valueModel)
Binds a JColorChooser to the given Color-typed ValueModel. |
static void |
Bindings.bind(javax.swing.JColorChooser colorChooser,
ValueModel valueModel,
java.awt.Color defaultColor)
Binds a JColorChooser to the given Color-typed ValueModel. |
static void |
Bindings.bind(javax.swing.JComponent component,
java.lang.String propertyName,
ValueModel valueModel)
Binds the specified property of the given JComponent to the specified ValueModel. |
static void |
Bindings.bind(javax.swing.JFormattedTextField textField,
ValueModel valueModel)
Binds the given JFormattedTextField to the specified ValueModel. |
static void |
Bindings.bind(javax.swing.JLabel label,
ValueModel valueModel)
Binds the given JLabel to the specified ValueModel. |
static void |
Bindings.bind(javax.swing.JRadioButtonMenuItem radioButtonMenuItem,
ValueModel model,
java.lang.Object choice)
Binds a JRadioButtonMenuItem to the given ValueModel and retains the enablement state. |
static void |
Bindings.bind(javax.swing.JRadioButton radioButton,
ValueModel model,
java.lang.Object choice)
Binds a JRadioButton to the given ValueModel and retains the enablement state. |
static void |
Bindings.bind(javax.swing.JTextArea textArea,
ValueModel valueModel)
Binds a text area to the given ValueModel. |
static void |
Bindings.bind(javax.swing.JTextArea textArea,
ValueModel valueModel,
boolean commitOnFocusLost)
Binds a text area to the given ValueModel. |
static void |
Bindings.bind(javax.swing.JTextField textField,
ValueModel valueModel)
Bind a text fields or password field to the given ValueModel. |
static void |
Bindings.bind(javax.swing.JTextField textField,
ValueModel valueModel,
boolean commitOnFocusLost)
Binds a text field or password field to the given ValueModel. |
static void |
SpinnerToValueModelConnector.connect(javax.swing.SpinnerModel spinnerModel,
ValueModel valueModel,
java.lang.Object defaultValue)
Establishes a synchronization between the SpinnerModel and ValueModel. |
static void |
SpinnerAdapterFactory.connect(javax.swing.SpinnerModel spinnerModel,
ValueModel valueModel,
java.lang.Object defaultValue)
Connects the given ValueModel and SpinnerModel by synchronizing their values. |
static void |
TextComponentConnector.connect(ValueModel subject,
javax.swing.JTextArea textArea)
Establishes a synchronization between the specified String-typed subject ValueModel and the given text area. |
static void |
TextComponentConnector.connect(ValueModel subject,
javax.swing.JTextField textField)
Establishes a synchronization between the specified String-typed subject ValueModel and the given text field. |
static javax.swing.JCheckBox |
BasicComponentFactory.createCheckBox(ValueModel valueModel,
java.lang.String text)
Creates and returns a check box with the specified text label that is bound to the given ValueModel. |
static javax.swing.JColorChooser |
BasicComponentFactory.createColorChooser(ValueModel valueModel)
Creates and returns a JColorChooser that has the color selection bound to the given ValueModel. |
static javax.swing.JColorChooser |
BasicComponentFactory.createColorChooser(ValueModel valueModel,
java.awt.Color defaultColor)
Creates and returns a JColorChooser that has the color selection bound to the given ValueModel. |
static javax.swing.SpinnerDateModel |
SpinnerAdapterFactory.createDateAdapter(ValueModel valueModel,
java.util.Date defaultDate)
Creates and returns a SpinnerDateModel bound to the given
valueModel . |
static javax.swing.SpinnerDateModel |
SpinnerAdapterFactory.createDateAdapter(ValueModel valueModel,
java.util.Date defaultDate,
java.lang.Comparable<java.util.Date> start,
java.lang.Comparable<java.util.Date> end,
int calendarField)
Creates and returns a SpinnerDateModel that represents a sequence
of dates and is bound to the given valueModel . |
static javax.swing.JFormattedTextField |
BasicComponentFactory.createDateField(ValueModel valueModel)
Creates and returns a formatted text field that is bound to the Date value of the given ValueModel. |
static javax.swing.JFormattedTextField |
BasicComponentFactory.createFormattedTextField(ValueModel valueModel,
java.text.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 javax.swing.JFormattedTextField |
BasicComponentFactory.createFormattedTextField(ValueModel valueModel,
javax.swing.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 javax.swing.JFormattedTextField |
BasicComponentFactory.createFormattedTextField(ValueModel valueModel,
javax.swing.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 javax.swing.JFormattedTextField |
BasicComponentFactory.createFormattedTextField(ValueModel valueModel,
java.lang.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 javax.swing.JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel. |
static javax.swing.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 javax.swing.JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel,
java.text.NumberFormat numberFormat)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel. |
static javax.swing.JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel,
java.text.NumberFormat numberFormat,
int emptyNumber)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel. |
static javax.swing.JFormattedTextField |
BasicComponentFactory.createIntegerField(ValueModel valueModel,
java.text.NumberFormat numberFormat,
java.lang.Integer emptyNumber)
Creates and returns a formatted text field that is bound to the Integer value of the given ValueModel. |
static javax.swing.JLabel |
BasicComponentFactory.createLabel(ValueModel valueModel)
Creates and returns a text label that is bound to the given ValueModel. |
static javax.swing.JLabel |
BasicComponentFactory.createLabel(ValueModel valueModel,
java.text.Format format)
Creates and returns a text label that is bound to the given ValueModel that is wrapped by a StringConverter . |
static javax.swing.JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel)
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel. |
static javax.swing.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 javax.swing.JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel,
java.text.NumberFormat numberFormat)
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel. |
static javax.swing.JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel,
java.text.NumberFormat numberFormat,
long emptyNumber)
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel. |
static javax.swing.JFormattedTextField |
BasicComponentFactory.createLongField(ValueModel valueModel,
java.text.NumberFormat numberFormat,
java.lang.Long emptyNumber)
Creates and returns a formatted text field that is bound to the Long value of the given ValueModel. |
static javax.swing.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 javax.swing.SpinnerNumberModel |
SpinnerAdapterFactory.createNumberAdapter(ValueModel valueModel,
java.lang.Number defaultValue,
java.lang.Comparable<? extends java.lang.Number> minValue,
java.lang.Comparable<? extends java.lang.Number> maxValue,
java.lang.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 javax.swing.JPasswordField |
BasicComponentFactory.createPasswordField(ValueModel valueModel)
Creates and returns a JPasswordField with the content bound to the given ValueModel. |
static javax.swing.JPasswordField |
BasicComponentFactory.createPasswordField(ValueModel valueModel,
boolean commitOnFocusLost)
Creates and returns a JPasswordField with the content bound to the given ValueModel. |
static javax.swing.JRadioButton |
BasicComponentFactory.createRadioButton(ValueModel model,
java.lang.Object choice,
java.lang.String text)
Creates and returns a radio button with the specified text label that is bound to the given ValueModel. |
static javax.swing.JTextArea |
BasicComponentFactory.createTextArea(ValueModel valueModel)
Creates and returns a text area with the content bound to the given ValueModel. |
static javax.swing.JTextArea |
BasicComponentFactory.createTextArea(ValueModel valueModel,
boolean commitOnFocusLost)
Creates and returns a text area with the content bound to the given ValueModel. |
static javax.swing.JTextField |
BasicComponentFactory.createTextField(ValueModel valueModel)
Creates and returns a text field with the content bound to the given ValueModel. |
static javax.swing.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,
java.awt.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(java.util.List<E> items,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the specified List of items and the given selection holder. |
|
ComboBoxAdapter(javax.swing.ListModel listModel,
ValueModel selectionHolder)
Constructs a ComboBoxAdapter for the given ListModel and selection holder. |
|
RadioButtonAdapter(ValueModel subject,
java.lang.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(javax.swing.SpinnerModel spinnerModel,
ValueModel valueModel,
java.lang.Object defaultValue)
Constructs a SpinnerToValueModelConnector that establishes a Synchronization between the SpinnerModel and ValueModel. |
|
TextComponentConnector(ValueModel subject,
javax.swing.JTextArea textArea)
Constructs a TextComponentConnector that connects the specified String-typed subject ValueModel with the given text area. |
|
TextComponentConnector(ValueModel subject,
javax.swing.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,
java.lang.Object selectedValue,
java.lang.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<B>
Converts a single Java Bean property into the generic ValueModel interface. |
Methods in com.jgoodies.binding.beans that return ValueModel | |
---|---|
ValueModel |
BeanAdapter.getBeanChannel()
Returns the ValueModel that holds the bean that in turn holds the adapted properties. |
Methods in com.jgoodies.binding.beans with parameters of type ValueModel | |
---|---|
static void |
PropertyConnector.connectAndUpdate(ValueModel valueModel,
java.lang.Object bean2,
java.lang.String property2Name)
Synchronizes the ValueModel with the specified bound bean property, and updates the bean immediately. |
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,
java.lang.String propertyName)
Constructs a PropertyAdapter for the given
bean channel and property name; does not observe changes. |
|
PropertyAdapter(ValueModel beanChannel,
java.lang.String propertyName,
boolean observeChanges)
Constructs a PropertyAdapter for the given
bean channel and property name; observes changes if specified. |
|
PropertyAdapter(ValueModel beanChannel,
java.lang.String propertyName,
java.lang.String getterName,
java.lang.String setterName)
Constructs a PropertyAdapter for the given bean channel,
property name, getter and setter name; does not observe changes. |
|
PropertyAdapter(ValueModel beanChannel,
java.lang.String propertyName,
java.lang.String getterName,
java.lang.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. |
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,
java.lang.Object defaultValue)
Constructs an NonNullValueModel for the given ValueModel. |
Uses of ValueModel in com.jgoodies.binding.list |
---|
Classes in com.jgoodies.binding.list that implement ValueModel | |
---|---|
class |
SelectionInList<E>
Represents a selection in a list of objects. |
Methods in com.jgoodies.binding.list that return ValueModel | |
---|---|
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. |
Methods in com.jgoodies.binding.list with parameters of type ValueModel | |
---|---|
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. |
Constructors in com.jgoodies.binding.list with parameters of type ValueModel | |
---|---|
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(java.util.List<E> list,
ValueModel selectionHolder)
Constructs a SelectionInList on the given list and selection holder using a default selection index holder. |
|
SelectionInList(java.util.List<E> list,
ValueModel selectionHolder,
ValueModel selectionIndexHolder)
Constructs a SelectionInList on the given list, selection holder, and selection index holder. |
|
SelectionInList(javax.swing.ListModel listModel,
ValueModel selectionHolder)
Constructs a SelectionInList on the given list model and selection holder using a default selection index holder. |
|
SelectionInList(javax.swing.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. |
Uses of ValueModel in com.jgoodies.binding.util |
---|
Methods in com.jgoodies.binding.util 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. |
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,
java.lang.String trueText,
java.lang.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,
java.lang.String trueText,
java.lang.String falseText,
java.lang.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,
java.text.Format format)
Creates and returns a ValueModel that converts objects to Strings and vice versa. |
ValueModel |
BufferedValueModel.getSubject()
Returns the subject, i.e. |
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,
java.lang.String trueText,
java.lang.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,
java.lang.String trueText,
java.lang.String falseText,
java.lang.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,
java.text.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. |
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 BufferedValueModel 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 |