public class LabelRenderer extends TypeRenderer implements ValueLabelRenderer, OnDemandRenderer
Modifier and Type | Field and Description |
---|---|
boolean |
ON_DEMAND |
static java.lang.String |
UNIQUE_ID |
myProperties
ON_DEMAND_CALCULATED
Constructor and Description |
---|
LabelRenderer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calcLabel(ValueDescriptor descriptor,
EvaluationContext evaluationContext,
DescriptorLabelListener labelListener) |
LabelRenderer |
clone() |
TextWithImports |
getLabelExpression() |
java.lang.String |
getLinkText() |
java.lang.String |
getUniqueId() |
boolean |
isOnDemand() |
boolean |
isOnDemand(EvaluationContext evaluationContext,
ValueDescriptor valueDescriptor) |
void |
readExternal(Element element) |
void |
setLabelExpression(TextWithImports expression) |
void |
setOnDemand(boolean value) |
void |
writeExternal(Element element) |
createCachedEvaluator, getClassName, isApplicable, setClassName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calcValueIcon
isApplicable
createFullValueEvaluator, getFullValueEvaluator, isCalculated, isOnDemandForced, isShowValue, setCalculated
public static final java.lang.String UNIQUE_ID
public boolean ON_DEMAND
public java.lang.String getUniqueId()
getUniqueId
in interface Renderer
public LabelRenderer clone()
clone
in interface Renderer
clone
in class TypeRenderer
public java.lang.String calcLabel(ValueDescriptor descriptor, EvaluationContext evaluationContext, DescriptorLabelListener labelListener) throws EvaluateException
calcLabel
in interface ValueLabelRenderer
EvaluateException
public java.lang.String getLinkText()
getLinkText
in interface OnDemandRenderer
public void readExternal(Element element) throws InvalidDataException
readExternal
in interface JDOMExternalizable
readExternal
in class TypeRenderer
InvalidDataException
public void writeExternal(Element element) throws WriteExternalException
writeExternal
in interface JDOMExternalizable
writeExternal
in class TypeRenderer
WriteExternalException
public TextWithImports getLabelExpression()
public void setLabelExpression(TextWithImports expression)
public boolean isOnDemand(EvaluationContext evaluationContext, ValueDescriptor valueDescriptor)
isOnDemand
in interface OnDemandRenderer
public boolean isOnDemand()
public void setOnDemand(boolean value)