|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.border.LineBorder
com.jidesoft.swing.PartialLineBorder
public class PartialLineBorder
This is a better version of LineBorder which allows you to show line only at one side or several sides and supports rounded corner.
| Field Summary |
|---|
| Fields inherited from class javax.swing.border.LineBorder |
|---|
lineColor, roundedCorners, thickness |
| Fields inherited from interface com.jidesoft.swing.PartialSide |
|---|
ALL, EAST, HORIZONTAL, NORTH, SOUTH, VERTICAL, WEST |
| Constructor Summary | |
|---|---|
PartialLineBorder(Color color)
|
|
PartialLineBorder(Color color,
int thickness)
|
|
PartialLineBorder(Color color,
int thickness,
boolean roundedCorners)
|
|
PartialLineBorder(Color color,
int thickness,
boolean roundedCorners,
int roundedCornerSize)
|
|
PartialLineBorder(Color color,
int thickness,
int side)
|
|
| Method Summary | |
|---|---|
Insets |
getBorderInsets(Component c)
|
Insets |
getBorderInsets(Component c,
Insets insets)
|
int |
getRoundedCornerSize()
|
int |
getSides()
|
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
|
void |
setRoundedCornerSize(int roundedCornerSize)
|
void |
setSides(int sides)
|
| Methods inherited from class javax.swing.border.LineBorder |
|---|
createBlackLineBorder, createGrayLineBorder, getLineColor, getRoundedCorners, getThickness, isBorderOpaque |
| Methods inherited from class javax.swing.border.AbstractBorder |
|---|
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PartialLineBorder(Color color)
public PartialLineBorder(Color color,
int thickness)
public PartialLineBorder(Color color,
int thickness,
boolean roundedCorners)
public PartialLineBorder(Color color,
int thickness,
boolean roundedCorners,
int roundedCornerSize)
public PartialLineBorder(Color color,
int thickness,
int side)
| Method Detail |
|---|
public int getSides()
public void setSides(int sides)
public int getRoundedCornerSize()
public void setRoundedCornerSize(int roundedCornerSize)
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface BorderpaintBorder in class LineBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class LineBorder
public Insets getBorderInsets(Component c,
Insets insets)
getBorderInsets in class LineBorder
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||