public class PlainRenderer extends BaseTextRenderer
BaseTextRenderer.Factory| Modifier and Type | Field and Description |
|---|---|
private static ImplDefinition |
definition |
private static long |
serialVersionUID |
private java.lang.String |
suffix |
private static int |
version |
definitionsHINT_FULL, HINT_RAW, HINT_SPECIFIC, TYPE_ANALOG, TYPE_BINARY, TYPE_MULTISTATE, TYPE_PLAIN, TYPE_RANGE, UNKNOWN_VALUE| Constructor and Description |
|---|
PlainRenderer() |
PlainRenderer(java.lang.String suffix) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getColourImpl(MangoValue value) |
ImplDefinition |
getDef() |
static ImplDefinition |
getDefinition() |
java.lang.String |
getMetaText() |
private java.lang.String |
getStringValue(MangoValue value) |
java.lang.String |
getSuffix() |
protected java.lang.String |
getTextImpl(MangoValue value,
int hint) |
java.lang.String |
getTypeName() |
private void |
readObject(java.io.ObjectInputStream in) |
void |
setSuffix(java.lang.String suffix) |
private void |
writeObject(java.io.ObjectOutputStream out) |
ensureDefinitions, getColour, getColour, getColour, getColour, getColour, getColour, getColour, getExportTypes, getImplementation, getText, getText, getText, getText, getText, getText, getText, jsonDeserialize, jsonSerializeprivate static ImplDefinition definition
private java.lang.String suffix
private static final long serialVersionUID
private static final int version
public PlainRenderer()
public PlainRenderer(java.lang.String suffix)
public static ImplDefinition getDefinition()
public java.lang.String getTypeName()
public ImplDefinition getDef()
public java.lang.String getMetaText()
getMetaText in interface TextRenderergetMetaText in class BaseTextRendererprotected java.lang.String getTextImpl(MangoValue value, int hint)
getTextImpl in class BaseTextRendererprivate java.lang.String getStringValue(MangoValue value)
public java.lang.String getSuffix()
public void setSuffix(java.lang.String suffix)
protected java.lang.String getColourImpl(MangoValue value)
getColourImpl in class BaseTextRendererprivate void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOExceptionprivate void readObject(java.io.ObjectInputStream in)
throws java.io.IOException
java.io.IOException