com.ibm.pdp.maf.rpp.pac.dialog

Enum LabelPresentationValues

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LabelPresentationValues>


    public enum LabelPresentationValues
    extends java.lang.Enum<LabelPresentationValues>

    List of label presentation values for the Data Element belonging to layout of Screen.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static LabelPresentationValues valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static LabelPresentationValues[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

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

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • _1

        public static final LabelPresentationValues _1

        Data Element topped by a single line column label.

        The Data Element is topped by the column label on one line.

      • _2

        public static final LabelPresentationValues _2

        Data Element topped by a 2–line column label.

        The Data Element is topped by the column label on two lines.

      • _3

        public static final LabelPresentationValues _3

        Data Element topped by a 3–line column label.

        The Data Element is topped by the column label on three lines.

      • _F

        public static final LabelPresentationValues _F

        Data Element only.

        The Data Element is displayed without any label.

      • _L

        public static final LabelPresentationValues _L

        Data Element with long label, left-justified

        The Data Element is preceded by the Data Element label, left-aligned, on 36 positions.

      • _M

        public static final LabelPresentationValues _M

        Data Element with long label, right-justified

        The Data Element is preceded by the Data Element label, right-aligned, on 36 positions.

      • _N

        public static final LabelPresentationValues _N

        Data Element with long label, left-justified, trimmed right.

        The Data Element is preceded by the Data Element label, left-aligned with the deletion of blanks on the right.

      • _R

        public static final LabelPresentationValues _R

        Data Element with long relational label, left-justified.

        The Data Element is preceded by the relational label, left-aligned on 18 positions.

      • _T

        public static final LabelPresentationValues _T

        Data Element with short label, right-justified.

        The Data Element is preceded by the short label, right-aligned, on 18 positions.

      • _U

        public static final LabelPresentationValues _U

        Data Element with short label, left-justified, trimmed right.

        The Data Element is preceded by the short label, left-aligned, with the deletion of blanks on the right.

      • NONE

        public static final LabelPresentationValues NONE

        Default value Defaults to the value specified in the Dialog.

    • Method Detail

      • valueOf

        public static LabelPresentationValues 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
      • values

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