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

JToolBar needs a way to limit docking to a particular orientation

    XMLWordPrintable

Details

    • tiger
    • generic, x86
    • generic, windows_xp

    Description



      Name: krT82822 Date: 01/14/99


      When a component like a Combobox or a TextField is added to a
      toolbar it no longer makes sense(IMHO) that it should be docked
      in in a vertical orientation. Just take a look at the PC's
      WordPad application, which prevents vertically docking of the
      toolbar that contains the font combobox. In Visual C++ when a
      toolbar containing a combobox is docked vertically, the combobox
      component is actually removed temporarily from the toolbar. The
      same appears to be true of the Microsoft Office family of apps.
      I think it would make more sense for the case of toolbars containing
      non-button components that the GUI prevent vertical docking instead
      of temporarily removing components(but that's my opinion).

      The point is that there are probably times when a toolbar should not be
      allowed to be docked vertically. Because of this I feel the
      JToolBar should provide us with an API to specify the valid
      docking orientations(by default it would be ALL). Maybe something
      like setDockingOrientation(JToolBar.HORIZONTAL).
      (Review ID: 52582)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              leifs Leif Samuelsson (Inactive)
              kryansunw Kevin Ryan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: