|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.taursys.swing.NullObject
NullObject is a placeholder for a null value. It has a two properties which are intended for display purposes.
Constructor Summary | |
NullObject()
Constructs a new NullObject |
Method Summary | |
javax.swing.Icon |
getIcon()
Get the icon value for this NullObject. |
java.lang.String |
getText()
Get the text value for this NullObject. |
void |
setIcon(javax.swing.Icon icon)
Set the icon value for this NullObject. |
void |
setText(java.lang.String text)
Set the text value for this NullObject. |
java.lang.String |
toString()
Get the String that represents this object (default is text). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NullObject()
Method Detail |
public void setText(java.lang.String text)
text
- the text value for this NullObject.public java.lang.String getText()
public void setIcon(javax.swing.Icon icon)
icon
- the icon value for this NullObject.public javax.swing.Icon getIcon()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |