Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.javatools.border
Class JavatoolsBorderFactory

java.lang.Object
  extended by oracle.javatools.border.JavatoolsBorderFactory

public final class JavatoolsBorderFactory
extends java.lang.Object

The JavatoolsBorderFactory is the factory class for creating single- or multi-side line borders. Wherever possible, the factory will hand out references to shared Border instances.

See Also:
BorderFactory

Method Summary
static javax.swing.border.Border createBottomBorder(java.awt.Color color)
          Creates a single-thickness bottom-side line border (underline) using the specified color.
static javax.swing.border.Border createBottomBorder(java.awt.Color color, int thickness)
          Creates a bottom-side line border (underline) using the specified color and thickness.
static javax.swing.border.Border createLeftBorder(java.awt.Color color)
          Creates a single-thickness left-side line border using the specified color.
static javax.swing.border.Border createLeftBorder(java.awt.Color color, int thickness)
          Creates a left-side line border using the specified color and thickness.
static javax.swing.border.Border createLeftRightBorder(java.awt.Color color)
          Creates a single-thickness combination left-side and right-side line border using the specified color for both sides.
static javax.swing.border.Border createLeftRightBorder(java.awt.Color leftColor, java.awt.Color rightColor)
          Creates a single-thickness combination left-side and right-side line border using the specified left and right colors.
static javax.swing.border.Border createLeftRightBorder(java.awt.Color color, int thickness)
          Creates a combination left-side and right-side line border using the specified color and thickness for both sides.
static javax.swing.border.Border createLeftRightBorder(java.awt.Color leftColor, int leftThickness, java.awt.Color rightColor, int rightThickness)
          Creates a combination left-side and right-side line border using the specified left and right colors and thicknesses.
static javax.swing.border.Border createRightBorder(java.awt.Color color)
          Creates a single-thickness right-side line border using the specified color.
static javax.swing.border.Border createRightBorder(java.awt.Color color, int thickness)
          Creates a right-side line border using the specified color and thickness.
static javax.swing.border.Border createTopBorder(java.awt.Color color)
          Creates a single-thickness top-side line border (overline) using the specified color.
static javax.swing.border.Border createTopBorder(java.awt.Color color, int thickness)
          Creates a top-side line border (overline) using the specified color and thickness.
static javax.swing.border.Border createTopBottomBorder(java.awt.Color color)
          Creates a single-thickness combination top-side and bottom-side line border using the specified color for both sides.
static javax.swing.border.Border createTopBottomBorder(java.awt.Color topColor, java.awt.Color bottomColor)
          Creates a single-thickness combination top-side and bottom-side line border using the specified top and bottom colors.
static javax.swing.border.Border createTopBottomBorder(java.awt.Color color, int thickness)
          Creates a combination top-side and bottom-side line border using the specified color and thickness for both sides.
static javax.swing.border.Border createTopBottomBorder(java.awt.Color topColor, int topThickness, java.awt.Color bottomColor, int bottomThickness)
          Creates a combination top-side and bottom-side line border using the specified top and bottom colors and thicknesses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createTopBorder

public static javax.swing.border.Border createTopBorder(java.awt.Color color)
Creates a single-thickness top-side line border (overline) using the specified color.


createTopBorder

public static javax.swing.border.Border createTopBorder(java.awt.Color color,
                                                        int thickness)
Creates a top-side line border (overline) using the specified color and thickness.


createBottomBorder

public static javax.swing.border.Border createBottomBorder(java.awt.Color color)
Creates a single-thickness bottom-side line border (underline) using the specified color.


createBottomBorder

public static javax.swing.border.Border createBottomBorder(java.awt.Color color,
                                                           int thickness)
Creates a bottom-side line border (underline) using the specified color and thickness.


createTopBottomBorder

public static javax.swing.border.Border createTopBottomBorder(java.awt.Color color)
Creates a single-thickness combination top-side and bottom-side line border using the specified color for both sides.


createTopBottomBorder

public static javax.swing.border.Border createTopBottomBorder(java.awt.Color topColor,
                                                              java.awt.Color bottomColor)
Creates a single-thickness combination top-side and bottom-side line border using the specified top and bottom colors.


createTopBottomBorder

public static javax.swing.border.Border createTopBottomBorder(java.awt.Color color,
                                                              int thickness)
Creates a combination top-side and bottom-side line border using the specified color and thickness for both sides.


createTopBottomBorder

public static javax.swing.border.Border createTopBottomBorder(java.awt.Color topColor,
                                                              int topThickness,
                                                              java.awt.Color bottomColor,
                                                              int bottomThickness)
Creates a combination top-side and bottom-side line border using the specified top and bottom colors and thicknesses.


createLeftBorder

public static javax.swing.border.Border createLeftBorder(java.awt.Color color)
Creates a single-thickness left-side line border using the specified color.


createLeftBorder

public static javax.swing.border.Border createLeftBorder(java.awt.Color color,
                                                         int thickness)
Creates a left-side line border using the specified color and thickness.


createRightBorder

public static javax.swing.border.Border createRightBorder(java.awt.Color color)
Creates a single-thickness right-side line border using the specified color.


createRightBorder

public static javax.swing.border.Border createRightBorder(java.awt.Color color,
                                                          int thickness)
Creates a right-side line border using the specified color and thickness.


createLeftRightBorder

public static javax.swing.border.Border createLeftRightBorder(java.awt.Color color)
Creates a single-thickness combination left-side and right-side line border using the specified color for both sides.


createLeftRightBorder

public static javax.swing.border.Border createLeftRightBorder(java.awt.Color leftColor,
                                                              java.awt.Color rightColor)
Creates a single-thickness combination left-side and right-side line border using the specified left and right colors.


createLeftRightBorder

public static javax.swing.border.Border createLeftRightBorder(java.awt.Color color,
                                                              int thickness)
Creates a combination left-side and right-side line border using the specified color and thickness for both sides.


createLeftRightBorder

public static javax.swing.border.Border createLeftRightBorder(java.awt.Color leftColor,
                                                              int leftThickness,
                                                              java.awt.Color rightColor,
                                                              int rightThickness)
Creates a combination left-side and right-side line border using the specified left and right colors and thicknesses.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.