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

ToggleGroup should have writable selectedToggleProperty()

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Imported: