Class NFDSaveDialogArgs.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.nfd.NFDSaveDialogArgs
overrungl.nfd.NFDSaveDialogArgs.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
NFDSaveDialogArgs
A buffer of
NFDSaveDialogArgs
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.nfd.NFDSaveDialogArgs
NFDSaveDialogArgs.Buffer
-
Field Summary
Fields inherited from class overrungl.nfd.NFDSaveDialogArgs
LAYOUT, LAYOUT_defaultName, LAYOUT_defaultPath, LAYOUT_filterCount, LAYOUT_filterList, LAYOUT_parentWindow, OFFSET_defaultName, OFFSET_defaultPath, OFFSET_filterCount, OFFSET_filterList, OFFSET_parentWindow, VH_defaultName, VH_defaultPath, VH_filterCount, VH_filterList
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesNFDSaveDialogArgs.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofNFDSaveDialogArgs
.asSlice
(long index, long count) Creates a slice ofNFDSaveDialogArgs
.defaultNameAt
(long index) ReturnsdefaultName
at the given index.defaultNameAt
(long index, MemorySegment value) SetsdefaultName
with the given value at the given index.defaultPathAt
(long index) ReturnsdefaultPath
at the given index.defaultPathAt
(long index, MemorySegment value) SetsdefaultPath
with the given value at the given index.long
Estimates the element count of this group type buffer.int
filterCountAt
(long index) ReturnsfilterCount
at the given index.filterCountAt
(long index, int value) SetsfilterCount
with the given value at the given index.filterListAt
(long index) ReturnsfilterList
at the given index.filterListAt
(long index, MemorySegment value) SetsfilterList
with the given value at the given index.parentWindowAt
(long index) ReturnsparentWindow
at the given index.parentWindowAt
(long index, MemorySegment value) SetsparentWindow
with the given value at the given index.Methods inherited from class overrungl.nfd.NFDSaveDialogArgs
alloc, alloc, asBuffer, copyFrom, defaultName, defaultName, defaultName, defaultName, defaultPath, defaultPath, defaultPath, defaultPath, filterCount, filterCount, filterCount, filterCount, filterList, filterList, filterList, filterList, of, ofNative, ofNative, parentWindow, parentWindow, parentWindow, parentWindow
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesNFDSaveDialogArgs.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- 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 classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofNFDSaveDialogArgs
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
NFDSaveDialogArgs
-
asSlice
Creates a slice ofNFDSaveDialogArgs
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
NFDSaveDialogArgs
-
filterListAt
ReturnsfilterList
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
filterList
at the given index
-
filterListAt
SetsfilterList
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
filterCountAt
public int filterCountAt(long index) ReturnsfilterCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
filterCount
at the given index
-
filterCountAt
SetsfilterCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
defaultPathAt
ReturnsdefaultPath
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
defaultPath
at the given index
-
defaultPathAt
SetsdefaultPath
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
defaultNameAt
ReturnsdefaultName
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
defaultName
at the given index
-
defaultNameAt
SetsdefaultName
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
parentWindowAt
ReturnsparentWindow
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
parentWindow
at the given index
-
parentWindowAt
SetsparentWindow
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-