|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.core.AbstractInputFactory
public abstract class AbstractInputFactory
Field Summary | |
---|---|
static int |
SHAPE_TYPE_ANY
|
Constructor Summary | |
---|---|
AbstractInputFactory()
|
Method Summary | |
---|---|
void |
addDataObject(IDataObject obj)
Adds a new data object to the ones already existing. |
void |
clearDataObjects()
Clears the set of SEXTANTE data objects |
RasterLayerAndBand[] |
getBands()
Returns al the individual bands of the raster layers in the set |
IDataObject[] |
getDataObjects()
Returns all objects in the set(layers and tables) |
IDataObject |
getInputFromName(java.lang.String sName)
Returns an input object based on its name |
ILayer[] |
getLayers()
Returns the raster and vector layers in the set |
IRasterLayer[] |
getRasterLayers()
Returns the raster layers in the set |
ITable[] |
getTables()
Returns the tables in the set |
IVectorLayer[] |
getVectorLayers(int shapeType)
Returns all the vector layers of a particular type currently in the set |
void |
removeDataObject(java.lang.String sName)
|
void |
removeObject(IDataObject obj)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface es.unex.sextante.core.IInputFactory |
---|
close, createDataObjects, getPredefinedExtents, getRasterLayerInputExtensions, getTableInputExtensions, getVectorLayerInputExtensions, openDataObjectFromFile |
Field Detail |
---|
public static final int SHAPE_TYPE_ANY
Constructor Detail |
---|
public AbstractInputFactory()
Method Detail |
---|
public void clearDataObjects()
IInputFactory
clearDataObjects
in interface IInputFactory
public void removeDataObject(java.lang.String sName)
public void addDataObject(IDataObject obj)
IInputFactory
addDataObject
in interface IInputFactory
obj
- the data object to addpublic void removeObject(IDataObject obj)
public RasterLayerAndBand[] getBands()
IInputFactory
getBands
in interface IInputFactory
public ILayer[] getLayers()
IInputFactory
getLayers
in interface IInputFactory
public IRasterLayer[] getRasterLayers()
IInputFactory
getRasterLayers
in interface IInputFactory
public IVectorLayer[] getVectorLayers(int shapeType)
IInputFactory
getVectorLayers
in interface IInputFactory
shapeType
- The type of vector layer. Use the constants
defined in @see IVectorLayer
public ITable[] getTables()
IInputFactory
getTables
in interface IInputFactory
public IDataObject[] getDataObjects()
IInputFactory
getDataObjects
in interface IInputFactory
public IDataObject getInputFromName(java.lang.String sName)
IInputFactory
getInputFromName
in interface IInputFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |