public class ModelFunction extends java.lang.Object implements GanttTextResolver.TextFunction
Modifier and Type | Field and Description |
---|---|
static ModelFunction |
COMPARE_MODEL_FUNCTION |
static java.lang.String |
FUNCTION_NAME |
static ModelFunction |
NORMAL_MODEL_FUNCTION |
Constructor and Description |
---|
ModelFunction(boolean isCompare) |
ModelFunction(boolean isCompare,
java.lang.String scenarioName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(java.lang.String fName,
java.lang.String fValue,
GanttTextResolver<?> textResolver) |
public static final java.lang.String FUNCTION_NAME
public static final ModelFunction NORMAL_MODEL_FUNCTION
public static final ModelFunction COMPARE_MODEL_FUNCTION
public ModelFunction(boolean isCompare)
public ModelFunction(boolean isCompare, java.lang.String scenarioName)
public java.lang.String apply(java.lang.String fName, java.lang.String fValue, GanttTextResolver<?> textResolver)
apply
in interface GanttTextResolver.TextFunction