Annotation Interface BoundSelection


@Retention(RUNTIME) @Target(FIELD) public @interface BoundSelection
A binding for an interface component that has a selection like a JList or JComboBox.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Inner utility class that performs the runtime wiring of all BoundSelection bindings.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The model property to bind to.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether or not a JList should bind with multiselect.
    How to render the null value in a JComboBox.
    When this binding should occur.
  • Element Details

    • to

      String to
      The model property to bind to.
    • on

      String[] on
      When this binding should occur.
      Default:
      {""}
    • nullValue

      String nullValue
      How to render the null value in a JComboBox.
      Default:
      ""
    • multi

      boolean multi
      Whether or not a JList should bind with multiselect.
      Default:
      false