public class ExecutionTableBorder
extends java.lang.Object
Border
use the static method createBorder(ExecutionTableBorder, ExecutionTableBorder, ExecutionTableBorder, ExecutionTableBorder)
.Constructor and Description |
---|
ExecutionTableBorder(int width,
java.awt.Color color)
Creates a new border.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.border.Border |
createBorder(ExecutionTableBorder left,
ExecutionTableBorder right,
ExecutionTableBorder top,
ExecutionTableBorder bottom)
Creates a swing
Border using four borders. |
java.awt.Color |
getColor()
Gets the color of the border.
|
int |
getWidth()
Gets the width of the border.
|
java.lang.String |
toString() |
public ExecutionTableBorder(int width, java.awt.Color color) throws java.lang.IllegalArgumentException
width
- the width of the bordercolor
- the color of the borderjava.lang.IllegalArgumentException
- < 0
public final int getWidth()
public final java.awt.Color getColor()
public java.lang.String toString()
toString
in class java.lang.Object
public static javax.swing.border.Border createBorder(ExecutionTableBorder left, ExecutionTableBorder right, ExecutionTableBorder top, ExecutionTableBorder bottom)
Border
using four borders.left
- the left borderright
- the right bordertop
- the top borderbottom
- the bottom border