|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
org.openbp.swing.plaf.sky.SimpleRoundBorder
public class SimpleRoundBorder
A Round Border with one dark line.
| Constructor Summary | |
|---|---|
SimpleRoundBorder()
Creates a new SimpleRoundBorder instance with no Insets. |
|
SimpleRoundBorder(java.awt.Insets insets)
Creates a new SimpleRoundBorder instance with the
given Insets between Component and Border. |
|
SimpleRoundBorder(int top,
int left,
int bottom,
int right)
Creates a new SimpleRoundBorder instance with the given
Insets between Componetn and Border. |
|
| Method Summary | |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Implements AbstractBorder and returns teh current Insets. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
Implements AbstracBorder and paints the Border around the Component. |
| Methods inherited from class javax.swing.border.AbstractBorder |
|---|
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleRoundBorder(java.awt.Insets insets)
SimpleRoundBorder instance with the
given Insets between Component and Border.
insets - an Insets value
public SimpleRoundBorder(int top,
int left,
int bottom,
int right)
SimpleRoundBorder instance with the given
Insets between Componetn and Border.
top - the top offsetleft - the left offsetbottom - the bottom offsetright - the right offsetpublic SimpleRoundBorder()
SimpleRoundBorder instance with no Insets.
| Method Detail |
|---|
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface javax.swing.border.BorderpaintBorder in class javax.swing.border.AbstractBorderc - a Component valueg - a Graphics valuex - an int valuey - an int valuewidth - an int valueheight - an int valuepublic java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.BordergetBorderInsets in class javax.swing.border.AbstractBorderc - a Component value
Insets value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||