com.jstatcom.table
Class BorderTableBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- com.jstatcom.table.BorderTableBorder
-
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
public class BorderTableBorder extends javax.swing.border.AbstractBorderMost inner border forBorderTables. ABorderTablealways has an instance of this border set. Event when setting a new border it effectively creates a combined border with an instance of this border as the inner border.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description BorderTableBorder()Creates a newBorderTableBorder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.InsetsgetBorderInsets(java.awt.Component c)Overloads method from superclass.java.awt.InsetsgetBorderInsets(java.awt.Component c, java.awt.Insets insets)Overloads method from superclass.booleanisBorderOpaque()Never changes, returnsfalse.voidpaintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)Overloads superclass method to paint this border.
-
-
-
Method Detail
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
Overloads method from superclass. Gets the insets for this border.- Specified by:
getBorderInsetsin interfacejavax.swing.border.Border- Overrides:
getBorderInsetsin classjavax.swing.border.AbstractBorder- Parameters:
c- ignored, can benull- Returns:
- insets
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)Overloads method from superclass. Reinitializes theinsetswith this Border's current insets.- Overrides:
getBorderInsetsin classjavax.swing.border.AbstractBorder- Parameters:
c- ignored, can benullinsets- parameter to be reinitialized with border insets- Returns:
- the insets parameter after it was reinitialized
-
isBorderOpaque
public boolean isBorderOpaque()
Never changes, returnsfalse.- Specified by:
isBorderOpaquein interfacejavax.swing.border.Border- Overrides:
isBorderOpaquein classjavax.swing.border.AbstractBorder- Returns:
false
-
paintBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)Overloads superclass method to paint this border.- Specified by:
paintBorderin interfacejavax.swing.border.Border- Overrides:
paintBorderin classjavax.swing.border.AbstractBorder
-
-
DMelt 3.0 © DataMelt by jWork.ORG