Package Summary  Overview Summary

class:BasicToolBarUI.DragWindow [NONE]

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
BasicToolBarUI

protected class BasicToolBarUI.DragWindow
extends Window
The window which appears during dragging the JToolBar.

method:getOrientation() [NONE]

  • 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
  • method:setOrientation(int) [NONE]

    setOrientation

    public void setOrientation?(int o)
    Sets the orientation.
    Parameters:
    o - the new orientation

    method:getOffset() [NONE]

    getOffset

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

    method:setOffset(java.awt.Point) [NONE]

    setOffset

    public void setOffset?(Point p)
    Sets the offset.
    Parameters:
    p - the new offset

    method:setBorderColor(java.awt.Color) [NONE]

    setBorderColor

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

    method:getBorderColor() [NONE]

    getBorderColor

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

    method:paint(java.awt.Graphics) [NONE]

    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)

    method:getInsets() [NONE]

    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

    © 2020 Oracle Corporation and/or its affiliates