|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--NoteBook0211
This class handlles the whole notebook. It contains instances of StickyNote.
Author: Neil Short
Field Summary | |
Iterator |
iterator
|
Constructor Summary | |
NoteBook0211()
|
Method Summary | |
void |
add(StickyNote n)
same as AddSticky() |
void |
addSticky(StickyNote n)
append a stickynote to the list |
void |
append(NoteBook0211 nb)
Join two NoteBook0211s |
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 |
makeEmpty()
empty the notebook |
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 NoteBook0211()
Method Detail |
public void makeEmpty()
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 void append(NoteBook0211 nb)
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 |