public abstract class GanttTextResolver<T> extends java.lang.Object implements TextReplacement.TextResolver
Modifier and Type | Class and Description |
---|---|
static interface |
GanttTextResolver.TextFunction |
Constructor and Description |
---|
GanttTextResolver(T act,
IMXGanttModel model,
UserInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
addFunction(java.lang.String id,
GanttTextResolver.TextFunction func) |
void |
addFunctions(java.util.Map<java.lang.String,GanttTextResolver.TextFunction> funcs) |
abstract IMXGanttPropertyInfo |
getColumnInfo(java.lang.String in) |
T |
getData() |
<F extends GanttTextResolver.TextFunction> |
getFunction(java.lang.String id) |
java.util.Map<java.lang.String,GanttTextResolver.TextFunction> |
getFunctions() |
IMXGanttModel |
getModel() |
abstract java.lang.Object |
getProperty(T data,
java.lang.String in) |
abstract java.util.Collection<java.lang.String> |
getPropertyNames(T data) |
UserInfo |
getUserInfo() |
java.lang.String |
resolve(java.lang.String in)
Resolve 'in' with a new value
|
void |
setData(java.lang.String key,
java.lang.Object value) |
public GanttTextResolver(T act, IMXGanttModel model, UserInfo info)
public void setData(java.lang.String key, java.lang.Object value)
public void addFunction(java.lang.String id, GanttTextResolver.TextFunction func)
public void addFunctions(java.util.Map<java.lang.String,GanttTextResolver.TextFunction> funcs)
public java.util.Map<java.lang.String,GanttTextResolver.TextFunction> getFunctions()
public <F extends GanttTextResolver.TextFunction> F getFunction(java.lang.String id)
public java.lang.String resolve(java.lang.String in)
TextReplacement.TextResolver
resolve
in interface TextReplacement.TextResolver
public abstract java.lang.Object getProperty(T data, java.lang.String in)
public abstract IMXGanttPropertyInfo getColumnInfo(java.lang.String in)
public abstract java.util.Collection<java.lang.String> getPropertyNames(T data)
public T getData()
public IMXGanttModel getModel()
public UserInfo getUserInfo()