edu.berkeley.guir.brainstorm
Class Link
java.lang.Object
|
+--edu.berkeley.guir.brainstorm.Link
- All Implemented Interfaces:
- BrainstormConstants
- public class Link
- extends Object
- implements BrainstormConstants
Revisions: 1.0.0 06-27-2000 JH
Created class
- Since:
- JDK 1.3
- Version:
- Version 1.0.0, 06-27-2000
- Author:
- Jason Hong (
jasonh@cs.berkeley.edu )
Constructor Summary |
Link(BrainstormSheet newSheet,
int start,
int end)
Create a link with the specified start and end. |
Link
public Link(BrainstormSheet newSheet,
int start,
int end)
- Create a link with the specified start and end.
isValid
public boolean isValid()
- A link is valid if both notes exist.
getStartNoteID
public int getStartNoteID()
getEndNoteID
public int getEndNoteID()
getStartNote
public BrainNote getStartNote()
getEndNote
public BrainNote getEndNote()
isAssociated
public boolean isAssociated(int id)
- Check if this link is associated with the specified ID.
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- See if one link is equivalent to another.
- Overrides:
equals
in class Object