Module java.desktop

Class BasicToolBarUI.DragWindow

    • Method Detail

      • getOrientation

        public int getOrientation()
        Returns the orientation of the toolbar window when the toolbar is floating. The orientation is either one of JToolBar.HORIZONTAL or JToolBar.VERTICAL.
        Returns:
        the orientation of the toolbar window
        Since:
        1.6
      • setOrientation

        public void setOrientation​(int o)
        Sets the orientation.
        Parameters:
        o - the new orientation
      • getOffset

        public Point getOffset()
        Returns the offset.
        Returns:
        the offset
      • setOffset

        public void setOffset​(Point p)
        Sets the offset.
        Parameters:
        p - the new offset
      • setBorderColor

        public void setBorderColor​(Color c)
        Sets the border color.
        Parameters:
        c - the new border color
      • getBorderColor

        public Color getBorderColor()
        Returns the border color.
        Returns:
        the border color