Class PerspectiveScriptingFunctions

java.lang.Object
com.inductiveautomation.perspective.gateway.script.AbstractScriptingFunctions
com.inductiveautomation.perspective.gateway.script.PerspectiveScriptingFunctions

public class PerspectiveScriptingFunctions extends AbstractScriptingFunctions
  • Constructor Details

    • PerspectiveScriptingFunctions

      public PerspectiveScriptingFunctions(PerspectiveContext context)
  • Method Details

    • isAuthorized

      public boolean isAuthorized(org.python.core.PyObject[] pyArgs, String[] keywords)
    • closeSession

      public void closeSession(org.python.core.PyObject[] pyArgs, String[] keywords)
    • closePage

      public void closePage(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • openPopup

      public void openPopup(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • closePopup

      public void closePopup(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • togglePopup

      public void togglePopup(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • openDock

      public void openDock(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • closeDock

      public void closeDock(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • toggleDock

      public void toggleDock(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • setTheme

      public void setTheme(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • authenticationChallenge

      public void authenticationChallenge(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • login

      public void login(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • logout

      public void logout(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • debug

      public void debug(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • refresh

      public void refresh(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • alterLogging

      public void alterLogging(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • alterDock

      public void alterDock(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • print

      public void print(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • sendMessage

      public void sendMessage(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • download

      public void download(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • vibrateDevice

      public void vibrateDevice(org.python.core.PyObject[] pyArgs, String[] keywords) throws Exception
      Throws:
      Exception
    • getSessionInfo

      public List getSessionInfo(org.python.core.PyObject[] values, String[] keywords)
    • getContext

      protected PerspectiveContext getContext()
      Specified by:
      getContext in class AbstractScriptingFunctions
    • getProjectInfo

      public org.python.core.PyObject getProjectInfo()