|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.common.swing.EdgeBorder
public class EdgeBorder
EdgeBorder.
The GNU General Public License for details.| Field Summary | |
|---|---|
protected int |
edge
The edge to draw |
protected int |
lift
The raised/lowered state |
static int |
LOWERED
A lowered border |
static int |
RAISED
A raised border |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Constructor Summary | |
|---|---|
EdgeBorder()
Create an EdgeBorder showing a northern border |
|
EdgeBorder(int edge)
Create an EdgeBorder with a selected edge |
|
| Method Summary | |
|---|---|
Insets |
getBorderInsets(Component component)
Get the insets for a given component |
boolean |
isBorderOpaque()
Is this border opaque |
void |
paintBorder(Component component,
Graphics g,
int x,
int y,
int w,
int h)
Actually go and paint the border |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RAISED
public static final int LOWERED
protected int edge
protected int lift
| Constructor Detail |
|---|
public EdgeBorder()
public EdgeBorder(int edge)
edge - The edge to display| Method Detail |
|---|
public Insets getBorderInsets(Component component)
getBorderInsets in interface Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface Border
public void paintBorder(Component component,
Graphics g,
int x,
int y,
int w,
int h)
paintBorder in interface Border
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||