Class Emulation.DisplayFeature

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • orientation

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String orientation
        Orientation of a display feature in relation to screen

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed inside the hilited source code from this class nested helper. Click the link below, and scroll down to find the definition for a ReadOnlyList<String> named 'orientation$$':

        📎 Emulation$$DisplayFeature$$


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Emulation.DisplayFeature.enumStrList("orientation");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
      • offset

        🡅  🡇     🗕  🗗  🗖
        public final int offset
        The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.
      • maskLength

        🡅  🡇     🗕  🗗  🗖
        public final int maskLength
        A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask_length.
    • Constructor Detail