Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
Sample
Document
Enum java.awt.Desktop.Action
Inherited members: ShowHide
Deprecated: ShowHide
View: ClientSubclassPackageImplementation
java.awt

Enum Desktop.Action

  • java.lang.Object
    • java.lang.Enum<Desktop.Action>
      • java.awt.Desktop.Action
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Desktop.Action>
    Enclosing class:
    Desktop
    public static enum Desktop.Action extends java.lang.Enum<Desktop.Action>
    Represents an action type. Each platform supports a different set of actions. You may use the Desktop.isSupported(java.awt.Desktop.Action) method to determine if the given action is supported by the current platform.
    Since:
    1.6
    See Also:
    Desktop.isSupported(java.awt.Desktop.Action)
    • Enum Constants 
      Enum Constant and Description
      Ordinary member indicator BROWSE Reveal DetailHide Detail
      BROWSE
      Represents a "browse" action.
      public static final Desktop.Action BROWSE
      Represents a "browse" action.
      See Also:
      Desktop.browse(java.net.URI)
      Ordinary member indicator EDIT Reveal DetailHide Detail
      EDIT
      Represents an "edit" action.
      public static final Desktop.Action EDIT
      Represents an "edit" action.
      See Also:
      Desktop.edit(java.io.File)
      Ordinary member indicator MAIL Reveal DetailHide Detail
      MAIL
      Represents a "mail" action.
      public static final Desktop.Action MAIL
      Represents a "mail" action.
      See Also:
      Desktop.mail(), Desktop.mail(java.net.URI)
      Ordinary member indicator OPEN Reveal DetailHide Detail
      OPEN
      Represents an "open" action.
      public static final Desktop.Action OPEN
      Represents an "open" action.
      See Also:
      Desktop.open(java.io.File)
      Ordinary member indicator PRINT Reveal DetailHide Detail
      PRINT
      Represents a "print" action.
      public static final Desktop.Action PRINT
      Represents a "print" action.
      See Also:
      Desktop.print(java.io.File)
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator valueOf Reveal DetailHide Detail
      static Desktop.Action valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      public static Desktop.Action valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
      Ordinary member indicator values Reveal DetailHide Detail
      static Desktop.Action[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      public static Desktop.Action[] values()
      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
      for (Desktop.Action c : Desktop.Action.values())
          System.out.println(c);
      
      Returns:
      an array containing the constants of this enum type, in the order they are declared
      • Static methods inherited from class java.lang.Enum

        valueOf
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge