|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.norvelle.textcite.model.CiteBook
public class CiteBook
Nested Class Summary | |
---|---|
static class |
CiteBook.CiteBookConverter
CiteBookConverter is an inner class used for serializing CiteBook objects via XStream. |
Field Summary | |
---|---|
static java.lang.String |
FILENAME_PROPERTY
Strings used to identify property entries in the Properties object of the CiteBook. |
static java.lang.String |
VERSION_PROPERTY
|
Constructor Summary | |
---|---|
CiteBook()
CiteBook constructor. |
Method Summary | |
---|---|
void |
clear()
Empty the CiteBook of all contents. |
void |
doPostLoad()
Perform any cleanup necessary after loading a new CiteBook from the disk |
AuthorCollection |
getAuthorList()
Property getter for retrieving the AuthorCollection. |
BookCollection |
getBookList()
Property getter for retrieving the BookCollection. |
CategoryTree |
getCategoryTree()
Property getter for retrieving the CategoryList. |
CitationCollection |
getCitationList()
Property getter for retrieving the CitationCollection. |
int |
getObjectCount()
|
java.lang.String |
getProperty(java.lang.String pname)
Property getter for retrieving a property value from the Properties collection. |
boolean |
needsSave()
Return the saved-status of the CiteBook. |
void |
notifyListeners(boolean value)
Notify any SaveFlagChangeListeners of the current value. |
void |
registerSaveFlagListener(SaveFlagChangeListener l)
Register a SaveFlagChangeListener |
void |
setProperty(java.lang.String pname,
java.lang.String pvalue)
Property setter for setting a property value in the Properties collection |
void |
setSaveFlag()
Set the needsSaveFlag to true... called whenever a modification is made to the CiteBook. |
void |
unsetSaveFlag()
Set the needsSaveFlag to false... called whenever the CiteBook is saved. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FILENAME_PROPERTY
public static final java.lang.String VERSION_PROPERTY
Constructor Detail |
---|
public CiteBook()
Method Detail |
---|
public void notifyListeners(boolean value)
public void doPostLoad()
public void clear()
public BookCollection getBookList()
public AuthorCollection getAuthorList()
public CitationCollection getCitationList()
public CategoryTree getCategoryTree()
public int getObjectCount()
public java.lang.String getProperty(java.lang.String pname)
public void setProperty(java.lang.String pname, java.lang.String pvalue)
public boolean needsSave()
public void setSaveFlag()
public void unsetSaveFlag()
public void registerSaveFlagListener(SaveFlagChangeListener l)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |