Class PageScriptWrapper.SafetyWrapper

java.lang.Object
com.inductiveautomation.perspective.gateway.script.PageScriptWrapper.SafetyWrapper
All Implemented Interfaces:
PropertyTreeOwner
Enclosing class:
PageScriptWrapper

public static class PageScriptWrapper.SafetyWrapper extends Object
  • Field Details

  • Constructor Details

    • SafetyWrapper

      public SafetyWrapper(Page page)
  • Method Details

    • getId

      public String getId()
    • getViews

      public List<ViewModel> getViews()
    • isConnected

      public boolean isConnected()
    • close

      public void close()
    • close

      public void close(@Nullable String message)
    • getPropertyTreeOf

      @Nullable public PropertyTree getPropertyTreeOf(@Nullable PropertyType propertyType)
      Description copied from interface: PropertyTreeOwner
      Fetch the PropertyTree associated with the given PropertyType
      Specified by:
      getPropertyTreeOf in interface PropertyTreeOwner
      Parameters:
      propertyType - The PropertyType of the PropertyTree we want to fetch
      Returns:
      The PropertyTree or null if this PropertyTreeOwner does not manage a PropertyTree for the given PropertyType or if a null PropertyType is given
    • print

      public void print(String message)
    • getView

      public View getView()
    • getSession

      public Session getSession()
    • getPage

      public Page getPage()
    • getName

      public String getName()