insensa.inforeader
Class CCountIntervalValues

java.lang.Object
  extended by insensa.inforeader.AbstractInfoReader
      extended by insensa.inforeader.CCountIntervalValues
All Implemented Interfaces:
InfoReader, java.io.Serializable, java.lang.Runnable

public class CCountIntervalValues
extends AbstractInfoReader

See Also:
Serialized Form

Field Summary
private  int calcMode
           
private  int count
           
private  float lowerBound
           
private  float lowerValue
           
private static java.lang.String NAME
           
static int PERCENTAGE
           
private  java.lang.String precisionString
           
private static long serialVersionUID
           
private  float upperBound
           
private  float upperValue
           
static int VALUE
           
 
Fields inherited from class insensa.inforeader.AbstractInfoReader
dependencer, processStatus, read, targetFile, workerStatus
 
Constructor Summary
CCountIntervalValues()
           
 
Method Summary
 int getCalcMode()
           
 java.util.List<java.lang.String> getDependencies()
          Returns a list with names of InfoReaders that have to be executed before this InfoReader can be executed.
 org.jdom.Element getInfoElement()
           
 java.lang.String getInfoName()
           
 java.util.Vector<java.util.Vector<java.lang.String>> getInfos()
           
 float getLowerBound()
           
 float getLowerValue()
           
 float getUpperBound()
           
 float getUpperValue()
           
 java.util.List<VariableValue<java.lang.String>> getVariableList()
           
 void readInfos(CRasterFileInformation file)
          This method will try to receive all informations from dependent InfoReader You can get InfoReader with file.getInfoReader(nameOfInfoReader);
 void setCalcMode(int calcMode)
           
 void setInfos(org.jdom.Element eInfo)
          Restore saved data
 void setLowerBound(float lowerBound)
           
 void setLowerValue(float lowerValue)
           
 void setUnread()
          Set InfoReader to unread to execute it again
 void setUpperBound(float upperBound)
           
 void setUpperValue(float upperValue)
           
 void setVariableList(java.util.List<VariableValue<java.lang.String>> varList)
          Configure InfoReader
 
Methods inherited from class insensa.inforeader.AbstractInfoReader
getErrorMassage, getPrecisionString, getTargetFile, isRead, run, setDependencyChecker, setTargetFile, setWorkerStatus, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

PERCENTAGE

public static final int PERCENTAGE
See Also:
Constant Field Values

VALUE

public static final int VALUE
See Also:
Constant Field Values

count

private int count

precisionString

private java.lang.String precisionString

lowerBound

private float lowerBound

upperBound

private float upperBound

lowerValue

private float lowerValue

upperValue

private float upperValue

calcMode

private int calcMode

NAME

private static java.lang.String NAME
Constructor Detail

CCountIntervalValues

public CCountIntervalValues()
Method Detail

getCalcMode

public int getCalcMode()
Returns:

getDependencies

public java.util.List<java.lang.String> getDependencies()
Description copied from class: AbstractInfoReader
Returns a list with names of InfoReaders that have to be executed before this InfoReader can be executed.

Implementations of class AbstractInfoReader should override this method if dependencies are necessary. Example:
List<String> depList = super.getDependencies();
depList.add("countValues");
depList.add("equalBreaksValues");
return depList;

Specified by:
getDependencies in interface InfoReader
Overrides:
getDependencies in class AbstractInfoReader
Returns:
List<String>List with named of InfoReaders(dependencies) for this InfoReader
See Also:
AbstractInfoReader.getDependencies()

getInfoElement

public org.jdom.Element getInfoElement()
                                throws java.io.IOException
Specified by:
getInfoElement in interface InfoReader
Overrides:
getInfoElement in class AbstractInfoReader
Returns:
Throws:
java.io.IOException
See Also:
AbstractInfoReader.getInfoElement()

getInfoName

public java.lang.String getInfoName()
Returns:
The name of this InfoReader
See Also:
InfoReader.getInfoName()

getInfos

public java.util.Vector<java.util.Vector<java.lang.String>> getInfos()
Returns:
Information to Display in Data Table
See Also:
InfoReader.getInfos()

getLowerBound

public float getLowerBound()
Returns:

getLowerValue

public float getLowerValue()
Returns:

getUpperBound

public float getUpperBound()
Returns:

getUpperValue

public float getUpperValue()
Returns:

getVariableList

public java.util.List<VariableValue<java.lang.String>> getVariableList()
Specified by:
getVariableList in interface InfoReader
Overrides:
getVariableList in class AbstractInfoReader
Returns:
the variables that can be set or null if there is none
See Also:
AbstractInfoReader.getVariableList()

readInfos

public void readInfos(CRasterFileInformation file)
               throws java.io.FileNotFoundException,
                      java.io.IOException
Description copied from interface: InfoReader
This method will try to receive all informations from dependent InfoReader You can get InfoReader with file.getInfoReader(nameOfInfoReader);

Parameters:
file - File that holds this InfoReader
Throws:
java.io.FileNotFoundException
java.io.IOException
See Also:
InfoReader.readInfos(insensa.CRasterFileInformation)

setCalcMode

public void setCalcMode(int calcMode)
Parameters:
calcMode -

setInfos

public void setInfos(org.jdom.Element eInfo)
              throws java.io.IOException
Description copied from interface: InfoReader
Restore saved data

Throws:
java.io.IOException
See Also:
InfoReader.setInfos(org.jdom.Element)

setLowerBound

public void setLowerBound(float lowerBound)
Parameters:
lowerBound -

setLowerValue

public void setLowerValue(float lowerValue)
Parameters:
lowerValue -

setUnread

public void setUnread()
Description copied from interface: InfoReader
Set InfoReader to unread to execute it again

Specified by:
setUnread in interface InfoReader
Overrides:
setUnread in class AbstractInfoReader
See Also:
AbstractInfoReader.setUnread()

setUpperBound

public void setUpperBound(float upperBound)
Parameters:
upperBound -

setUpperValue

public void setUpperValue(float upperValue)
Parameters:
upperValue -

setVariableList

public void setVariableList(java.util.List<VariableValue<java.lang.String>> varList)
Description copied from interface: InfoReader
Configure InfoReader

Specified by:
setVariableList in interface InfoReader
Overrides:
setVariableList in class AbstractInfoReader
Parameters:
varList - the List of Variables to be set
See Also:
AbstractInfoReader.setVariableList(java.util.List)