Class NkPopupState

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • NkPopupState

        public NkPopupState​(java.nio.ByteBuffer container)
        Creates a NkPopupState instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

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

    • Method Detail

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • win

        public NkWindow win()
        Returns a NkWindow view of the struct pointed to by the win field.
      • type

        public int type()
        Returns the value of the type field.
      • name

        public int name()
        Returns the value of the name field.
      • active

        public int active()
        Returns the value of the active field.
      • combo_count

        public int combo_count()
        Returns the value of the combo_count field.
      • con_count

        public int con_count()
        Returns the value of the con_count field.
      • con_old

        public int con_old()
        Returns the value of the con_old field.
      • active_con

        public int active_con()
        Returns the value of the active_con field.
      • header

        public NkRect header()
        Returns a NkRect view of the header field.
      • create

        public static NkPopupState create​(long address)
        Returns a new NkPopupState instance for the specified memory address.
      • createSafe

        public static NkPopupState createSafe​(long address)
        Like create, but returns null if address is NULL.
      • create

        public static NkPopupState.Buffer create​(long address,
                                                 int capacity)
        Create a NkPopupState.Buffer instance at the specified memory.
        address - the memory address
        capacity - the buffer capacity
      • createSafe

        public static NkPopupState.Buffer createSafe​(long address,
                                                     int capacity)
        Like create, but returns null if address is NULL.
      • nwin

        public static NkWindow nwin​(long struct)
        Unsafe version of win().
      • ntype

        public static int ntype​(long struct)
        Unsafe version of type().
      • nname

        public static int nname​(long struct)
        Unsafe version of name().
      • nactive

        public static int nactive​(long struct)
        Unsafe version of active().
      • ncombo_count

        public static int ncombo_count​(long struct)
        Unsafe version of combo_count().
      • ncon_count

        public static int ncon_count​(long struct)
        Unsafe version of con_count().
      • ncon_old

        public static int ncon_old​(long struct)
        Unsafe version of con_old().
      • nactive_con

        public static int nactive_con​(long struct)
        Unsafe version of active_con().
      • nheader

        public static NkRect nheader​(long struct)
        Unsafe version of header().