public class BasicLogCategory extends LogCategory
| Constructor and Description |
|---|
BasicLogCategory(java.lang.String name,
java.lang.String species,
double volumeProportionToBeProcessedInThisCategory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<BasicTreeLoggerWoodPiece> |
extractFromTree(LoggableTree tree,
java.lang.Object... parms)
This method returns a wood piece if it can be extract from the tree.
|
lerfob.treelogger.basictreelogger.BasicLogCategory.CarbonAccountingToolDefaultLogCategoryPanel |
getUI()
This method returns the GUI interface of the class that implements this interface.
|
protected double |
getVolumeProportion() |
double |
getYieldFromThisPiece(WoodPiece piece)
This method returns the yield of this piece, i.e.
|
boolean |
isVisible()
This method returns true if the GUI is visible.
|
protected void |
setVolumeProportion(double d) |
equals, getName, getSpecies, isFromStump, setName, setSpecies, toStringpublic BasicLogCategory(java.lang.String name,
java.lang.String species,
double volumeProportionToBeProcessedInThisCategory)
name - the name of the categoryspecies - the species namevolumeProportionToBeProcessedInThisCategory - the proportion of the merchantable volume that falls into this categorypublic lerfob.treelogger.basictreelogger.BasicLogCategory.CarbonAccountingToolDefaultLogCategoryPanel getUI()
REpiceaUIObjectpublic double getYieldFromThisPiece(WoodPiece piece) throws java.lang.Exception
LogCategorygetYieldFromThisPiece in class LogCategorypiece - a WoodPiece instancejava.lang.Exceptionprotected void setVolumeProportion(double d)
protected double getVolumeProportion()
public boolean isVisible()
REpiceaUIObjectprotected java.util.List<BasicTreeLoggerWoodPiece> extractFromTree(LoggableTree tree, java.lang.Object... parms)
LogCategoryextractFromTree in class LogCategorytree - a LoggableTree instanceparms - optional parameters