public class wmKeyMap extends CFacade
stored in WM, the actively used keymaps
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__diff_items
Field descriptor (offset) for struct member 'diff_items'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__idname
Field descriptor (offset) for struct member 'idname'.
|
static long[] |
__DNA__FIELD__items
Field descriptor (offset) for struct member 'items'.
|
static long[] |
__DNA__FIELD__kmi_id
Field descriptor (offset) for struct member 'kmi_id'.
|
static long[] |
__DNA__FIELD__modal_items
Field descriptor (offset) for struct member 'modal_items'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__regionid
Field descriptor (offset) for struct member 'regionid'.
|
static long[] |
__DNA__FIELD__spaceid
Field descriptor (offset) for struct member 'spaceid'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct wmKeyMap.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
wmKeyMap(long __address,
Block __block,
BlockTable __blockTable) |
protected |
wmKeyMap(wmKeyMap that) |
Modifier and Type | Method and Description |
---|---|
CPointer<wmKeyMap> |
__io__addressof()
Instantiates a pointer on this instance.
|
ListBase |
getDiff_items()
Get method for struct member 'diff_items'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Byte> |
getIdname()
Get method for struct member 'idname'.
|
ListBase |
getItems()
Get method for struct member 'items'.
|
short |
getKmi_id()
Get method for struct member 'kmi_id'.
|
CPointer<java.lang.Object> |
getModal_items()
Get method for struct member 'modal_items'.
|
CPointer<wmKeyMap> |
getNext()
Get method for struct member 'next'.
|
CPointer<wmKeyMap> |
getPrev()
Get method for struct member 'prev'.
|
short |
getRegionid()
Get method for struct member 'regionid'.
|
short |
getSpaceid()
Get method for struct member 'spaceid'.
|
void |
setDiff_items(ListBase diff_items)
Set method for struct member 'diff_items'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setIdname(CArrayFacade<java.lang.Byte> idname)
Set method for struct member 'idname'.
|
void |
setItems(ListBase items)
Set method for struct member 'items'.
|
void |
setKmi_id(short kmi_id)
Set method for struct member 'kmi_id'.
|
void |
setModal_items(CPointer<java.lang.Object> modal_items)
Set method for struct member 'modal_items'.
|
void |
setNext(CPointer<wmKeyMap> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<wmKeyMap> prev)
Set method for struct member 'prev'.
|
void |
setRegionid(short regionid)
Set method for struct member 'regionid'.
|
void |
setSpaceid(short spaceid)
Set method for struct member 'spaceid'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for wmKeyMap.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__next); CPointer<CPointer<wmKeyMap>> p_next = p.cast(new Class[]{CPointer.class, wmKeyMap.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__prev); CPointer<CPointer<wmKeyMap>> p_prev = p.cast(new Class[]{CPointer.class, wmKeyMap.class});
public static final long[] __DNA__FIELD__items
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__items); CPointer<ListBase> p_items = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__diff_items
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__diff_items); CPointer<ListBase> p_diff_items = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__idname
global editor keymaps, or for more per space/region
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__idname); CPointer<CArrayFacade<Byte>> p_idname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__spaceid
same IDs as in DNA_space_types.h
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__spaceid); CPointer<Short> p_spaceid = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__regionid
see above
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__regionid); CPointer<Short> p_regionid = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
general flags
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__kmi_id
last kmi id
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__kmi_id); CPointer<Short> p_kmi_id = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__modal_items
for modal, EnumPropertyItem for now
This is how you get a reference on the corresponding field in the struct:
wmKeyMap wmkeymap = ...; CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__modal_items); CPointer<CPointer<Object>> p_modal_items = p.cast(new Class[]{CPointer.class, Object.class});
public wmKeyMap(long __address, Block __block, BlockTable __blockTable)
protected wmKeyMap(wmKeyMap that)
public CPointer<wmKeyMap> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<wmKeyMap> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<wmKeyMap> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<wmKeyMap> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public ListBase getItems() throws java.io.IOException
java.io.IOException
__DNA__FIELD__items
public void setItems(ListBase items) throws java.io.IOException
java.io.IOException
__DNA__FIELD__items
public ListBase getDiff_items() throws java.io.IOException
java.io.IOException
__DNA__FIELD__diff_items
public void setDiff_items(ListBase diff_items) throws java.io.IOException
java.io.IOException
__DNA__FIELD__diff_items
public CArrayFacade<java.lang.Byte> getIdname() throws java.io.IOException
global editor keymaps, or for more per space/region
java.io.IOException
__DNA__FIELD__idname
public void setIdname(CArrayFacade<java.lang.Byte> idname) throws java.io.IOException
global editor keymaps, or for more per space/region
java.io.IOException
__DNA__FIELD__idname
public short getSpaceid() throws java.io.IOException
same IDs as in DNA_space_types.h
java.io.IOException
__DNA__FIELD__spaceid
public void setSpaceid(short spaceid) throws java.io.IOException
same IDs as in DNA_space_types.h
java.io.IOException
__DNA__FIELD__spaceid
public short getRegionid() throws java.io.IOException
see above
java.io.IOException
__DNA__FIELD__regionid
public void setRegionid(short regionid) throws java.io.IOException
see above
java.io.IOException
__DNA__FIELD__regionid
public short getFlag() throws java.io.IOException
general flags
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
general flags
java.io.IOException
__DNA__FIELD__flag
public short getKmi_id() throws java.io.IOException
last kmi id
java.io.IOException
__DNA__FIELD__kmi_id
public void setKmi_id(short kmi_id) throws java.io.IOException
last kmi id
java.io.IOException
__DNA__FIELD__kmi_id
public CPointer<java.lang.Object> getModal_items() throws java.io.IOException
for modal, EnumPropertyItem for now
java.io.IOException
__DNA__FIELD__modal_items
public void setModal_items(CPointer<java.lang.Object> modal_items) throws java.io.IOException
for modal, EnumPropertyItem for now
java.io.IOException
__DNA__FIELD__modal_items