Class SpaceFile


  • public class SpaceFile
    extends CFacade
    Generated facet for DNA struct type 'SpaceFile'.

    Class Documentation

    Blender Source Code

    File Browser

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct SpaceFile.

        It is required when allocating a new block to store data for SpaceFile.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__next

        public static final long[] __DNA__FIELD__next
        Field descriptor (offset) for struct member 'next'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__next);
         CPointer<CPointer<SpaceLink>> p_next = p.cast(new Class[]{CPointer.class, SpaceLink.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'SpaceLink*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

        public static final long[] __DNA__FIELD__prev
        Field descriptor (offset) for struct member 'prev'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__prev);
         CPointer<CPointer<SpaceLink>> p_prev = p.cast(new Class[]{CPointer.class, SpaceLink.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'SpaceLink*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__regionbase

        public static final long[] __DNA__FIELD__regionbase
        Field descriptor (offset) for struct member 'regionbase'.

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__regionbase);
         CPointer<ListBase> p_regionbase = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'regionbase'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__spacetype

        public static final long[] __DNA__FIELD__spacetype
        Field descriptor (offset) for struct member 'spacetype'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__spacetype);
         CPointer<Byte> p_spacetype = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'spacetype'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__link_flag

        public static final long[] __DNA__FIELD__link_flag
        Field descriptor (offset) for struct member 'link_flag'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__link_flag);
         CPointer<Byte> p_link_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'link_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

        public static final long[] __DNA__FIELD___pad0
        Field descriptor (offset) for struct member '_pad0'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD___pad1

        public static final long[] __DNA__FIELD___pad1
        Field descriptor (offset) for struct member '_pad1'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scroll_offset

        public static final long[] __DNA__FIELD__scroll_offset
        Field descriptor (offset) for struct member 'scroll_offset'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__scroll_offset);
         CPointer<Integer> p_scroll_offset = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'scroll_offset'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__params

        public static final long[] __DNA__FIELD__params
        Field descriptor (offset) for struct member 'params'.

        Field Documentation

        Blender Source Code

        Config and input for file select.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__params);
         CPointer<CPointer<FileSelectParams>> p_params = p.cast(new Class[]{CPointer.class, FileSelectParams.class});
         

        Metadata

        • Field: 'params'
        • Signature: 'FileSelectParams*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__files

        public static final long[] __DNA__FIELD__files
        Field descriptor (offset) for struct member 'files'.

        Field Documentation

        Blender Source Code

        Holds the list of files to show.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__files);
         CPointer<CPointer<Object>> p_files = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'files'
        • Signature: 'FileList*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__folders_prev

        public static final long[] __DNA__FIELD__folders_prev
        Field descriptor (offset) for struct member 'folders_prev'.

        Field Documentation

        Blender Source Code

        Holds the list of previous directories to show.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__folders_prev);
         CPointer<CPointer<ListBase>> p_folders_prev = p.cast(new Class[]{CPointer.class, ListBase.class});
         

        Metadata

        • Field: 'folders_prev'
        • Signature: 'ListBase*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__folders_next

        public static final long[] __DNA__FIELD__folders_next
        Field descriptor (offset) for struct member 'folders_next'.

        Field Documentation

        Blender Source Code

        Holds the list of next directories (pushed from previous) to show.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__folders_next);
         CPointer<CPointer<ListBase>> p_folders_next = p.cast(new Class[]{CPointer.class, ListBase.class});
         

        Metadata

        • Field: 'folders_next'
        • Signature: 'ListBase*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__op

        public static final long[] __DNA__FIELD__op
        Field descriptor (offset) for struct member 'op'.

        Field Documentation

        Blender Source Code

        operator that is invoking fileselect op->exec() will be called on the 'Load' button. if operator provides op->cancel(), then this will be invoked on the cancel button.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__op);
         CPointer<CPointer<wmOperator>> p_op = p.cast(new Class[]{CPointer.class, wmOperator.class});
         

        Metadata

        • Field: 'op'
        • Signature: 'wmOperator*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__smoothscroll_timer

        public static final long[] __DNA__FIELD__smoothscroll_timer
        Field descriptor (offset) for struct member 'smoothscroll_timer'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__smoothscroll_timer);
         CPointer<CPointer<Object>> p_smoothscroll_timer = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'smoothscroll_timer'
        • Signature: 'wmTimer*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__previews_timer

        public static final long[] __DNA__FIELD__previews_timer
        Field descriptor (offset) for struct member 'previews_timer'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__previews_timer);
         CPointer<CPointer<Object>> p_previews_timer = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'previews_timer'
        • Signature: 'wmTimer*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__layout

        public static final long[] __DNA__FIELD__layout
        Field descriptor (offset) for struct member 'layout'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__layout);
         CPointer<CPointer<Object>> p_layout = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'layout'
        • Signature: 'FileLayout*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__recentnr

        public static final long[] __DNA__FIELD__recentnr
        Field descriptor (offset) for struct member 'recentnr'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__recentnr);
         CPointer<Short> p_recentnr = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'recentnr'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__bookmarknr

        public static final long[] __DNA__FIELD__bookmarknr
        Field descriptor (offset) for struct member 'bookmarknr'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__bookmarknr);
         CPointer<Short> p_bookmarknr = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'bookmarknr'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__systemnr

        public static final long[] __DNA__FIELD__systemnr
        Field descriptor (offset) for struct member 'systemnr'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__systemnr);
         CPointer<Short> p_systemnr = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'systemnr'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__system_bookmarknr

        public static final long[] __DNA__FIELD__system_bookmarknr
        Field descriptor (offset) for struct member 'system_bookmarknr'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceFile spacefile = ...;
         CPointer<Object> p = spacefile.__dna__addressof(SpaceFile.__DNA__FIELD__system_bookmarknr);
         CPointer<Short> p_system_bookmarknr = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'system_bookmarknr'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • SpaceFile

        public SpaceFile​(long __address,
                         Block __block,
                         BlockTable __blockTable)
      • SpaceFile

        protected SpaceFile​(SpaceFile that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<SpaceLink> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<SpaceLink> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getRegionbase

        public ListBase getRegionbase()
                               throws java.io.IOException
        Get method for struct member 'regionbase'.

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionbase
      • setRegionbase

        public void setRegionbase​(ListBase regionbase)
                           throws java.io.IOException
        Set method for struct member 'regionbase'.

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionbase
      • getSpacetype

        public byte getSpacetype()
                          throws java.io.IOException
        Get method for struct member 'spacetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacetype
      • setSpacetype

        public void setSpacetype​(byte spacetype)
                          throws java.io.IOException
        Set method for struct member 'spacetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacetype
      • getLink_flag

        public byte getLink_flag()
                          throws java.io.IOException
        Get method for struct member 'link_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__link_flag
      • setLink_flag

        public void setLink_flag​(byte link_flag)
                          throws java.io.IOException
        Set method for struct member 'link_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__link_flag
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • get_pad1

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getScroll_offset

        public int getScroll_offset()
                             throws java.io.IOException
        Get method for struct member 'scroll_offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scroll_offset
      • setScroll_offset

        public void setScroll_offset​(int scroll_offset)
                              throws java.io.IOException
        Set method for struct member 'scroll_offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scroll_offset
      • getParams

        public CPointer<FileSelectParams> getParams()
                                             throws java.io.IOException
        Get method for struct member 'params'.

        Field Documentation

        Blender Source Code

        Config and input for file select.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__params
      • setParams

        public void setParams​(CPointer<FileSelectParams> params)
                       throws java.io.IOException
        Set method for struct member 'params'.

        Field Documentation

        Blender Source Code

        Config and input for file select.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__params
      • getFiles

        public CPointer<java.lang.Object> getFiles()
                                            throws java.io.IOException
        Get method for struct member 'files'.

        Field Documentation

        Blender Source Code

        Holds the list of files to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__files
      • setFiles

        public void setFiles​(CPointer<java.lang.Object> files)
                      throws java.io.IOException
        Set method for struct member 'files'.

        Field Documentation

        Blender Source Code

        Holds the list of files to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__files
      • getFolders_prev

        public CPointer<ListBase> getFolders_prev()
                                           throws java.io.IOException
        Get method for struct member 'folders_prev'.

        Field Documentation

        Blender Source Code

        Holds the list of previous directories to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__folders_prev
      • setFolders_prev

        public void setFolders_prev​(CPointer<ListBase> folders_prev)
                             throws java.io.IOException
        Set method for struct member 'folders_prev'.

        Field Documentation

        Blender Source Code

        Holds the list of previous directories to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__folders_prev
      • getFolders_next

        public CPointer<ListBase> getFolders_next()
                                           throws java.io.IOException
        Get method for struct member 'folders_next'.

        Field Documentation

        Blender Source Code

        Holds the list of next directories (pushed from previous) to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__folders_next
      • setFolders_next

        public void setFolders_next​(CPointer<ListBase> folders_next)
                             throws java.io.IOException
        Set method for struct member 'folders_next'.

        Field Documentation

        Blender Source Code

        Holds the list of next directories (pushed from previous) to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__folders_next
      • getOp

        public CPointer<wmOperator> getOp()
                                   throws java.io.IOException
        Get method for struct member 'op'.

        Field Documentation

        Blender Source Code

        operator that is invoking fileselect op->exec() will be called on the 'Load' button. if operator provides op->cancel(), then this will be invoked on the cancel button.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__op
      • setOp

        public void setOp​(CPointer<wmOperator> op)
                   throws java.io.IOException
        Set method for struct member 'op'.

        Field Documentation

        Blender Source Code

        operator that is invoking fileselect op->exec() will be called on the 'Load' button. if operator provides op->cancel(), then this will be invoked on the cancel button.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__op
      • getSmoothscroll_timer

        public CPointer<java.lang.Object> getSmoothscroll_timer()
                                                         throws java.io.IOException
        Get method for struct member 'smoothscroll_timer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smoothscroll_timer
      • setSmoothscroll_timer

        public void setSmoothscroll_timer​(CPointer<java.lang.Object> smoothscroll_timer)
                                   throws java.io.IOException
        Set method for struct member 'smoothscroll_timer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__smoothscroll_timer
      • getPreviews_timer

        public CPointer<java.lang.Object> getPreviews_timer()
                                                     throws java.io.IOException
        Get method for struct member 'previews_timer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__previews_timer
      • setPreviews_timer

        public void setPreviews_timer​(CPointer<java.lang.Object> previews_timer)
                               throws java.io.IOException
        Set method for struct member 'previews_timer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__previews_timer
      • getLayout

        public CPointer<java.lang.Object> getLayout()
                                             throws java.io.IOException
        Get method for struct member 'layout'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layout
      • setLayout

        public void setLayout​(CPointer<java.lang.Object> layout)
                       throws java.io.IOException
        Set method for struct member 'layout'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layout
      • getRecentnr

        public short getRecentnr()
                          throws java.io.IOException
        Get method for struct member 'recentnr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__recentnr
      • setRecentnr

        public void setRecentnr​(short recentnr)
                         throws java.io.IOException
        Set method for struct member 'recentnr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__recentnr
      • getBookmarknr

        public short getBookmarknr()
                            throws java.io.IOException
        Get method for struct member 'bookmarknr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bookmarknr
      • setBookmarknr

        public void setBookmarknr​(short bookmarknr)
                           throws java.io.IOException
        Set method for struct member 'bookmarknr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bookmarknr
      • getSystemnr

        public short getSystemnr()
                          throws java.io.IOException
        Get method for struct member 'systemnr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__systemnr
      • setSystemnr

        public void setSystemnr​(short systemnr)
                         throws java.io.IOException
        Set method for struct member 'systemnr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__systemnr
      • getSystem_bookmarknr

        public short getSystem_bookmarknr()
                                   throws java.io.IOException
        Get method for struct member 'system_bookmarknr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__system_bookmarknr
      • setSystem_bookmarknr

        public void setSystem_bookmarknr​(short system_bookmarknr)
                                  throws java.io.IOException
        Set method for struct member 'system_bookmarknr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__system_bookmarknr
      • __io__addressof

        public CPointer<SpaceFile> __io__addressof()
        Instantiates a pointer on this instance.