|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfable.adt.FableComponent
fable.adt.Folder
public class Folder
This class represents the folder contains folders, feeds, and/or articles. Folder contains its description.
| Constructor Summary | |
|---|---|
Folder()
Constructs a new empty folder. |
|
| Method Summary | |
|---|---|
void |
accept(FableVisitor v)
Accept the visitor v to visit this. |
void |
acceptRecursive(FableVisitor v)
Accept the visitor v to visit this, and recurse on children of this. |
boolean |
addChild(FableComponent fc)
Add c as a child of this. |
boolean |
isSimilarTo(FableComponent fc)
Returns true if this and fc are similar. |
java.lang.String |
toString()
Returns string representation of this folder. |
| Methods inherited from class fable.adt.FableComponent |
|---|
activate, addStructuralChangeListener, getChildren, getDate, getDescendants, getParent, getPosition, getTitle, isAncestorOf, moveDown, moveUp, removeAllListeners, removeChild, removeStructuralChangeListener, setParent, setPosition, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Folder()
| Method Detail |
|---|
public boolean isSimilarTo(FableComponent fc)
isSimilarTo in class FableComponentfc - FableComponent object to compare.
public java.lang.String toString()
toString in class java.lang.Objectpublic final boolean addChild(FableComponent fc)
addChild in interface FableContaineraddChild in class FableComponentfc - A child to be added.
java.lang.NullPointerException - if fc is null.public void accept(FableVisitor v)
FableComponent
accept in class FableComponentv - the visitor to visit this.public void acceptRecursive(FableVisitor v)
FableComponent
acceptRecursive in class FableComponentv - the visitor to visit this and decendants of this.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||