Package com.orchestranetworks.ui.action

# Class WebComponentAction

java.lang.Object
com.orchestranetworks.ui.action.WebComponentAction

All Implemented Interfaces:
  `Action`

public final class WebComponentAction extends Object implements Action
Defines an action that runs a Web component.

Invoking the action opens the standard modal inner pop-up with the specified `Web component`.

Since:
  5.7.1.
See Also:
  - `UIComponentWriter.buildButtonPreview(UIHttpManagerComponent)`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WebComponentAction(UIHttpManagerComponent aWebComponent)`
  Creates an action launching and opening the specified Web component.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DisplayMode`
  `getDisplayMode()`
  `UIHttpManagerComponent`
  `getManagerComponent()`
  `void`
  `setDisplayMode(DisplayMode aDisplayMode)`
  Specifies how the action should be displayed at launch.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### WebComponentAction

    public WebComponentAction(UIHttpManagerComponent aWebComponent)
    Creates an action launching and opening the specified Web component.
    Parameters:
      `aWebComponent` - the Web component to be launched in the standard modal inner pop-up.

- ## Method Details

  - ### getManagerComponent

    public UIHttpManagerComponent getManagerComponent()

  - ### getDisplayMode

    public DisplayMode getDisplayMode()
    Since:
      5.9.0
    See Also:
      - `setDisplayMode(DisplayMode)`

  - ### setDisplayMode

    public void setDisplayMode(DisplayMode aDisplayMode)
    Specifies how the action should be displayed at launch.

    The default value is `DisplayMode.Workspace`.

    Since:
      5.9.0