Package com.palantir.ptoss.cinch.swing
Class JComboBoxSelectionWiringHarness
java.lang.Object
com.palantir.ptoss.cinch.swing.JComboBoxSelectionWiringHarness
- All Implemented Interfaces:
WiringHarness<BoundSelection,
Field>
public class JComboBoxSelectionWiringHarness
extends Object
implements WiringHarness<BoundSelection,Field>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Binding>
wire
(BoundSelection bound, BindingContext context, Field field) Performs the wiring of a specific component based on the passed binding annotation.
-
Constructor Details
-
JComboBoxSelectionWiringHarness
public JComboBoxSelectionWiringHarness()
-
-
Method Details
-
wire
public Collection<? extends Binding> wire(BoundSelection bound, BindingContext context, Field field) throws IllegalAccessException, IntrospectionException Description copied from interface:WiringHarness
Performs the wiring of a specific component based on the passed binding annotation.- Specified by:
wire
in 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
Binding
objects represent the wirings performed by this harness. - Throws:
IllegalAccessException
IntrospectionException
-