Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-06


oracle.adf.view.rich.component.rich
Enum RichPopup.PopupHints.AlignTypes

java.lang.Object
  extended by java.lang.Enum<RichPopup.PopupHints.AlignTypes>
      extended by oracle.adf.view.rich.component.rich.RichPopup.PopupHints.AlignTypes

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RichPopup.PopupHints.AlignTypes>
Enclosing class:
RichPopup.PopupHints

public static enum RichPopup.PopupHints.AlignTypes
extends java.lang.Enum<RichPopup.PopupHints.AlignTypes>

Represents the primary hint of how the client-side position manager will will attempt to align a popup to an element. A more suitable hit will be chosen if alignment using the primary hint will not allow the popup to be shown in the window without being clipped. If none of the hints allow the popup to be shown aligned to the target element, the final choice is the primary hint.


Enum Constant Summary
ALIGN_AFTER_END
          The popup appears underneath the element with the popup's upper-right corner aligned with the lower-right corner of the element.
ALIGN_AFTER_START
          The popup appears underneath the element with the popup's upper-left corner aligned with the lower-left corner of the element.
ALIGN_BEFORE_END
          The popup appears above the element with the popup's lower-right corner aligned with the upper-right corner of the element.
ALIGN_BEFORE_START
          The popup appears above the element with the popup's lower-left corner aligned with the upper-left corner of the element.
ALIGN_END_AFTER
          The popup appears to the right of the element with the popup's lower-left corner aligned with the lower-right corner of the element.
ALIGN_END_BEFORE
          The popup appears to the right of the element with the popup's upper-left corner aligned with the upper-right corner of the element.
ALIGN_OVERLAP
          The popup appears over top of the element with the upper-left corners aligned.
ALIGN_START_AFTER
          The popup appears to the left of the element with the popup's lower-right corner aligned with the lower-left corner of the element.
ALIGN_START_BEFORE
          The popup appears to the left of the element with the popup's upper-right corner aligned with the upper-left corner of the element.

 

Method Summary
 java.lang.String getMnemonic()
           
 java.lang.String toString()
           
static RichPopup.PopupHints.AlignTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RichPopup.PopupHints.AlignTypes[] 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, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

ALIGN_AFTER_START

public static final RichPopup.PopupHints.AlignTypes ALIGN_AFTER_START
The popup appears underneath the element with the popup's upper-left corner aligned with the lower-left corner of the element. The left edges of the element and the popup are aligned.

ALIGN_AFTER_END

public static final RichPopup.PopupHints.AlignTypes ALIGN_AFTER_END
The popup appears underneath the element with the popup's upper-right corner aligned with the lower-right corner of the element. The right edges of the element and the popup are aligned.

ALIGN_BEFORE_START

public static final RichPopup.PopupHints.AlignTypes ALIGN_BEFORE_START
The popup appears above the element with the popup's lower-left corner aligned with the upper-left corner of the element. The left edges of the element and the popup are aligned.

ALIGN_BEFORE_END

public static final RichPopup.PopupHints.AlignTypes ALIGN_BEFORE_END
The popup appears above the element with the popup's lower-right corner aligned with the upper-right corner of the element. The right edges of the element and the popup are aligned.

ALIGN_END_AFTER

public static final RichPopup.PopupHints.AlignTypes ALIGN_END_AFTER
The popup appears to the right of the element with the popup's lower-left corner aligned with the lower-right corner of the element. The bottom edges of the element and the popup are aligned.

ALIGN_END_BEFORE

public static final RichPopup.PopupHints.AlignTypes ALIGN_END_BEFORE
The popup appears to the right of the element with the popup's upper-left corner aligned with the upper-right corner of the element. The top edges of the element and the popup are aligned.

ALIGN_START_AFTER

public static final RichPopup.PopupHints.AlignTypes ALIGN_START_AFTER
The popup appears to the left of the element with the popup's lower-right corner aligned with the lower-left corner of the element. The bottom edges of the element and the popup are aligned.

ALIGN_START_BEFORE

public static final RichPopup.PopupHints.AlignTypes ALIGN_START_BEFORE
The popup appears to the left of the element with the popup's upper-right corner aligned with the upper-left corner of the element. The top edges of the element and the popup are aligned.

ALIGN_OVERLAP

public static final RichPopup.PopupHints.AlignTypes ALIGN_OVERLAP
The popup appears over top of the element with the upper-left corners aligned.

Method Detail

values

public static RichPopup.PopupHints.AlignTypes[] 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 (RichPopup.PopupHints.AlignTypes c : RichPopup.PopupHints.AlignTypes.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RichPopup.PopupHints.AlignTypes 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

getMnemonic

public java.lang.String getMnemonic()
Returns:
literal used to support corresponding client-side behavior.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<RichPopup.PopupHints.AlignTypes>
Returns:
returns the mnemonic

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-06


Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.