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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptioncom.inductiveautomation.ignition.common.gson.JsonObjectCollection of custom (internal) properties defined on this viewConfigs for event/action handlingcom.inductiveautomation.ignition.common.gson.JsonObjectCollection 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.JsonObjectThe props of the view itself (like the default size)static final Stringstatic final ResourceTypeThe root container of the view.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanstatic ViewConfigfromProjectResource(ProjectResource resource, com.inductiveautomation.ignition.common.gson.Gson gson) inthashCode()toString()
- 
Field Details- 
RESOURCE_TYPE
- 
RESOURCE_FILENAME- See Also:
 
- 
rootThe root container of the view.
- 
propspublic com.inductiveautomation.ignition.common.gson.JsonObject propsThe props of the view itself (like the default size)
- 
custompublic com.inductiveautomation.ignition.common.gson.JsonObject customCollection of custom (internal) properties defined on this view
- 
paramspublic com.inductiveautomation.ignition.common.gson.JsonObject paramsCollection of properties that hold the default values for the parameters
- 
propConfigThe configs for individual properties
- 
eventsConfigs for event/action handling
- 
permissionsPermissions config for allowing access to the view
 
- 
- 
Constructor Details- 
ViewConfigpublic ViewConfig()
- 
ViewConfig
 
- 
- 
Method Details- 
fromProjectResourcepublic static ViewConfig fromProjectResource(ProjectResource resource, com.inductiveautomation.ignition.common.gson.Gson gson) 
- 
getParamDefinitions
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
- 
getPermissions
 
-