LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.table
Class LyJFooterCellBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.EmptyBorder
          extended by leon.view.win.swing.table.LyJSpecialCellBorder
              extended by leon.view.win.swing.table.LyJFooterCellBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border

public class LyJFooterCellBorder
extends LyJSpecialCellBorder

This class defines a special border for status, header and footer cells in the table.

See Also:
Serialized Form

Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyJFooterCellBorder()
          Creates a border with default top,bottom, right and left inset.
LyJFooterCellBorder(boolean drawSides)
          Creates a border with default top,bottom, right and left inset.
LyJFooterCellBorder(int top, int left, int bottom, int right)
          Creates a border object with the specified insets.
LyJFooterCellBorder(int top, int left, int bottom, int right, boolean drawSides)
          Creates a border with default top,bottom, right and left inset.
 
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

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyJFooterCellBorder

public LyJFooterCellBorder()
Creates a border with default top,bottom, right and left inset.


LyJFooterCellBorder

public LyJFooterCellBorder(boolean drawSides)
Creates a border with default top,bottom, right and left inset.

Parameters:
drawSides - indicates if left and right borders must be drawn.

LyJFooterCellBorder

public LyJFooterCellBorder(int top,
                           int left,
                           int bottom,
                           int right)
Creates a border object with the specified insets.

Parameters:
top - the top inset, in pixels
left - the left inset, in pixels
bottom - the bottom inset, in pixels
right - the top inset, in pixels

LyJFooterCellBorder

public LyJFooterCellBorder(int top,
                           int left,
                           int bottom,
                           int right,
                           boolean drawSides)
Creates a border with default top,bottom, right and left inset.

Parameters:
top - the top inset, in pixels
left - the left inset, in pixels
bottom - the bottom inset, in pixels
right - the top inset, in pixels
drawSides - indicates if left and right borders must be drawn.
Method Detail

isBorderOpaque

public boolean isBorderOpaque()
Description copied from class: LyJSpecialCellBorder
This border never draw its background.

Specified by:
isBorderOpaque in interface javax.swing.border.Border
Overrides:
isBorderOpaque in class LyJSpecialCellBorder
Returns:
false.
See Also:
Border.isBorderOpaque()

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
(non-Javadoc).

Specified by:
paintBorder in interface javax.swing.border.Border
Overrides:
paintBorder in class LyJSpecialCellBorder
See Also:
Border.paintBorder(java.awt.Component, java.awt.Graphics, int, int, int, int)

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com