org.netbeans.modules.editor.lib/3 3.23.0 19

org.netbeans.lib.editor.hyperlink.spi
Enum HyperlinkType

java.lang.Object
  extended by java.lang.Enum<HyperlinkType>
      extended by org.netbeans.lib.editor.hyperlink.spi.HyperlinkType
All Implemented Interfaces:
Serializable, Comparable<HyperlinkType>

public enum HyperlinkType
extends Enum<HyperlinkType>

A type of work for hyperlinks.

Since:
1.18

Enum Constant Summary
ALT_HYPERLINK
          alternative hyperlink action
GO_TO_DECLARATION
          go to declaration
 
Method Summary
static HyperlinkType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HyperlinkType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GO_TO_DECLARATION

public static final HyperlinkType GO_TO_DECLARATION
go to declaration

Since:
1.18

ALT_HYPERLINK

public static final HyperlinkType ALT_HYPERLINK
alternative hyperlink action

Since:
1.33
Method Detail

values

public static HyperlinkType[] 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 (HyperlinkType c : HyperlinkType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HyperlinkType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

org.netbeans.modules.editor.lib/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.