Req for per instance property support in Synth XML.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P5
    • None
    • Affects Version/s: 5.0
    • Component/s: client-libs

      A DESCRIPTION OF THE REQUEST :
      Synth has an excellent descriptive way to generate L&F. It would be good if there was a way to refer to custom properties set in the component using JComponent->putClient Property. e.g., a REQUIRED property in a textfield can be used to decorated the component by coloring the background to a different color. This is similar to per instance states like ENABLED, SELECTED etc.

      JUSTIFICATION :
      I feel, this would add to the value of the Synth module.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Some where in code: mytextfield.putClientProperty("REQUIRED", true);

      Synth L&F supports either a state of property based style which is automatically used as the new style for this textfield.
      ACTUAL -
      There is no way to use custom properties in Synth's XML.

      CUSTOMER SUBMITTED WORKAROUND :
      Implement the L&F using code.

            Assignee:
            Peter Zhelezniakov
            Reporter:
            Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: