|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
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.EmptyBorder
leon.view.win.swing.table.LyJSpecialCellBorder
public class LyJSpecialCellBorder
This class defines a special border for status, header and footer cell in the table.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyJSpecialCellBorder()
Creates a border with default top,bottom, right and left inset. |
|
LyJSpecialCellBorder(boolean drawSides)
Creates a border with default top,bottom, right and left inset. |
|
LyJSpecialCellBorder(int top,
int left,
int bottom,
int right)
Creates a special border object with the specified insets. |
|
LyJSpecialCellBorder(int top,
int left,
int bottom,
int right,
boolean drawSides)
Creates a special border object with the specified insets. |
|
LyJSpecialCellBorder(int top,
int left,
int bottom,
int right,
boolean drawLeftSide,
boolean drawRightSide)
Creates a special border object with the specified insets. |
Method Summary | |
---|---|
boolean |
isBorderOpaque()
This border never draw its background. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
(non-Javadoc). |
Methods inherited from class javax.swing.border.EmptyBorder |
---|
getBorderInsets, getBorderInsets, getBorderInsets |
Methods inherited from class javax.swing.border.AbstractBorder |
---|
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyJSpecialCellBorder()
public LyJSpecialCellBorder(boolean drawSides)
drawSides
- indicates if left and right borders must be drawn.public LyJSpecialCellBorder(int top, int left, int bottom, int right)
top
- the top inset, in pixelsleft
- the left inset, in pixelsbottom
- the bottom inset, in pixelsright
- the top inset, in pixelspublic LyJSpecialCellBorder(int top, int left, int bottom, int right, boolean drawSides)
top
- the top inset, in pixelsleft
- the left inset, in pixelsbottom
- the bottom inset, in pixelsright
- the top inset, in pixelsdrawSides
- indicates if left and right borders must be drawn.public LyJSpecialCellBorder(int top, int left, int bottom, int right, boolean drawLeftSide, boolean drawRightSide)
top
- the top inset, in pixelsleft
- the left inset, in pixelsbottom
- the bottom inset, in pixelsright
- the top inset, in pixelsdrawLeftSide
- indicates if left border must be drawn.drawRightSide
- indicates if right border must be drawn.Method Detail |
---|
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border
isBorderOpaque
in class javax.swing.border.EmptyBorder
false
.Border.isBorderOpaque()
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.Border
paintBorder
in class javax.swing.border.EmptyBorder
Border.paintBorder(java.awt.Component, java.awt.Graphics, int, int,
int, int)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |