Package com.palantir.ptoss.cinch.swing
Class JSpinnerWiringHarness
java.lang.Object
com.palantir.ptoss.cinch.swing.JSpinnerWiringHarness
- All Implemented Interfaces:
- WiringHarness<Bound,- Field> 
A 
WiringHarness for binding a JSpinner to a value in a BindableModel. Only knows how to deal
 with numbers.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Collection<Binding>bindJSpinner(JSpinner spinner, Mutator mutator) wire(Bound bound, BindingContext context, Field field) Performs the wiring of a specific component based on the passed binding annotation.
- 
Constructor Details- 
JSpinnerWiringHarnesspublic JSpinnerWiringHarness()
 
- 
- 
Method Details- 
wirepublic Collection<Binding> wire(Bound bound, BindingContext context, Field field) throws IllegalAccessException, IntrospectionException Description copied from interface:WiringHarnessPerforms the wiring of a specific component based on the passed binding annotation.- Specified by:
- wirein interface- WiringHarness<Bound,- Field> 
- Parameters:
- bound- annotation containing the data needed to wire this component to the context.
- context- metadata about the context for wiring.
- field- the component to be wired by this harness.
- Returns:
- one or more Bindingobjects represent the wirings performed by this harness.
- Throws:
- IllegalAccessException
- IntrospectionException
 
- 
bindJSpinner
 
-