Enum Class BrowserPageAction

java.lang.Object
java.lang.Enum<BrowserPageAction>
com.webfirmframework.wffweb.server.page.action.BrowserPageAction
All Implemented Interfaces:
Serializable, Comparable<BrowserPageAction>, Constable

public enum BrowserPageAction extends Enum<BrowserPageAction>
  • Enum Constant Details

  • Method Details

    • values

      public static BrowserPageAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BrowserPageAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getActionBytes

      public byte[] getActionBytes()
      Returns:
      the bytes for the browser action
      Since:
      2.0.3
    • getActionByteBuffer

      public ByteBuffer getActionByteBuffer()
      Returns:
      the action ByteBuffer for the browser action
      Since:
      2.0.3
    • getActionByteBufferForExecuteJS

      public static ByteBuffer getActionByteBufferForExecuteJS(String js)
      Gets the action ByteBuffer for executing the given JavaScript
      Parameters:
      js - JavaScript to execute in the browser
      Returns:
      the action ByteBuffer for executing the given JavaScript in the browser.
      Since:
      2.1.0 initial implementation., 3.0.15 throwing UnsupportedEncodingException is removed as announced in 3.0.1 release.
    • getActionBytesForExecuteJS

      public static byte[] getActionBytesForExecuteJS(String js)
      Gets the action bytes for executing the given JavaScript in the browser.
      Parameters:
      js - JavaScript to execute in the browser
      Returns:
      the action bytes for executing the given JavaScript in the browser.
      Since:
      2.1.0 initial implementation., 3.0.15 throwing UnsupportedEncodingException is removed as announced in 3.0.1 release.