|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.quartzware.Entry
Entry Encapsulates the data and function of an entry in the JTable in an EditorWindow This is equivalent to one row in an EditorWindow.
Constructor Summary | |
Entry(ResBundle owner,
java.lang.String key,
Value val,
java.lang.String comment,
boolean unique)
Constructs an Entry from the components of an entry |
Method Summary | |
boolean |
editValue()
This function will allow the user to edit the value in this entry. |
java.lang.Object |
elementAt(ResBundle ref,
int ndx)
This function will retrieve the proper item at index ndx |
java.lang.String |
getComment()
Returns the comment for this Entry |
java.lang.String |
getKey()
Returns the unique key name in this entry. |
ResBundle |
getOwner()
Returns a reference to the ResBundle which owns this Entry. |
Value |
getParentValue()
Returns the value of the parent of this bundle |
Value |
getValue()
Returns the value of this Entry. |
boolean |
isUnique()
Returns whether this entry is inherited from the parent |
void |
setComment(java.lang.String com)
Sets the comment for this Entry |
void |
setKey(java.lang.String keyName)
Sets the unique key name in this entry. |
void |
setOwner(ResBundle rb)
Sets a reference to the ResBundle which owns this Entry. |
void |
setUnique(boolean uniq)
Sets whether this entry is inherited from the parent |
void |
setValue(java.lang.String val)
Sets the value for this Entry |
void |
setValue(Value val)
Sets the value for this Entry |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Entry(ResBundle owner, java.lang.String key, Value val, java.lang.String comment, boolean unique)
key
- the unique key used to identify this entryval
- the value that this entry will holdcomment
- a comment about the value
PRE: owner, key, val, and comment are not null
POST: This class is createdMethod Detail |
public java.lang.Object elementAt(ResBundle ref, int ndx)
public boolean editValue()
public java.lang.String getKey()
public void setKey(java.lang.String keyName)
the
- key owned by this Entrypublic Value getValue()
public void setValue(java.lang.String val)
the
- new val for this Entrypublic void setValue(Value val)
the
- new val for this Entrypublic java.lang.String getComment()
public void setComment(java.lang.String com)
com
- the new comment.public boolean isUnique()
public void setUnique(boolean uniq)
uniq
- true if this entry is inherited from the parentpublic ResBundle getOwner()
public void setOwner(ResBundle rb)
a
- ResBundlepublic Value getParentValue()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |