com.moesol.bindings.platform_sdk.windows_api
Class MENUITEMINFO
java.lang.Object
com.moesol.bindings.platform_sdk.windows_api.MENUITEMINFO
public class MENUITEMINFO
- extends Object
Wraps a java class around a Win32 MENUITEMINFO structure, see the
Win32 documentation for more information about the properties.
TODO: Refactor to use com.moesol.nio.NativeStructure (uses a non-direct ByteBuffer).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIIM_STATE
public static final int MIIM_STATE
- See Also:
- Constant Field Values
MIIM_ID
public static final int MIIM_ID
- See Also:
- Constant Field Values
MIIM_SUBMENU
public static final int MIIM_SUBMENU
- See Also:
- Constant Field Values
MIIM_CHECKMARKS
public static final int MIIM_CHECKMARKS
- See Also:
- Constant Field Values
MIIM_TYPE
public static final int MIIM_TYPE
- See Also:
- Constant Field Values
MIIM_DATA
public static final int MIIM_DATA
- See Also:
- Constant Field Values
MFT_STRING
public static final int MFT_STRING
- See Also:
- Constant Field Values
MFT_BITMAP
public static final int MFT_BITMAP
- See Also:
- Constant Field Values
MFT_MENUBARBREAK
public static final int MFT_MENUBARBREAK
- See Also:
- Constant Field Values
MFT_MENUBREAK
public static final int MFT_MENUBREAK
- See Also:
- Constant Field Values
MFT_OWNERDRAW
public static final int MFT_OWNERDRAW
- See Also:
- Constant Field Values
MFT_RADIOCHECK
public static final int MFT_RADIOCHECK
- See Also:
- Constant Field Values
MFT_SEPARATOR
public static final int MFT_SEPARATOR
- See Also:
- Constant Field Values
MFT_RIGHTORDER
public static final int MFT_RIGHTORDER
- See Also:
- Constant Field Values
MFT_RIGHTJUSTIFY
public static final int MFT_RIGHTJUSTIFY
- See Also:
- Constant Field Values
MFS_GRAYED
public static final int MFS_GRAYED
- See Also:
- Constant Field Values
MFS_DISABLED
public static final int MFS_DISABLED
- See Also:
- Constant Field Values
MFS_CHECKED
public static final int MFS_CHECKED
- See Also:
- Constant Field Values
MFS_HILITE
public static final int MFS_HILITE
- See Also:
- Constant Field Values
MFS_ENABLED
public static final int MFS_ENABLED
- See Also:
- Constant Field Values
MFS_UNCHECKED
public static final int MFS_UNCHECKED
- See Also:
- Constant Field Values
MFS_UNHILITE
public static final int MFS_UNHILITE
- See Also:
- Constant Field Values
MFS_DEFAULT
public static final int MFS_DEFAULT
- See Also:
- Constant Field Values
MENUITEMINFO
public MENUITEMINFO()
set_fMask
public void set_fMask(int mask)
get_fMask
public int get_fMask()
set_fType
public void set_fType(int type)
get_fType
public int get_fType()
set_fState
public void set_fState(int state)
get_fState
public int get_fState()
set_wID
public void set_wID(int id)
get_wID
public int get_wID()
set_hSubMenu
public void set_hSubMenu(HMENU submenu)
get_hSubMenu
public HMENU get_hSubMenu()
set_hbmpChecked
public void set_hbmpChecked(HBITMAP bitmap)
get_hbmpChecked
public HBITMAP get_hbmpChecked()
set_hbmpUnchecked
public void set_hbmpUnchecked(HBITMAP bitmap)
get_hbmpUnchecked
public HBITMAP get_hbmpUnchecked()
set_dwItemData
public void set_dwItemData(int item_data)
get_dwItemData
public int get_dwItemData()
set_dwTypeData
public void set_dwTypeData(String type_data)
get_dwTypeData
public String get_dwTypeData()
set_cch
public void set_cch(int cch)
get_cch
public int get_cch()
set_hbmpItem
public void set_hbmpItem(HBITMAP bitmap)
- Note that the hbmpItem member of MENUITEMINFO only appears if
the JNI side is compiled with _WIN32_WINNT >= 0x0500. Therefore
this method may throw a IndexOutOfBoundsException.
- Throws:
IndexOutOfBoundsException
- If JNI side is missing this
member.
get_hbmpItem
public HBITMAP get_hbmpItem()
- Throws:
IndexOutOfBoundsException
- If JNI side is missing this
member.
Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.