javax.swing.plaf.basic

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)
      • getOffset

        public Point getOffset()
      • setOffset

        public void setOffset(Point p)
      • setBorderColor

        public void setBorderColor(Color c)
      • getBorderColor

        public Color getBorderColor()
      • paint

        public void paint(Graphics g)
        Description copied from class: Window
        Paints the container. This forwards the paint to any lightweight components that are children of this container. If this method is reimplemented, super.paint(g) should be called so that lightweight components are properly rendered. If a child component is entirely clipped by the current clipping setting in g, paint() will not be forwarded to that child.
        Overrides:
        paint in class Window
        Parameters:
        g - the specified Graphics window
        See Also:
        Component.update(Graphics)
      • getInsets

        public Insets getInsets()
        Description copied from class: Container
        Determines the insets of this container, which indicate the size of the container's border.

        A Frame object, for example, has a top inset that corresponds to the height of the frame's title bar.

        Overrides:
        getInsets in class Container
        Returns:
        the insets of this container.
        See Also:
        Insets, LayoutManager

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/plaf/basic/basictoolbarui.dragwindow.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut