Package Summary  Overview Summary

class:MetalScrollButton [NONE]

  • All Implemented Interfaces:
    ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

    public class MetalScrollButton
    extends BasicArrowButton
    
    JButton object for Metal scrollbar arrows.

    Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

constructor:MetalScrollButton(int,int,boolean) [NONE]

  • MetalScrollButton

    public MetalScrollButton​(int direction,
                             int width,
                             boolean freeStanding)
    Constructs an instance of MetalScrollButton.
    Parameters:
    direction - the direction
    width - the width
    freeStanding - the free standing value

method:setFreeStanding(boolean) [NONE]

  • setFreeStanding

    public void setFreeStanding​(boolean freeStanding)
    Sets the free standing value.
    Parameters:
    freeStanding - the free standing value

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

method:getPreferredSize() [NONE]

method:getMinimumSize() [NONE]

method:getMaximumSize() [NONE]

method:getButtonWidth() [NONE]

  • getButtonWidth

    public int getButtonWidth()
    Returns the width of the button.
    Returns:
    the width of the button

© 2019 Oracle Corporation and/or its affiliates