|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--NoteBook
This class handlles the whole notebook. It contains instances of StickyNote.
Author: Neil Short
Field Summary | |
Iterator |
iterator
|
Constructor Summary | |
NoteBook()
|
Method Summary | |
void |
add(StickyNote n)
same as AddSticky() |
void |
addSticky(StickyNote n)
append a stickynote to the list |
void |
deleteSticky(int n)
|
java.lang.String |
getFilename()
When an instance of this class is saved, this class provides for remembering the filename. |
int |
getSize()
|
StickyNote |
getSticky(int n)
|
boolean |
getWordwrapIsOn()
|
void |
setFilename(java.lang.String fn)
When an instance of this class is saved, this class provides for remembering the filename. |
void |
setWordWrap(boolean x)
set to true to turn wordwrapping on. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public Iterator iterator
Constructor Detail |
public NoteBook()
Method Detail |
public void setWordWrap(boolean x)
public boolean getWordwrapIsOn()
public java.lang.String getFilename()
public void setFilename(java.lang.String fn)
public void add(StickyNote n)
public void addSticky(StickyNote n)
public StickyNote getSticky(int n)
public int getSize()
public void deleteSticky(int n)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |