smooth.metal
Class SmoothBorders

java.lang.Object
  extended by javax.swing.plaf.metal.MetalBorders
      extended by 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 Class Summary
static class SmoothBorders.ButtonBorder
           
static class SmoothBorders.FrameBorder
           
static class SmoothBorders.InternalFrameBorder
           
static class SmoothBorders.OptionDialogBorder
           
static class SmoothBorders.PaletteBorder
           
 
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
 
Constructor Summary
SmoothBorders()
           
 
Method Summary
static javax.swing.border.Border getButtonBorder()
           
static javax.swing.border.Border getFrameBorder()
           
static javax.swing.border.Border getInternalFrameBorder()
           
static javax.swing.border.Border getOptionDialogBorder()
           
static javax.swing.border.Border getPaletteBorder()
           
 
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
 

Constructor Detail

SmoothBorders

public SmoothBorders()
Method Detail

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.