public abstract class PointComponent extends ViewComponent
ViewComponent.Factory| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
bkgdColorOverride |
private DataPointVO |
dataPoint |
private boolean |
disconnected |
private boolean |
displayControls |
private java.lang.String |
nameOverride |
private static long |
serialVersionUID |
private boolean |
settableOverride |
private boolean |
unreliable |
private boolean |
valid |
private static int |
version |
private boolean |
visible |
| Constructor and Description |
|---|
PointComponent() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addDataToModel(java.util.Map<java.lang.String,java.lang.Object> model,
PointValueTime pointValue) |
boolean |
containsValidVisibleDataPoint(int dataPointId) |
java.lang.String |
getBkgdColorOverride() |
int |
getDataPointId() |
com.serotonin.web.i18n.LocalizableMessage |
getDisplayName() |
java.lang.String |
getName() |
java.lang.String |
getNameOverride() |
int[] |
getSupportedDataTypes() |
java.lang.String |
getTypeName() |
boolean |
isChartRenderer() |
boolean |
isDisconnected() |
boolean |
isDisplayControls() |
boolean |
isPointComponent() |
boolean |
isSettable() |
boolean |
isSettableOverride() |
boolean |
isUnreliable() |
boolean |
isValid() |
boolean |
isVisible() |
void |
jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json) |
void |
jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map) |
private void |
readObject(java.io.ObjectInputStream in) |
void |
setBkgdColorOverride(java.lang.String bkgdColorOverride) |
void |
setDisconnected(boolean disconnected) |
void |
setDisplayControls(boolean displayControls) |
void |
setNameOverride(java.lang.String nameOverride) |
void |
setSettableOverride(boolean settableOverride) |
void |
setUnreliable(boolean unreliable) |
abstract java.lang.String |
snippetName() |
DataPointVO |
tgetDataPoint() |
void |
tsetDataPoint(DataPointVO dataPoint) |
void |
validateDataPoint(User user,
boolean makeReadOnly) |
private void |
writeObject(java.io.ObjectOutputStream out) |
definition, getDefName, getExportTypes, getId, getIdSuffix, getImplementations, getIndex, getStyle, getX, getY, isCompoundComponent, isCustomComponent, jsonDeserializeDataPoint, jsonSerializeDataPoint, newInstance, readDataPoint, resolveClass, setIdSuffix, setIndex, setLocation, setStyle, setX, setY, validate, writeDataPointprivate DataPointVO dataPoint
private java.lang.String nameOverride
private boolean settableOverride
private java.lang.String bkgdColorOverride
private boolean displayControls
private boolean valid
private boolean visible
private boolean unreliable
private boolean disconnected
private static final long serialVersionUID
private static final int version
public boolean isPointComponent()
isPointComponent in class ViewComponentpublic abstract void addDataToModel(java.util.Map<java.lang.String,java.lang.Object> model,
PointValueTime pointValue)
public abstract java.lang.String snippetName()
public void validateDataPoint(User user, boolean makeReadOnly)
validateDataPoint in class ViewComponentpublic boolean isValid()
isValid in class ViewComponentpublic boolean isVisible()
isVisible in class ViewComponentpublic boolean isDisconnected()
public void setDisconnected(boolean disconnected)
public boolean isUnreliable()
isUnreliable in class ViewComponentpublic void setUnreliable(boolean unreliable)
public boolean containsValidVisibleDataPoint(int dataPointId)
containsValidVisibleDataPoint in class ViewComponentpublic int[] getSupportedDataTypes()
public java.lang.String getTypeName()
public com.serotonin.web.i18n.LocalizableMessage getDisplayName()
public java.lang.String getName()
public boolean isSettable()
public boolean isChartRenderer()
public DataPointVO tgetDataPoint()
public void tsetDataPoint(DataPointVO dataPoint)
public int getDataPointId()
public java.lang.String getNameOverride()
public void setNameOverride(java.lang.String nameOverride)
public boolean isSettableOverride()
public void setSettableOverride(boolean settableOverride)
public java.lang.String getBkgdColorOverride()
public void setBkgdColorOverride(java.lang.String bkgdColorOverride)
public boolean isDisplayControls()
public void setDisplayControls(boolean displayControls)
private 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.IOExceptionpublic void jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json)
throws com.serotonin.json.JsonException
jsonDeserialize in interface com.serotonin.json.JsonSerializablejsonDeserialize in class ViewComponentcom.serotonin.json.JsonExceptionpublic void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize in interface com.serotonin.json.JsonSerializablejsonSerialize in class ViewComponent