Package com.palantir.ptoss.cinch.swing
Class JListSelectionWiringHarness
java.lang.Object
com.palantir.ptoss.cinch.swing.JListSelectionWiringHarness
- All Implemented Interfaces:
 WiringHarness<BoundSelection,Field> 
- Direct Known Subclasses:
 CheckBoxListSelectionWiringHarness
public class JListSelectionWiringHarness
extends Object
implements WiringHarness<BoundSelection,Field> 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static class - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected static ObjectgetSelectedValue(JList list, ListSelectionModel selectionModel) protected static Object[]getSelectedValues(JList list, ListSelectionModel selectionModel) Collection<? extends Binding>wire(BoundSelection bound, BindingContext context, Field field) Performs the wiring of a specific component based on the passed binding annotation. 
- 
Constructor Details
- 
JListSelectionWiringHarness
public JListSelectionWiringHarness() 
 - 
 - 
Method Details
- 
wire
public Collection<? extends Binding> wire(BoundSelection 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 interfaceWiringHarness<BoundSelection,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:
 IllegalAccessExceptionIntrospectionException
 - 
getSelectedValue
 - 
getSelectedValues
 
 -