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, setDescription
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setBeanName, setId, setLocalId, setParent
clearProperties, getKeys, getProperty, removeProperty, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearProperties, getKeys, getProperty, removeProperty, setProperty
public 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.PointAdaptor
adaptPoints
in class AbstractPointAdaptor
Copyright © 2013. All Rights Reserved.