Package com.palantir.ptoss.cinch.swing
Class CheckBoxListSelectionWiringHarness
- java.lang.Object
-
- com.palantir.ptoss.cinch.swing.JListSelectionWiringHarness
-
- com.palantir.ptoss.cinch.swing.CheckBoxListSelectionWiringHarness
-
- All Implemented Interfaces:
WiringHarness<BoundSelection,java.lang.reflect.Field>
public class CheckBoxListSelectionWiringHarness extends JListSelectionWiringHarness
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.palantir.ptoss.cinch.swing.JListSelectionWiringHarness
JListSelectionWiringHarness.BoundSelectionListener, JListSelectionWiringHarness.ListBinding
-
-
Constructor Summary
Constructors Constructor Description CheckBoxListSelectionWiringHarness()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<? extends Binding>
wire(BoundSelection bound, BindingContext context, java.lang.reflect.Field field)
Performs the wiring of a specific component based on the passed binding annotation.-
Methods inherited from class com.palantir.ptoss.cinch.swing.JListSelectionWiringHarness
getSelectedValue, getSelectedValues
-
-
-
-
Method Detail
-
wire
public java.util.Collection<? extends Binding> wire(BoundSelection bound, BindingContext context, java.lang.reflect.Field field) throws java.lang.IllegalAccessException, java.beans.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,java.lang.reflect.Field>
- Overrides:
wire
in classJListSelectionWiringHarness
- 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:
java.lang.IllegalAccessException
java.beans.IntrospectionException
-
-