Class ViewConfig
java.lang.Object
com.inductiveautomation.perspective.common.config.ViewConfig
Config object for a single view definition.
This object is designed to be serialized to JSON format using gson. This JSON document is what is stored inside the project resource record for this view.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.inductiveautomation.ignition.common.gson.JsonObject
Collection of custom (internal) properties defined on this viewConfigs for event/action handlingcom.inductiveautomation.ignition.common.gson.JsonObject
Collection of properties that hold the default values for the parametersPermissions config for allowing access to the viewThe configs for individual propertiescom.inductiveautomation.ignition.common.gson.JsonObject
The props of the view itself (like the default size)static final String
static final ResourceType
The root container of the view. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static ViewConfig
fromProjectResource
(ProjectResource resource, com.inductiveautomation.ignition.common.gson.Gson gson) int
hashCode()
toString()
-
Field Details
-
RESOURCE_TYPE
-
RESOURCE_FILENAME
- See Also:
-
root
The root container of the view. -
props
public com.inductiveautomation.ignition.common.gson.JsonObject propsThe props of the view itself (like the default size) -
custom
public com.inductiveautomation.ignition.common.gson.JsonObject customCollection of custom (internal) properties defined on this view -
params
public com.inductiveautomation.ignition.common.gson.JsonObject paramsCollection of properties that hold the default values for the parameters -
propConfig
The configs for individual properties -
events
Configs for event/action handling -
permissions
Permissions config for allowing access to the view
-
-
Constructor Details
-
ViewConfig
public ViewConfig() -
ViewConfig
-
-
Method Details
-
fromProjectResource
public static ViewConfig fromProjectResource(ProjectResource resource, com.inductiveautomation.ignition.common.gson.Gson gson) -
getParamDefinitions
-
toString
-
equals
-
hashCode
public int hashCode() -
getPermissions
-