Class Browser.Bounds

    • 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
      • left

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Integer left
        The offset from the left edge of the screen to the window in pixels.
        OPTIONAL
      • top

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Integer top
        The offset from the top edge of the screen to the window in pixels.
        OPTIONAL
      • windowState

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String windowState
        The window state. Default to normal.
        OPTIONAL

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:

        📎 Browser.WindowState


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

      • Bounds

        🡅  🡇     🗕  🗗  🗖
        public Bounds​(ReadOnlyList<java.lang.Boolean> isPresent,
                      java.lang.Integer left,
                      java.lang.Integer top,
                      java.lang.Integer width,
                      java.lang.Integer height,
                      java.lang.String windowState)
        Constructor. Please review this class' fields for documentation.