Class JLabelWiringHarness

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Binding bindJLabel​(Mutator mutator, javax.swing.JLabel label)  
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JLabelWiringHarness

        public JLabelWiringHarness()
    • 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: WiringHarness
        Performs the wiring of a specific component based on the passed binding annotation.
        Specified by:
        wire in interface WiringHarness<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 Binding objects represent the wirings performed by this harness.
        Throws:
        java.lang.IllegalAccessException
        java.beans.IntrospectionException
      • bindJLabel

        public static Binding bindJLabel​(Mutator mutator,
                                         javax.swing.JLabel label)