Class uiStyle


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

    Class Documentation

    Blender Source Code

    this is fed to the layout engine and widget code

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

        • Field: 'next'
        • Signature: 'uiStyle*'
        • 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:

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        MAX_STYLE_NAME.

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__paneltitle

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__paneltitle);
         CPointer<uiFontStyle> p_paneltitle = p.cast(new Class[]{uiFontStyle.class});
         

        Metadata

        • Field: 'paneltitle'
        • Signature: 'uiFontStyle'
        • Actual Size (32bit/64bit): 32/32
      • __DNA__FIELD__grouplabel

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__grouplabel);
         CPointer<uiFontStyle> p_grouplabel = p.cast(new Class[]{uiFontStyle.class});
         

        Metadata

        • Field: 'grouplabel'
        • Signature: 'uiFontStyle'
        • Actual Size (32bit/64bit): 32/32
      • __DNA__FIELD__widgetlabel

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__widgetlabel);
         CPointer<uiFontStyle> p_widgetlabel = p.cast(new Class[]{uiFontStyle.class});
         

        Metadata

        • Field: 'widgetlabel'
        • Signature: 'uiFontStyle'
        • Actual Size (32bit/64bit): 32/32
      • __DNA__FIELD__widget

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__widget);
         CPointer<uiFontStyle> p_widget = p.cast(new Class[]{uiFontStyle.class});
         

        Metadata

        • Field: 'widget'
        • Signature: 'uiFontStyle'
        • Actual Size (32bit/64bit): 32/32
      • __DNA__FIELD__panelzoom

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__panelzoom);
         CPointer<Float> p_panelzoom = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'panelzoom'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__minlabelchars

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

        Field Documentation

        Blender Source Code

        In characters.

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__minlabelchars);
         CPointer<Short> p_minlabelchars = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'minlabelchars'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__minwidgetchars

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

        Field Documentation

        Blender Source Code

        In characters.

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__minwidgetchars);
         CPointer<Short> p_minwidgetchars = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'minwidgetchars'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__columnspace

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__columnspace);
         CPointer<Short> p_columnspace = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'columnspace'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__templatespace

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__templatespace);
         CPointer<Short> p_templatespace = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'templatespace'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__boxspace

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__boxspace);
         CPointer<Short> p_boxspace = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'boxspace'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__buttonspacex

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__buttonspacex);
         CPointer<Short> p_buttonspacex = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'buttonspacex'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__buttonspacey

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__buttonspacey);
         CPointer<Short> p_buttonspacey = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'buttonspacey'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__panelspace

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__panelspace);
         CPointer<Short> p_panelspace = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'panelspace'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__panelouter

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

        Pointer Arithmetics

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

         uiStyle uistyle = ...;
         CPointer<Object> p = uistyle.__dna__addressof(uiStyle.__DNA__FIELD__panelouter);
         CPointer<Short> p_panelouter = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'panelouter'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

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

        Metadata

        • Field: '_pad0'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • uiStyle

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

        protected uiStyle​(uiStyle that)
    • Method Detail

      • getNext

        public CPointer<uiStyle> getNext()
                                  throws java.io.IOException
        Get method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setNext

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

        public CPointer<uiStyle> getPrev()
                                  throws java.io.IOException
        Get method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • setPrev

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

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

        Field Documentation

        Blender Source Code

        MAX_STYLE_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

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

        Field Documentation

        Blender Source Code

        MAX_STYLE_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getPaneltitle

        public uiFontStyle getPaneltitle()
                                  throws java.io.IOException
        Get method for struct member 'paneltitle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paneltitle
      • setPaneltitle

        public void setPaneltitle​(uiFontStyle paneltitle)
                           throws java.io.IOException
        Set method for struct member 'paneltitle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__paneltitle
      • getGrouplabel

        public uiFontStyle getGrouplabel()
                                  throws java.io.IOException
        Get method for struct member 'grouplabel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grouplabel
      • setGrouplabel

        public void setGrouplabel​(uiFontStyle grouplabel)
                           throws java.io.IOException
        Set method for struct member 'grouplabel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grouplabel
      • getWidgetlabel

        public uiFontStyle getWidgetlabel()
                                   throws java.io.IOException
        Get method for struct member 'widgetlabel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__widgetlabel
      • setWidgetlabel

        public void setWidgetlabel​(uiFontStyle widgetlabel)
                            throws java.io.IOException
        Set method for struct member 'widgetlabel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__widgetlabel
      • getWidget

        public uiFontStyle getWidget()
                              throws java.io.IOException
        Get method for struct member 'widget'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__widget
      • setWidget

        public void setWidget​(uiFontStyle widget)
                       throws java.io.IOException
        Set method for struct member 'widget'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__widget
      • getPanelzoom

        public float getPanelzoom()
                           throws java.io.IOException
        Get method for struct member 'panelzoom'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__panelzoom
      • setPanelzoom

        public void setPanelzoom​(float panelzoom)
                          throws java.io.IOException
        Set method for struct member 'panelzoom'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__panelzoom
      • getMinlabelchars

        public short getMinlabelchars()
                               throws java.io.IOException
        Get method for struct member 'minlabelchars'.

        Field Documentation

        Blender Source Code

        In characters.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minlabelchars
      • setMinlabelchars

        public void setMinlabelchars​(short minlabelchars)
                              throws java.io.IOException
        Set method for struct member 'minlabelchars'.

        Field Documentation

        Blender Source Code

        In characters.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minlabelchars
      • getMinwidgetchars

        public short getMinwidgetchars()
                                throws java.io.IOException
        Get method for struct member 'minwidgetchars'.

        Field Documentation

        Blender Source Code

        In characters.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minwidgetchars
      • setMinwidgetchars

        public void setMinwidgetchars​(short minwidgetchars)
                               throws java.io.IOException
        Set method for struct member 'minwidgetchars'.

        Field Documentation

        Blender Source Code

        In characters.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__minwidgetchars
      • getColumnspace

        public short getColumnspace()
                             throws java.io.IOException
        Get method for struct member 'columnspace'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__columnspace
      • setColumnspace

        public void setColumnspace​(short columnspace)
                            throws java.io.IOException
        Set method for struct member 'columnspace'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__columnspace
      • getTemplatespace

        public short getTemplatespace()
                               throws java.io.IOException
        Get method for struct member 'templatespace'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__templatespace
      • setTemplatespace

        public void setTemplatespace​(short templatespace)
                              throws java.io.IOException
        Set method for struct member 'templatespace'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__templatespace
      • getBoxspace

        public short getBoxspace()
                          throws java.io.IOException
        Get method for struct member 'boxspace'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boxspace
      • setBoxspace

        public void setBoxspace​(short boxspace)
                         throws java.io.IOException
        Set method for struct member 'boxspace'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__boxspace
      • getButtonspacex

        public short getButtonspacex()
                              throws java.io.IOException
        Get method for struct member 'buttonspacex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__buttonspacex
      • setButtonspacex

        public void setButtonspacex​(short buttonspacex)
                             throws java.io.IOException
        Set method for struct member 'buttonspacex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__buttonspacex
      • getButtonspacey

        public short getButtonspacey()
                              throws java.io.IOException
        Get method for struct member 'buttonspacey'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__buttonspacey
      • setButtonspacey

        public void setButtonspacey​(short buttonspacey)
                             throws java.io.IOException
        Set method for struct member 'buttonspacey'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__buttonspacey
      • getPanelspace

        public short getPanelspace()
                            throws java.io.IOException
        Get method for struct member 'panelspace'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__panelspace
      • setPanelspace

        public void setPanelspace​(short panelspace)
                           throws java.io.IOException
        Set method for struct member 'panelspace'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__panelspace
      • getPanelouter

        public short getPanelouter()
                            throws java.io.IOException
        Get method for struct member 'panelouter'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__panelouter
      • setPanelouter

        public void setPanelouter​(short panelouter)
                           throws java.io.IOException
        Set method for struct member 'panelouter'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__panelouter
      • 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
      • __io__addressof

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