Package com.palantir.ptoss.cinch.swing
Class JTextComponentWiringHarness
- java.lang.Object
-
- com.palantir.ptoss.cinch.swing.JTextComponentWiringHarness
-
- All Implemented Interfaces:
WiringHarness<Bound,java.lang.reflect.Field>
public class JTextComponentWiringHarness extends java.lang.Object implements WiringHarness<Bound,java.lang.reflect.Field>
-
-
Constructor Summary
Constructors Constructor Description JTextComponentWiringHarness()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BindingbindJTextComponent(Mutator mutator, javax.swing.text.JTextComponent textField, java.lang.String[] events)java.util.Collection<Binding>wire(Bound bound, BindingContext context, java.lang.reflect.Field field)Performs the wiring of a specific component based on the passed binding annotation.
-
-
-
Method Detail
-
wire
public java.util.Collection<Binding> wire(Bound bound, BindingContext context, java.lang.reflect.Field field) throws java.lang.IllegalAccessException, java.beans.IntrospectionException
Description copied from interface:WiringHarnessPerforms the wiring of a specific component based on the passed binding annotation.- Specified by:
wirein interfaceWiringHarness<Bound,java.lang.reflect.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:
java.lang.IllegalAccessExceptionjava.beans.IntrospectionException
-
-