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.13.00; author jallali; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.16.18.13.00; 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 DrawStateType

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

public class DrawStateType
extends MemPtr

DrawStateType wraps C struct DrawStateType.

Field Summary
`static int` | `backColor` Native offset for field: public IndexedColorType backColor
`static int` | `font` Native offset for field: public FontPtr font
`static int` | `fontId` Native offset for field: public FontID fontId
`static int` | `foreColor` Native offset for field: public IndexedColorType foreColor
`static DrawStateType` | `NULL` Wrapped constant NULL pointer.
`static int` | `pattern` Native offset for field: public PatternType pattern
`static int` | `patternData` Native offset for field: public unsigned char[8] patternData
`static int` | `patternDataLength`
`static int` | `reserved` Native offset for field: public UInt8 reserved
`static int` | `sizeof`
`static int` | `textColor` Native offset for field: public IndexedColorType textColor
`static int` | `transferMode` Native offset for field: public WinDrawOperation transferMode
`static int` | `underlineMode` Native offset for field: public UnderlineModeType underlineMode

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
`DrawStateType()` Default constructor, allocate sizeof() bytes in native heap for storage of C instance.
`DrawStateType(int otherPointer)` Constructor to cast from any native pointer.
`DrawStateType(MemPtr otherObj)` Constructor to cast from another MemPtr-derived type.
`DrawStateType(MemPtr otherObj, int offset)` Constructor to cast from another MemPtr-derived type with an offset.

Method Summary
`int` | `getBackColor()` Getter for field: public IndexedColorType backColor
`DrawStateType` | `getElementAt(int index)` Treat this DrawStateType as an array of objects and return a new DrawStateType instance that has its offset set to the element at the given index.
`FontType` | `getFont()` Getter for field: public FontPtr font
`int` | `getFontId()` Getter for field: public FontID fontId
`int` | `getForeColor()` Getter for field: public IndexedColorType foreColor
`int` | `getPattern()` Getter for field: public PatternType pattern
`CharPtr` | `getPatternData()` Getter for field: public unsigned char[8] patternData
`int` | `getReserved()` Getter for field: public UInt8 reserved
`int` | `getTextColor()` Getter for field: public IndexedColorType textColor
`int` | `getTransferMode()` Getter for field: public WinDrawOperation transferMode
`int` | `getUnderlineMode()` Getter for field: public UnderlineModeType underlineMode
`static DrawStateType` | `newArray(int nrElements)` Constructor to allocate native memory to hold an array of C instances of this type.
`void` | `setBackColor(int _arg)` Setter for field: public IndexedColorType backColor
`void` | `setFont(FontType _arg)` Setter for field: public FontPtr font
`void` | `setFontId(int _arg)` Setter for field: public FontID fontId
`void` | `setForeColor(int _arg)` Setter for field: public IndexedColorType foreColor
`void` | `setPattern(int _arg)` Setter for field: public PatternType pattern
`void` | `setReserved(int _arg)` Setter for field: public UInt8 reserved
`void` | `setTextColor(int _arg)` Setter for field: public IndexedColorType textColor
`void` | `setTransferMode(int _arg)` Setter for field: public WinDrawOperation transferMode
`void` | `setUnderlineMode(int _arg)` Setter for field: public UnderlineModeType underlineMode

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

### transferMode

    public static final int transferMode

  Native offset for field: public WinDrawOperation transferMode

### pattern

    public static final int pattern

  Native offset for field: public PatternType pattern

### underlineMode

    public static final int underlineMode

  Native offset for field: public UnderlineModeType underlineMode

### fontId

    public static final int fontId

  Native offset for field: public FontID fontId

### font

    public static final int font

  Native offset for field: public FontPtr font

### patternData

    public static final int patternData

  Native offset for field: public unsigned char[8] patternData

### patternDataLength

    public static final int patternDataLength

### foreColor

    public static final int foreColor

  Native offset for field: public IndexedColorType foreColor

### backColor

    public static final int backColor

  Native offset for field: public IndexedColorType backColor

### textColor

    public static final int textColor

  Native offset for field: public IndexedColorType textColor

### reserved

    public static final int reserved

  Native offset for field: public UInt8 reserved

### NULL

    public static final DrawStateType NULL

  Wrapped constant NULL pointer.

Constructor Detail

### DrawStateType

    public DrawStateType()

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

### DrawStateType

    public DrawStateType(MemPtr otherObj,
                         int offset)

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

### DrawStateType

    public DrawStateType(int otherPointer)

  Constructor to cast from any native pointer.

### DrawStateType

    public DrawStateType(MemPtr otherObj)

  Constructor to cast from another MemPtr-derived type.

Method Detail

### newArray

    public static DrawStateType newArray(int nrElements)

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

### getElementAt

    public DrawStateType getElementAt(int index)

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

### setTransferMode

    public void setTransferMode(int _arg)

  Setter for field: public WinDrawOperation transferMode

### getTransferMode

    public int getTransferMode()

  Getter for field: public WinDrawOperation transferMode

### setPattern

    public void setPattern(int _arg)

  Setter for field: public PatternType pattern

### getPattern

    public int getPattern()

  Getter for field: public PatternType pattern

### setUnderlineMode

    public void setUnderlineMode(int _arg)

  Setter for field: public UnderlineModeType underlineMode

### getUnderlineMode

    public int getUnderlineMode()

  Getter for field: public UnderlineModeType underlineMode

### setFontId

    public void setFontId(int _arg)

  Setter for field: public FontID fontId

### getFontId

    public int getFontId()

  Getter for field: public FontID fontId

### setFont

    public void setFont(FontType _arg)

  Setter for field: public FontPtr font

### getFont

    public FontType getFont()

  Getter for field: public FontPtr font

### getPatternData

    public CharPtr getPatternData()

  Getter for field: public unsigned char[8] patternData

### setForeColor

    public void setForeColor(int _arg)

  Setter for field: public IndexedColorType foreColor

### getForeColor

    public int getForeColor()

  Getter for field: public IndexedColorType foreColor

### setBackColor

    public void setBackColor(int _arg)

  Setter for field: public IndexedColorType backColor

### getBackColor

    public int getBackColor()

  Getter for field: public IndexedColorType backColor

### setTextColor

    public void setTextColor(int _arg)

  Setter for field: public IndexedColorType textColor

### getTextColor

    public int getTextColor()

  Getter for field: public IndexedColorType textColor

### setReserved

    public void setReserved(int _arg)

  Setter for field: public UInt8 reserved

### getReserved

    public int getReserved()

  Getter for field: public UInt8 reserved

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 @@