Class MetalBorders.ButtonBorder

java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.metal.MetalBorders.ButtonBorder
All Implemented Interfaces:
Serializable, Border, UIResource
Direct Known Subclasses:
MetalBorders.RolloverButtonBorder, MetalBorders.ToggleButtonBorder
Enclosing class:
MetalBorders
public static class MetalBorders.ButtonBorder extends AbstractBorder implements UIResource
The class represents the border of a JButton.

Field Summary

Modifier and Type Field Description
protected static Insets borderInsets
The border insets.

Constructor Summary

Constructor Description
ButtonBorder()
Constructs a ButtonBorder.

Method Summary

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

borderInsets

protected static Insets borderInsets
The border insets.

Constructor Details

ButtonBorder

public ButtonBorder()
Constructs a ButtonBorder.

© 1993, 2021, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/javax/swing/plaf/metal/MetalBorders.ButtonBorder.html