Package com.orchestranetworks.ui.action

# Class DisplayMode.Workspace

java.lang.Object
com.orchestranetworks.ui.action.DisplayMode
com.orchestranetworks.ui.action.DisplayMode.Workspace

Enclosing class:
  DisplayMode

public static final class DisplayMode.Workspace extends DisplayMode
Indicates that the action should be displayed in the workspace.

Since:
  5.9.0

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class com.orchestranetworks.ui.action.DisplayMode

  `DisplayMode.ModalCustom, DisplayMode.ModalMedium, DisplayMode.Workspace`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DisplayMode.Workspace`
  `asWorkspace()`
  If this instance is a `DisplayMode.Workspace`, casts it and returns it.
  `boolean`
  `isWorkspace()`
  Indicates if this instance is a `DisplayMode.Workspace`.
  `String`
  `toString()`

  ### Methods inherited from class com.orchestranetworks.ui.action.DisplayMode

  `asModalCustom, asModalMedium, isModalCustom, isModalMedium, modalCustom, modalMedium, workspace`

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

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

- ## Method Details

  - ### isWorkspace

    public boolean isWorkspace()
    Description copied from class: `DisplayMode`
    Indicates if this instance is a `DisplayMode.Workspace`.
    Overrides:
      `isWorkspace` in class `DisplayMode`

  - ### asWorkspace

    public DisplayMode.Workspace asWorkspace()
    Description copied from class: `DisplayMode`
    If this instance is a `DisplayMode.Workspace`, casts it and returns it. Returns `null` otherwise.
    Overrides:
      `asWorkspace` in class `DisplayMode`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`