public class wmKeyMapItem extends CFacade
partial copy of the event, for matching by eventhandler
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__alt
Field descriptor (offset) for struct member 'alt'.
|
static long[] |
__DNA__FIELD__ctrl
Field descriptor (offset) for struct member 'ctrl'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__idname
Field descriptor (offset) for struct member 'idname'.
|
static long[] |
__DNA__FIELD__keymodifier
Field descriptor (offset) for struct member 'keymodifier'.
|
static long[] |
__DNA__FIELD__maptype
Field descriptor (offset) for struct member 'maptype'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__oskey
Field descriptor (offset) for struct member 'oskey'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__properties
Field descriptor (offset) for struct member 'properties'.
|
static long[] |
__DNA__FIELD__propvalue
Field descriptor (offset) for struct member 'propvalue'.
|
static long[] |
__DNA__FIELD__propvalue_str
Field descriptor (offset) for struct member 'propvalue_str'.
|
static long[] |
__DNA__FIELD__ptr
Field descriptor (offset) for struct member 'ptr'.
|
static long[] |
__DNA__FIELD__shift
Field descriptor (offset) for struct member 'shift'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static long[] |
__DNA__FIELD__val
Field descriptor (offset) for struct member 'val'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct wmKeyMapItem.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
wmKeyMapItem(long __address,
Block __block,
BlockTable __blockTable) |
protected |
wmKeyMapItem(wmKeyMapItem that) |
Modifier and Type | Method and Description |
---|---|
CPointer<wmKeyMapItem> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getAlt()
Get method for struct member 'alt'.
|
short |
getCtrl()
Get method for struct member 'ctrl'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
short |
getId()
Get method for struct member 'id'.
|
CArrayFacade<java.lang.Byte> |
getIdname()
Get method for struct member 'idname'.
|
short |
getKeymodifier()
Get method for struct member 'keymodifier'.
|
short |
getMaptype()
Get method for struct member 'maptype'.
|
CPointer<wmKeyMapItem> |
getNext()
Get method for struct member 'next'.
|
short |
getOskey()
Get method for struct member 'oskey'.
|
short |
getPad()
Get method for struct member 'pad'.
|
CPointer<wmKeyMapItem> |
getPrev()
Get method for struct member 'prev'.
|
CPointer<IDProperty> |
getProperties()
Get method for struct member 'properties'.
|
CArrayFacade<java.lang.Byte> |
getPropvalue_str()
Get method for struct member 'propvalue_str'.
|
short |
getPropvalue()
Get method for struct member 'propvalue'.
|
CPointer<java.lang.Object> |
getPtr()
Get method for struct member 'ptr'.
|
short |
getShift()
Get method for struct member 'shift'.
|
short |
getType()
Get method for struct member 'type'.
|
short |
getVal()
Get method for struct member 'val'.
|
void |
setAlt(short alt)
Set method for struct member 'alt'.
|
void |
setCtrl(short ctrl)
Set method for struct member 'ctrl'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setId(short id)
Set method for struct member 'id'.
|
void |
setIdname(CArrayFacade<java.lang.Byte> idname)
Set method for struct member 'idname'.
|
void |
setKeymodifier(short keymodifier)
Set method for struct member 'keymodifier'.
|
void |
setMaptype(short maptype)
Set method for struct member 'maptype'.
|
void |
setNext(CPointer<wmKeyMapItem> next)
Set method for struct member 'next'.
|
void |
setOskey(short oskey)
Set method for struct member 'oskey'.
|
void |
setPad(short pad)
Set method for struct member 'pad'.
|
void |
setPrev(CPointer<wmKeyMapItem> prev)
Set method for struct member 'prev'.
|
void |
setProperties(CPointer<IDProperty> properties)
Set method for struct member 'properties'.
|
void |
setPropvalue_str(CArrayFacade<java.lang.Byte> propvalue_str)
Set method for struct member 'propvalue_str'.
|
void |
setPropvalue(short propvalue)
Set method for struct member 'propvalue'.
|
void |
setPtr(CPointer<java.lang.Object> ptr)
Set method for struct member 'ptr'.
|
void |
setShift(short shift)
Set method for struct member 'shift'.
|
void |
setType(short type)
Set method for struct member 'type'.
|
void |
setVal(short val)
Set method for struct member 'val'.
|
__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 wmKeyMapItem.
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:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__next); CPointer<CPointer<wmKeyMapItem>> p_next = p.cast(new Class[]{CPointer.class, wmKeyMapItem.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__prev); CPointer<CPointer<wmKeyMapItem>> p_prev = p.cast(new Class[]{CPointer.class, wmKeyMapItem.class});
public static final long[] __DNA__FIELD__idname
operator used to retrieve operator type pointer
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__idname); CPointer<CArrayFacade<Byte>> p_idname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__properties
operator properties, assigned to ptr->data and can be written to a file
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__properties); CPointer<CPointer<IDProperty>> p_properties = p.cast(new Class[]{CPointer.class, IDProperty.class});
public static final long[] __DNA__FIELD__propvalue_str
modal runtime temporary storage for loading
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__propvalue_str); CPointer<CArrayFacade<Byte>> p_propvalue_str = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__propvalue
if used, the item is from modal map
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__propvalue); CPointer<Short> p_propvalue = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__type
event event code itself
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__type); CPointer<Short> p_type = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__val
KM_ANY, KM_PRESS, KM_NOTHING etc
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__val); CPointer<Short> p_val = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__shift
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__shift); CPointer<Short> p_shift = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__ctrl
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__ctrl); CPointer<Short> p_ctrl = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__alt
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__alt); CPointer<Short> p_alt = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__oskey
oskey is apple or windowskey, value denotes order of pressed
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__oskey); CPointer<Short> p_oskey = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__keymodifier
rawkey modifier
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__keymodifier); CPointer<Short> p_keymodifier = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
flag: inactive, expanded
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__maptype
runtime keymap editor
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__maptype); CPointer<Short> p_maptype = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__id
unique identifier. Positive for kmi that override builtins, negative otherwise
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__id); CPointer<Short> p_id = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__pad); CPointer<Short> p_pad = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__ptr
rna pointer to access properties
This is how you get a reference on the corresponding field in the struct:
wmKeyMapItem wmkeymapitem = ...; CPointer<Object> p = wmkeymapitem.__dna__addressof(wmKeyMapItem.__DNA__FIELD__ptr); CPointer<CPointer<Object>> p_ptr = p.cast(new Class[]{CPointer.class, Object.class});
public wmKeyMapItem(long __address, Block __block, BlockTable __blockTable)
protected wmKeyMapItem(wmKeyMapItem that)
public CPointer<wmKeyMapItem> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<wmKeyMapItem> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<wmKeyMapItem> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<wmKeyMapItem> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CArrayFacade<java.lang.Byte> getIdname() throws java.io.IOException
operator used to retrieve operator type pointer
java.io.IOException
__DNA__FIELD__idname
public void setIdname(CArrayFacade<java.lang.Byte> idname) throws java.io.IOException
operator used to retrieve operator type pointer
java.io.IOException
__DNA__FIELD__idname
public CPointer<IDProperty> getProperties() throws java.io.IOException
operator properties, assigned to ptr->data and can be written to a file
java.io.IOException
__DNA__FIELD__properties
public void setProperties(CPointer<IDProperty> properties) throws java.io.IOException
operator properties, assigned to ptr->data and can be written to a file
java.io.IOException
__DNA__FIELD__properties
public CArrayFacade<java.lang.Byte> getPropvalue_str() throws java.io.IOException
modal runtime temporary storage for loading
java.io.IOException
__DNA__FIELD__propvalue_str
public void setPropvalue_str(CArrayFacade<java.lang.Byte> propvalue_str) throws java.io.IOException
modal runtime temporary storage for loading
java.io.IOException
__DNA__FIELD__propvalue_str
public short getPropvalue() throws java.io.IOException
if used, the item is from modal map
java.io.IOException
__DNA__FIELD__propvalue
public void setPropvalue(short propvalue) throws java.io.IOException
if used, the item is from modal map
java.io.IOException
__DNA__FIELD__propvalue
public short getType() throws java.io.IOException
event event code itself
java.io.IOException
__DNA__FIELD__type
public void setType(short type) throws java.io.IOException
event event code itself
java.io.IOException
__DNA__FIELD__type
public short getVal() throws java.io.IOException
KM_ANY, KM_PRESS, KM_NOTHING etc
java.io.IOException
__DNA__FIELD__val
public void setVal(short val) throws java.io.IOException
KM_ANY, KM_PRESS, KM_NOTHING etc
java.io.IOException
__DNA__FIELD__val
public short getShift() throws java.io.IOException
java.io.IOException
__DNA__FIELD__shift
public void setShift(short shift) throws java.io.IOException
java.io.IOException
__DNA__FIELD__shift
public short getCtrl() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ctrl
public void setCtrl(short ctrl) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ctrl
public short getAlt() throws java.io.IOException
java.io.IOException
__DNA__FIELD__alt
public void setAlt(short alt) throws java.io.IOException
java.io.IOException
__DNA__FIELD__alt
public short getOskey() throws java.io.IOException
oskey is apple or windowskey, value denotes order of pressed
java.io.IOException
__DNA__FIELD__oskey
public void setOskey(short oskey) throws java.io.IOException
oskey is apple or windowskey, value denotes order of pressed
java.io.IOException
__DNA__FIELD__oskey
public short getKeymodifier() throws java.io.IOException
rawkey modifier
java.io.IOException
__DNA__FIELD__keymodifier
public void setKeymodifier(short keymodifier) throws java.io.IOException
rawkey modifier
java.io.IOException
__DNA__FIELD__keymodifier
public short getFlag() throws java.io.IOException
flag: inactive, expanded
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
flag: inactive, expanded
java.io.IOException
__DNA__FIELD__flag
public short getMaptype() throws java.io.IOException
runtime keymap editor
java.io.IOException
__DNA__FIELD__maptype
public void setMaptype(short maptype) throws java.io.IOException
runtime keymap editor
java.io.IOException
__DNA__FIELD__maptype
public short getId() throws java.io.IOException
unique identifier. Positive for kmi that override builtins, negative otherwise
java.io.IOException
__DNA__FIELD__id
public void setId(short id) throws java.io.IOException
unique identifier. Positive for kmi that override builtins, negative otherwise
java.io.IOException
__DNA__FIELD__id
public short getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(short pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public CPointer<java.lang.Object> getPtr() throws java.io.IOException
rna pointer to access properties
java.io.IOException
__DNA__FIELD__ptr
public void setPtr(CPointer<java.lang.Object> ptr) throws java.io.IOException
rna pointer to access properties
java.io.IOException
__DNA__FIELD__ptr
public CPointer<wmKeyMapItem> __io__addressof()