|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.swing.components.wizard.EdgeBorder
public class EdgeBorder
Edge border.
| Field Summary | |
|---|---|
protected int |
edgePosition
Edge position (SwingConstants.NORTH/SwingConstants.SOUTH/SwingConstants.EAST/SwingConstants.WEST) |
static int |
LOWERED
Lowered border |
static int |
RAISED
Raised border |
protected int |
style
Border style (RAISED/LOWERED) |
| 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()
Constructor. |
|
EdgeBorder(int edgePosition)
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component comp)
Gets the border insets according to the edge position. |
boolean |
isBorderOpaque()
Determines if the border is opaque. |
void |
paintBorder(java.awt.Component component,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
Paints 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 edgePosition
protected int style
| Constructor Detail |
|---|
public EdgeBorder()
public EdgeBorder(int edgePosition)
edgePosition - Edge position (SwingConstants.NORTH/SwingConstants.SOUTH/SwingConstants.EAST/SwingConstants.WEST)| Method Detail |
|---|
public java.awt.Insets getBorderInsets(java.awt.Component comp)
getBorderInsets in interface javax.swing.border.Bordercomp - Not used
public boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Border
public void paintBorder(java.awt.Component component,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
paintBorder in interface javax.swing.border.Bordercomponent - Componentg - Graphics contextx - X positiony - Y positionw - Widthh - Height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||