Class NFDSaveDialogArgs.Buffer

All Implemented Interfaces:
Addressable
Enclosing class:
NFDSaveDialogArgs

public static final class NFDSaveDialogArgs.Buffer extends NFDSaveDialogArgs
A buffer of NFDSaveDialogArgs.
  • Constructor Details

    • Buffer

      public Buffer(MemorySegment segment, long elementCount)
      Creates NFDSaveDialogArgs.Buffer with the given segment.
      Parameters:
      segment - the memory segment
      elementCount - the element count
  • Method Details

    • estimateCount

      public long estimateCount()
      Description copied from class: GroupType
      Estimates the element count of this group type buffer.
      Overrides:
      estimateCount in class GroupType
      Returns:
      the estimated element count of the group type buffer
    • asSlice

      public NFDSaveDialogArgs asSlice(long index)
      Creates a slice of NFDSaveDialogArgs.
      Parameters:
      index - the index of the struct buffer
      Returns:
      the slice of NFDSaveDialogArgs
    • asSlice

      public NFDSaveDialogArgs.Buffer asSlice(long index, long count)
      Creates a slice of NFDSaveDialogArgs.
      Parameters:
      index - the index of the struct buffer
      count - the count
      Returns:
      the slice of NFDSaveDialogArgs
    • filterListAt

      public MemorySegment filterListAt(long index)
      Returns filterList at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      filterList at the given index
    • filterListAt

      public NFDSaveDialogArgs.Buffer filterListAt(long index, MemorySegment value)
      Sets filterList with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • filterCountAt

      public int filterCountAt(long index)
      Returns filterCount at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      filterCount at the given index
    • filterCountAt

      public NFDSaveDialogArgs.Buffer filterCountAt(long index, int value)
      Sets filterCount with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • defaultPathAt

      public MemorySegment defaultPathAt(long index)
      Returns defaultPath at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      defaultPath at the given index
    • defaultPathAt

      public NFDSaveDialogArgs.Buffer defaultPathAt(long index, MemorySegment value)
      Sets defaultPath with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • defaultNameAt

      public MemorySegment defaultNameAt(long index)
      Returns defaultName at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      defaultName at the given index
    • defaultNameAt

      public NFDSaveDialogArgs.Buffer defaultNameAt(long index, MemorySegment value)
      Sets defaultName with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this
    • parentWindowAt

      public MemorySegment parentWindowAt(long index)
      Returns parentWindow at the given index.
      Parameters:
      index - the index of the struct buffer
      Returns:
      parentWindow at the given index
    • parentWindowAt

      public NFDSaveDialogArgs.Buffer parentWindowAt(long index, MemorySegment value)
      Sets parentWindow with the given value at the given index.
      Parameters:
      index - the index of the struct buffer
      value - the value
      Returns:
      this