Class JsonSchemaFilterListener
- java.lang.Object
-
- com.inductiveautomation.ignition.client.jsonedit.JsonSchemaFilterListener
-
- All Implemented Interfaces:
NodeChangeListener
public class JsonSchemaFilterListener extends java.lang.Object implements NodeChangeListener
Listens to document models in order to drive the visibility of DocumentNodes based upon their schema and the "visibleWhen" meta-validator.
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaFilterListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isNodeVisible(DocumentNode node)
Determine if a node should be visible based upon any VisibleWhen filters in its schema.void
onNodeChanged(DocumentNode node, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
-
-
-
Method Detail
-
onNodeChanged
public void onNodeChanged(DocumentNode node, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
- Specified by:
onNodeChanged
in interfaceNodeChangeListener
-
isNodeVisible
public static boolean isNodeVisible(DocumentNode node)
Determine if a node should be visible based upon any VisibleWhen filters in its schema.
-
-