|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.gloDB.ObjectHandles
public class ObjectHandles
ObjectHandles.
Field Summary | |
---|---|
private static javax.swing.DefaultComboBoxModel |
sequenceList
This is a duplicate list of Sequences in the sequencePool. |
static java.util.HashMap |
sequencePool
The set of all existing Sequences. |
static java.util.HashMap |
trackBySequenceList
This is a list of all Tracks in the trackPool, that contain each Sequence. |
private static javax.swing.DefaultComboBoxModel |
trackList
This is a duplicate list of Tracks in the trackPool. |
static java.util.HashMap |
trackPool
The HashMap of all existing Tracks. |
Constructor Summary | |
---|---|
ObjectHandles()
|
Method Summary | |
---|---|
static void |
addFeature(Feature feature)
Add a Feature to the featurePool. |
static void |
addSequence(Sequence sequence)
Add a Sequence to the sequencePool. |
static void |
addTrack(Track track)
Add a Tracks to the trackPool. |
static boolean |
containsSequence(java.lang.String id)
Returns true if the Sequence object exists in the sequencePool. |
static boolean |
containsTrack(java.lang.String id)
Returns true if the Track object exists in the trackPool. |
static Sequence |
getSequence(java.lang.String id)
Returns the Sequence object for the given ID. |
static javax.swing.DefaultComboBoxModel |
getSequenceList()
Get the sequenceList. |
static java.util.HashMap |
getSequencePool()
Get the sequencePool. |
static Track |
getTrack(java.lang.String id)
Returns the Track object for the given ID. |
static java.util.TreeSet |
getTrackBySequenceList(java.lang.String id)
Get the trackList that contains all Tracks with the given Sequence. |
static javax.swing.DefaultComboBoxModel |
getTrackList()
Get the trackList. |
static java.util.HashMap |
getTrackPool()
Get the trackPool. |
static void |
rebuildTrack(Track track)
Rebuilds the Track relevant lists. |
static void |
removeSequence(Sequence sequence)
Removes the Sequence object for sequencePool and other relevant lists. |
static void |
removeTrack(java.lang.String id)
Removes the Track object for trackPool and other relevant lists. |
static void |
removeTrack(Track track)
Removes the Track object for trackPool and other relevant lists. |
static void |
renameTrack(java.lang.String oldID,
java.lang.String newID)
Changes the Track's ID in trackPool, trackList, and trackBySequenceList. |
static void |
renameTrack(Track track,
java.lang.String newID)
Changes the Track's ID in trackPool, trackList, and trackBySequenceList. |
static java.util.Iterator |
sequenceIterator()
Returns a iterator over all Sequences in sequencePool. |
static java.util.Iterator |
trackIterator()
Returns a iterator over all Tracks in trackPool. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.HashMap trackPool
public static java.util.HashMap sequencePool
private static javax.swing.DefaultComboBoxModel trackList
private static javax.swing.DefaultComboBoxModel sequenceList
public static java.util.HashMap trackBySequenceList
Constructor Detail |
---|
public ObjectHandles()
Method Detail |
---|
public static java.util.HashMap getTrackPool()
public static javax.swing.DefaultComboBoxModel getTrackList()
public static java.util.HashMap getSequencePool()
public static javax.swing.DefaultComboBoxModel getSequenceList()
public static void addTrack(Track track) throws InvalidIDException
InvalidIDException
public static void removeTrack(java.lang.String id)
public static void removeTrack(Track track)
public static void rebuildTrack(Track track)
public static boolean containsTrack(java.lang.String id)
public static Track getTrack(java.lang.String id)
public static java.util.Iterator trackIterator()
public static void renameTrack(java.lang.String oldID, java.lang.String newID)
public static void renameTrack(Track track, java.lang.String newID)
public static java.util.TreeSet getTrackBySequenceList(java.lang.String id)
public static void addFeature(Feature feature)
public static void addSequence(Sequence sequence) throws InvalidIDException
InvalidIDException
public static void removeSequence(Sequence sequence)
public static boolean containsSequence(java.lang.String id)
public static java.util.Iterator sequenceIterator()
public static Sequence getSequence(java.lang.String id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |