|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectionLoader
A ProjectionLoader is a class that knows how to create projection classes for given parameters. The ProjectionFactory used to have projection classes hard-coded into it, but it now uses ProjectionLoaders to create different projections for it. It can provide the Class to use for a certain projection, and can provide a name and description to use for GUIs. The ProjectionFactory looks for these in the MapHandler.
ProjectionFactory
,
BasicProjectionLoader
Method Summary | |
---|---|
Projection |
create(java.util.Properties props)
Create the projection with the given parameters. |
java.lang.String |
getDescription()
Get a description for the projection. |
java.lang.String |
getPrettyName()
Get a pretty name for the projection. |
java.lang.Class<? extends Projection> |
getProjectionClass()
Get a class name to use for the projection. |
Method Detail |
---|
java.lang.Class<? extends Projection> getProjectionClass()
java.lang.String getPrettyName()
java.lang.String getDescription()
Projection create(java.util.Properties props) throws ProjectionException
ProjectionException
- if a parameter is missing or invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |