|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.quartzware.ResBundle
Encapsulates the data and functions of a 'resource bundle'.
Field Summary | |
private boolean |
dirty |
private java.util.Vector |
entries |
private EditorWindow |
parent |
Constructor Summary | |
ResBundle() Default Constructor |
|
ResBundle(Entry[] entries)
Constructs a ResBundle from the given array of entries |
|
ResBundle(java.util.Vector entries)
Constructs a ResBundle from the given vector of entries |
Method Summary | |
void |
addKey(java.lang.String key)
Adds a new key to this ResBundle |
void |
deleteKey(java.lang.String key)
Removes the entry corresponding to 'key' from this resbundle. |
Entry |
getEntry(int idx)
Returns the nth entry held by this ResBundle |
void |
hiliteEntry(int index)
Highlights an entry. |
boolean |
isDirty() Returns whether or not this ResBundle has been modified since the last save |
void |
setDirty(boolean dirty)
Tell this ResBundle whether it is dirty or not. |
void |
setEditorWindow(EditorWindow ew)
Tell this EditorWindow who its parent is. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.Vector entries
private boolean dirty
private EditorWindow parent
Constructor Detail |
public ResBundle()
public ResBundle(Entry[] entries)
entries
- an array of entries from which to create this ResBundlepublic ResBundle(java.util.Vector entries)
entries
- a vector of entries from which to create this ResBundleMethod Detail |
public Entry getEntry(int idx)
idx
- the index of the entry to returnpublic void deleteKey(java.lang.String key)
entries
- an array of entries from which to create this ResBundlepublic boolean isDirty()
public void setDirty(boolean dirty)
dirty
- the value to set dirty to.public void hiliteEntry(int index)
index
- index of the Entry to highlight.public void setEditorWindow(EditorWindow ew)
ew
- The parentpublic void addKey(java.lang.String key)
key
- the key to add
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |