Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091632

ToggleGroup should have writable selectedToggleProperty()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • fx2.1
    • javafx

    Description

      See this discussion here:
      https://forums.oracle.com/forums/thread.jspa?threadID=2399658

      It is unconvenient to bind the selectedToggleProperty bidirectional, since it is read only.

      What you have to is, add a listener to the Toggle, you want to bind, and then manually call selectToggle().

      I see no reason to make it read only.

      It should be similar to the ComboBox's valueProperty()

      Please check if this is appropriate. Maybe there are reasons for being read only, we don't know about.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cschudtjfx Christian Schudt (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Imported: