|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.substance.internal.utils.border.SubstanceTableCellBorder
public class SubstanceTableCellBorder
Table cell border for the Substance look and feel.
Field Summary | |
---|---|
protected float |
alpha
Border alpha. |
protected SubstanceTableUI.TableCellId |
cellId
|
protected java.awt.Insets |
myInsets
Insets of this border. |
protected SubstanceTableUI |
ui
|
Constructor Summary | |
---|---|
SubstanceTableCellBorder(java.awt.Insets insets,
SubstanceTableUI ui,
SubstanceTableUI.TableCellId cellId)
Creates a new border with the specified insets. |
Method Summary | |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
boolean |
isBorderOpaque()
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
void |
setAlpha(float alpha)
Sets the alpha for this border. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.awt.Insets myInsets
this
border.
protected SubstanceTableUI ui
protected SubstanceTableUI.TableCellId cellId
protected float alpha
Constructor Detail |
---|
public SubstanceTableCellBorder(java.awt.Insets insets, SubstanceTableUI ui, SubstanceTableUI.TableCellId cellId)
insets
- 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.Border
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border
public void setAlpha(float alpha)
alpha
- Alpha factor.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |