public class FactorPointAdaptor extends AbstractPointAdaptor
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_FACTOR
Property that stores the factor.
|
| Constructor and Description |
|---|
FactorPointAdaptor()
Default constructor.
|
FactorPointAdaptor(int factor)
Constructor initializing the adaptor with factor x.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adaptPoints(PointsAndLevelHandler handler,
ExecutionContext context)
Adapts the points according to a factor.
|
int |
getFactor() |
void |
setFactor(int factor) |
getDescription, getMaxPointsToAdapt, getMinPointsToAdapt, getPointsToAdapt, setAdaptedMaxPoints, setAdaptedMinPoints, setAdaptedPoints, setDescriptionassignParent, assignParent, assignParents, getId, getLocalId, getParent, setBeanName, setId, setLocalId, setParentclearProperties, getKeys, getProperty, removeProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getKeys, getProperty, removeProperty, setPropertypublic static final String PROPERTY_FACTOR
public FactorPointAdaptor()
public FactorPointAdaptor(int factor)
public void setFactor(int factor)
public int getFactor()
public void adaptPoints(PointsAndLevelHandler handler, ExecutionContext context)
adaptPoints in interface PointsAndLevelHandler.PointAdaptoradaptPoints in class AbstractPointAdaptorCopyright © 2013. All Rights Reserved.