head 1.1; branch 1.1.1; access ; symbols DEVEL:1.1.1.1 HEAD:1.1.1; locks ; strict; comment @# @; 1.1 date 2001.03.16.18.12.54; author jallali; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.16.18.12.54; author jallali; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @

Overview | Package | Class | Tree | Deprecated | Index | Help
| EJCL Xtreme for PalmOS
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.oti.palmos
Class PenBtnInfoType

    java.lang.Object
      |
      +--com.ibm.oti.palmos.OSBase
            |
            +--com.ibm.oti.palmos.MemPtr
                  |
                  +--com.ibm.oti.palmos.PenBtnInfoType

public class PenBtnInfoType
extends MemPtr

PenBtnInfoType wraps C struct PenBtnInfoType.

Field Summary
`static int` | `asciiCode` Native offset for field: public WChar asciiCode
`static int` | `boundsR` Native offset for field: public RectangleType boundsR
`static int` | `keyCode` Native offset for field: public UInt16 keyCode
`static int` | `modifiers` Native offset for field: public UInt16 modifiers
`static PenBtnInfoType` | `NULL` Wrapped constant NULL pointer.
`static int` | `sizeof`

Fields inherited from class com.ibm.oti.palmos.MemPtr
`NULL, pointer`

Fields inherited from class com.ibm.oti.palmos.OSBase
`BYTE, INT, retAddrFlag, retDataFlag, SHORT`

Constructor Summary
`PenBtnInfoType()` Default constructor, allocate sizeof() bytes in native heap for storage of C instance.
`PenBtnInfoType(int otherPointer)` Constructor to cast from any native pointer.
`PenBtnInfoType(MemPtr otherObj)` Constructor to cast from another MemPtr-derived type.
`PenBtnInfoType(MemPtr otherObj, int offset)` Constructor to cast from another MemPtr-derived type with an offset.

Method Summary
`int` | `getAsciiCode()` Getter for field: public WChar asciiCode
`RectangleType` | `getBoundsR()` Getter for field: public RectangleType boundsR
`PenBtnInfoType` | `getElementAt(int index)` Treat this PenBtnInfoType as an array of objects and return a new PenBtnInfoType instance that has its offset set to the element at the given index.
`int` | `getKeyCode()` Getter for field: public UInt16 keyCode
`int` | `getModifiers()` Getter for field: public UInt16 modifiers
`static PenBtnInfoType` | `newArray(int nrElements)` Constructor to allocate native memory to hold an array of C instances of this type.
`void` | `setAsciiCode(int _arg)` Setter for field: public WChar asciiCode
`void` | `setKeyCode(int _arg)` Setter for field: public UInt16 keyCode
`void` | `setModifiers(int _arg)` Setter for field: public UInt16 modifiers

Methods inherited from class com.ibm.oti.palmos.MemPtr
`alloc, baseOn, baseOn, dispose, equals, getCPointer, hashCode, isNull, setCPointer, setMemAllocListener`

Methods inherited from class com.ibm.oti.palmos.OSBase
`getChar, getInt, getLong, getPointer, getShort, getUChar, getUInt, getULong, getUShort, memCopy, memCopy, setChar, setInt, setLong, setPointer, setShort, setUChar, setUInt, setULong, setUShort, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap, trap`

Methods inherited from class java.lang.Object
`clone, getClass, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### sizeof

    public static final int sizeof

### boundsR

    public static final int boundsR

  Native offset for field: public RectangleType boundsR

### asciiCode

    public static final int asciiCode

  Native offset for field: public WChar asciiCode

### keyCode

    public static final int keyCode

  Native offset for field: public UInt16 keyCode

### modifiers

    public static final int modifiers

  Native offset for field: public UInt16 modifiers

### NULL

    public static final PenBtnInfoType NULL

  Wrapped constant NULL pointer.

Constructor Detail

### PenBtnInfoType

    public PenBtnInfoType()

  Default constructor, allocate sizeof() bytes in native heap for storage of C instance.

### PenBtnInfoType

    public PenBtnInfoType(MemPtr otherObj,
                          int offset)

  Constructor to cast from another MemPtr-derived type with an offset.

### PenBtnInfoType

    public PenBtnInfoType(int otherPointer)

  Constructor to cast from any native pointer.

### PenBtnInfoType

    public PenBtnInfoType(MemPtr otherObj)

  Constructor to cast from another MemPtr-derived type.

Method Detail

### newArray

    public static PenBtnInfoType newArray(int nrElements)

  Constructor to allocate native memory to hold an array of C instances of this type.

### getElementAt

    public PenBtnInfoType getElementAt(int index)

  Treat this PenBtnInfoType as an array of objects and return a new PenBtnInfoType instance that has its offset set to the element at the given index.

### getBoundsR

    public RectangleType getBoundsR()

  Getter for field: public RectangleType boundsR

### setAsciiCode

    public void setAsciiCode(int _arg)

  Setter for field: public WChar asciiCode

### getAsciiCode

    public int getAsciiCode()

  Getter for field: public WChar asciiCode

### setKeyCode

    public void setKeyCode(int _arg)

  Setter for field: public UInt16 keyCode

### getKeyCode

    public int getKeyCode()

  Getter for field: public UInt16 keyCode

### setModifiers

    public void setModifiers(int _arg)

  Setter for field: public UInt16 modifiers

### getModifiers

    public int getModifiers()

  Getter for field: public UInt16 modifiers

Overview | Package | Class | Tree | Deprecated | Index | Help
| EJCL Xtreme for PalmOS
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

@ 1.1.1.1 log @import initial @ text @@