com.github.axet.desktop.os.win.handle
Class NOTIFYICONDATA

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.github.axet.desktop.os.win.handle.NOTIFYICONDATA
Direct Known Subclasses:
NOTIFYICONDATA.ByReference, NOTIFYICONDATA.ByValue

public class NOTIFYICONDATA
extends com.sun.jna.Structure

typedef struct _NOTIFYICONDATA { DWORD cbSize; HWND hWnd; UINT uID; UINT uFlags; UINT uCallbackMessage; HICON hIcon; TCHAR szTip[64]; DWORD dwState; DWORD dwStateMask; TCHAR szInfo[256]; union { UINT uTimeout; UINT uVersion; }; TCHAR szInfoTitle[64]; DWORD dwInfoFlags; GUID guidItem; HICON hBalloonIcon; } NOTIFYICONDATA, *PNOTIFYICONDATA;


Nested Class Summary
static class NOTIFYICONDATA.ByReference
           
static class NOTIFYICONDATA.ByValue
           
 
Field Summary
 int cbSize
           
 int dwInfoFlags
           
 int dwState
           
 int dwStateMask
           
 GUID guidItem
           
 com.sun.jna.platform.win32.WinDef.HICON hBalloonIcon
           
 com.sun.jna.platform.win32.WinDef.HICON hIcon
           
 com.sun.jna.platform.win32.WinDef.HWND hWnd
           
static int NIF_ICON
           
static int NIF_INFO
           
static int NIF_MESSAGE
           
static int NIF_TIP
           
 char[] szInfo
           
 char[] szInfoTitle
           
 char[] szTip
           
 int uCallbackMessage
           
 int uFlags
           
 int uID
           
 int union
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
NOTIFYICONDATA()
           
 
Method Summary
protected  List<?> getFieldOrder()
           
 void setCallback(int i)
           
 void setIcon(com.sun.jna.platform.win32.WinDef.HICON h)
           
 void setTooltip(String s)
           
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NIF_ICON

public static final int NIF_ICON
See Also:
Constant Field Values

NIF_MESSAGE

public static final int NIF_MESSAGE
See Also:
Constant Field Values

NIF_TIP

public static final int NIF_TIP
See Also:
Constant Field Values

NIF_INFO

public static final int NIF_INFO
See Also:
Constant Field Values

cbSize

public int cbSize

hWnd

public com.sun.jna.platform.win32.WinDef.HWND hWnd

uID

public int uID

uFlags

public int uFlags

uCallbackMessage

public int uCallbackMessage

hIcon

public com.sun.jna.platform.win32.WinDef.HICON hIcon

szTip

public char[] szTip

dwState

public int dwState

dwStateMask

public int dwStateMask

szInfo

public char[] szInfo

union

public int union

szInfoTitle

public char[] szInfoTitle

dwInfoFlags

public int dwInfoFlags

guidItem

public GUID guidItem

hBalloonIcon

public com.sun.jna.platform.win32.WinDef.HICON hBalloonIcon
Constructor Detail

NOTIFYICONDATA

public NOTIFYICONDATA()
Method Detail

getFieldOrder

protected List<?> getFieldOrder()
Specified by:
getFieldOrder in class com.sun.jna.Structure

setIcon

public void setIcon(com.sun.jna.platform.win32.WinDef.HICON h)

setCallback

public void setCallback(int i)

setTooltip

public void setTooltip(String s)


Copyright © 2013. All Rights Reserved.