|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.btools.gui.component.FancyData
Contains a piece of data along with a variety of associated attributes. Any of these attributes may be null, in which case they will be ignored. This class can be used in conjunction with various cell renderers and editors.
Field Summary | |
java.lang.Object |
data
The piece of data stored. |
java.awt.Color |
fgColor
The foreground colour with which to draw the data. |
java.lang.String |
toolTip
A tooltip associated with the data. |
Constructor Summary | |
FancyData(java.lang.Object data,
java.awt.Color fgColor)
Creates a new object with the given attributes. |
|
FancyData(java.lang.Object data,
java.awt.Color fgColor,
java.lang.String toolTip)
Creates a new object with the given attributes. |
|
FancyData(java.lang.Object data,
java.lang.String toolTip)
Creates a new object with the given attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Object data
public java.awt.Color fgColor
public java.lang.String toolTip
Constructor Detail |
public FancyData(java.lang.Object data, java.awt.Color fgColor, java.lang.String toolTip)
data
- the piece data to store.fgColor
- the foreground colour with which to draw the data.toolTip
- a tooltip associated with the data.public FancyData(java.lang.Object data, java.awt.Color fgColor)
data
- the piece data to store.fgColor
- the foreground colour with which to draw the data.public FancyData(java.lang.Object data, java.lang.String toolTip)
data
- the piece data to store.toolTip
- a tooltip associated with the data.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |