Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.javatools.ui
Enum Header.Level

java.lang.Object
  extended by java.lang.Enum<Header.Level>
      extended by oracle.javatools.ui.Header.Level
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Header.Level>
Enclosing class:
Header

public static enum Header.Level
extends java.lang.Enum<Header.Level>

The visual appearance of a header changes based on its level in the document.


Enum Constant Summary
DIALOG
          A header in a dialog.
PAGE
          A page level header.
SIMPLE
          A simple.
SUB
          A subheader.
SUBSUB
          A subsubheader.
 
Method Summary
static Header.Level valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Header.Level[] 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

PAGE

public static final Header.Level PAGE
A page level header.


SUB

public static final Header.Level SUB
A subheader.


SUBSUB

public static final Header.Level SUBSUB
A subsubheader.


DIALOG

public static final Header.Level DIALOG
A header in a dialog. Equivalent to SUB, except that the header font is not bold, and the insets on the left and right are zero.


SIMPLE

public static final Header.Level SIMPLE
A simple. Equivalent to SUB, except that the header font is not bold, and there is no line underneath.

Method Detail

values

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

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

valueOf

public static Header.Level 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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.