|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjas.hist.FitterRegistry
public class FitterRegistry
Method Summary | |
---|---|
FitterFactory |
createFitterFactory(Class c,
String name)
Create a FitterFactory from a class and a name |
Enumeration |
elements()
|
Fitter |
getDefaultFitter()
Return an instance of the current default fitter |
FitterFactory |
getDefaultFitterFactory()
|
static FitterRegistry |
instance()
Get the (unique) FitterRegistry instance |
void |
registerFitter(Class c,
String name)
Add a fitter to the FitterRegistry |
void |
registerFitter(FitterFactory f)
Add a fitter factory to the FitterRegistry |
void |
removeAllFitters()
Clear the FitterRegistry |
void |
removeFitterFactory(FitterFactory f)
Remove a FitterFactory from the registry |
void |
setContents(Vector v)
|
void |
setDefaultFitterFactory(FitterFactory f)
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FitterRegistry instance()
public void registerFitter(Class c, String name)
c
- The class to instanciate to get a fittername
- The name of the fitterpublic FitterFactory createFitterFactory(Class c, String name)
c
- The class to instanciate to get a fittername
- The name of the fitterpublic void registerFitter(FitterFactory f)
f
- The factory to addpublic void removeFitterFactory(FitterFactory f)
The
- FitterFactory to removepublic void removeAllFitters()
public Enumeration elements()
public int size()
public FitterFactory getDefaultFitterFactory()
public void setDefaultFitterFactory(FitterFactory f)
public Fitter getDefaultFitter()
public void setContents(Vector v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |