smooth.metal
Class SmoothBorders
java.lang.Object
javax.swing.plaf.metal.MetalBorders
smooth.metal.SmoothBorders
public class SmoothBorders
- extends javax.swing.plaf.metal.MetalBorders
Border factory. Modelled after the MetalBorders, from which it inherits. The
paintBorder() method is overridden to turn on anti-aliasing.
This is very similar to what's done in UI delegates.
| Nested classes/interfaces inherited from class javax.swing.plaf.metal.MetalBorders |
javax.swing.plaf.metal.MetalBorders.Flush3DBorder, javax.swing.plaf.metal.MetalBorders.MenuBarBorder, javax.swing.plaf.metal.MetalBorders.MenuItemBorder, javax.swing.plaf.metal.MetalBorders.PopupMenuBorder, javax.swing.plaf.metal.MetalBorders.RolloverButtonBorder, javax.swing.plaf.metal.MetalBorders.ScrollPaneBorder, javax.swing.plaf.metal.MetalBorders.TableHeaderBorder, javax.swing.plaf.metal.MetalBorders.TextFieldBorder, javax.swing.plaf.metal.MetalBorders.ToggleButtonBorder, javax.swing.plaf.metal.MetalBorders.ToolBarBorder |
| Methods inherited from class javax.swing.plaf.metal.MetalBorders |
getDesktopIconBorder, getTextBorder, getTextFieldBorder, getToggleButtonBorder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmoothBorders
public SmoothBorders()
getButtonBorder
public static javax.swing.border.Border getButtonBorder()
getFrameBorder
public static javax.swing.border.Border getFrameBorder()
getInternalFrameBorder
public static javax.swing.border.Border getInternalFrameBorder()
getOptionDialogBorder
public static javax.swing.border.Border getOptionDialogBorder()
getPaletteBorder
public static javax.swing.border.Border getPaletteBorder()
Licensed under the MIT license.