weka.gui.knowledgeflow

## Class GetPerspectiveNamesGraphicalCommand

- java.lang.Object
- - weka.gui.knowledgeflow.AbstractGraphicalCommand
  - - weka.gui.knowledgeflow.GetPerspectiveNamesGraphicalCommand

-     public class GetPerspectiveNamesGraphicalCommand
      extends AbstractGraphicalCommand

  Class implementing a command for getting the names of all visible perspectives
  Version:
    $Revision: $
  Author:
    Mark Hall (mhall{[at]}pentaho{[dot]}com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `GET_PERSPECTIVE_NAMES_KEY` Command ID

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GetPerspectiveNamesGraphicalCommand()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getCommandDescription()` Get the description of this command
    `java.lang.String` | `getCommandName()` Get the name of the command
    `java.util.List<java.lang.String>` | `performCommand(java.lang.Object... commandArgs)` Execute the command
    `void` | `setGraphicalEnvironment(java.lang.Object graphicalEnvironment)` Set the graphical environment

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

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

- - ### Field Detail

    - #### GET_PERSPECTIVE_NAMES_KEY

          public static final java.lang.String GET_PERSPECTIVE_NAMES_KEY

      Command ID
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### GetPerspectiveNamesGraphicalCommand

          public GetPerspectiveNamesGraphicalCommand()

  - ### Method Detail

    - #### setGraphicalEnvironment

          public void setGraphicalEnvironment(java.lang.Object graphicalEnvironment)

      Set the graphical environment
      Overrides:
        `setGraphicalEnvironment` in class `AbstractGraphicalCommand`
      Parameters:
        `graphicalEnvironment` - the graphical environment

    - #### getCommandName

          public java.lang.String getCommandName()

      Get the name of the command
      Specified by:
        `getCommandName` in class `AbstractGraphicalCommand`
      Returns:
        the name of the command

    - #### getCommandDescription

          public java.lang.String getCommandDescription()

      Get the description of this command
      Specified by:
        `getCommandDescription` in class `AbstractGraphicalCommand`
      Returns:
        the description of this command

    - #### performCommand

          public java.util.List<java.lang.String> performCommand(java.lang.Object... commandArgs)
                                                          throws WekaException

      Execute the command
      Specified by:
        `performCommand` in class `AbstractGraphicalCommand`
      Parameters:
        `commandArgs` - arguments to the command
      Returns:
        null (no return value for this command)
      Throws:
        `WekaException` - if a problem occurs