Class WINDOWPLACEMENT.Buffer

    • Constructor Detail

      • Buffer

        public Buffer(java.nio.ByteBuffer container)
        Creates a new WINDOWPLACEMENT.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by WINDOWPLACEMENT.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

    • Method Detail

      • length

        public int length()
        Returns the value of the length field.
      • flags

        public int flags()
        Returns the value of the flags field.
      • showCmd

        public int showCmd()
        Returns the value of the showCmd field.
      • ptMinPosition

        public POINT ptMinPosition()
        Returns a POINT view of the ptMinPosition field.
      • ptMaxPosition

        public POINT ptMaxPosition()
        Returns a POINT view of the ptMaxPosition field.
      • rcNormalPosition

        public RECT rcNormalPosition()
        Returns a RECT view of the rcNormalPosition field.