|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--AFLPcore.FeatureList
This is a static class that provides a list of all of the features in
the program. This is done so that features can be added to the program
without much effort. For example, a dialog that wants to display a list
of scoring functions for bins should query this class to get the list.
This way, a new scoring function can be added to the program by simply
modifying this class. The class contains several different types of
managers for different operations, see the manager descriptions for
details on the types of operation supported by each. Features can
be added by either directly modifying the class, or by extending it,
overriding the createManagerType
calling the super
and then adding the new feature. One should make sure that the default is
set.
New managers could be added, but the program will not have support for these managers, so the program would have to be modified too.
One possible enhancement to this class would be adding methods to scan directories for class files and adding them to the manager. This would mean that new features could be added without recompiling the program. However, this may be difficult if not impossible. Note: many other classes rely on this class to retrieve various components. For example, an import filter may query this class to see which sizing functions are available.
ImportMgr
,
ScoreManager
,
PeakMgr
,
CutoffMgr
,
StandardMgr
,
AnalysisMgr
,
Mgr
Constructor Summary | |
FeatureList()
|
Method Summary | |
static void |
createManagerList(Manager mgr,
java.io.PrintWriter out)
|
static void |
generateFileList()
|
static AnalysisMgr |
getAnalysisMgr()
Gives a manager that contains all of the functions used to analyize a gel known to the program. |
static BinOpMgr |
getBinOpMgr()
Gives a manager that contains all of the operations on bins known to the program. |
static CutoffMgr |
getCutoffMgr()
Gives a manager that contains all of the cutoff functions known to the program. |
static GelOpMgr |
getGelOpMgr()
Gives a manager that contains all of the operations on a gel known to the program. |
static ImportMgr |
getImportMgr()
Gives a manager that contains all of the import filters known to the program. |
static LaneOpMgr |
getLaneOpMgr()
Gives a manager that contains all of the operations on lanes known to the program. |
static PeakMgr |
getPeakMgr()
Gives a manager that contains all of the peak locating algorithms known to the program. |
static ScoreManager |
getScoreMgr()
Gives a manager that contains all of the scoring methods known to the program. |
static SizeMgr |
getSizeMgr()
Gives a manager that contains all of the functions used to size a lane known to the program. |
static StandardMgr |
getStandardMgr()
Gives a manager that contains all of the size standard definitions known to the program. |
static java.lang.String |
nextLine(java.io.BufferedReader inStream)
Gets a line from the specified input stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FeatureList()
Method Detail |
public static ImportMgr getImportMgr()
ImportMgr
,
ImportFilter
public static ScoreManager getScoreMgr()
ScoreManager
,
ScoreFunction
public static PeakMgr getPeakMgr()
PeakMgr
,
PeakLocate
public static CutoffMgr getCutoffMgr()
CutoffMgr
,
CutoffFunction
public static SizeMgr getSizeMgr()
SizeMgr
,
SizeFunction
public static AnalysisMgr getAnalysisMgr()
AnalysisMgr
,
AnalysisOp
public static GelOpMgr getGelOpMgr()
GelOpMgr
,
GelOperation
public static LaneOpMgr getLaneOpMgr()
LaneOpMgr
,
LaneOperation
public static BinOpMgr getBinOpMgr()
BinOpMgr
,
BinOperation
public static StandardMgr getStandardMgr() throws java.io.IOException
java.io.IOException
- occurs if a problem is encountered when
reading from the file that contains the definitions.StandardMgr
,
SizeStandard
public static java.lang.String nextLine(java.io.BufferedReader inStream) throws java.io.IOException
inStream
- the stream to read fromnull
will be returned if the end of the stream is reached.java.io.IOException
- if an I/O problem occurs.public static void generateFileList() throws java.io.IOException
public static void createManagerList(Manager mgr, java.io.PrintWriter out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |