|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QSystemTrayIcon.ActivationReason>
com.trolltech.qt.gui.QSystemTrayIcon.ActivationReason
public static enum QSystemTrayIcon.ActivationReason
This enum describes the reason the system tray was activated.
Enum Constant Summary | |
---|---|
Context
The context menu for the system tray entry was requested |
|
DoubleClick
The system tray entry was double clicked |
|
MiddleClick
The system tray entry was clicked with the middle mouse button |
|
Trigger
The system tray entry was clicked |
|
Unknown
Unknown reason |
Method Summary | |
---|---|
static QSystemTrayIcon.ActivationReason |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QSystemTrayIcon.ActivationReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QSystemTrayIcon.ActivationReason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QSystemTrayIcon.ActivationReason Unknown
Unknown reason
public static final QSystemTrayIcon.ActivationReason Context
The context menu for the system tray entry was requested
public static final QSystemTrayIcon.ActivationReason DoubleClick
The system tray entry was double clicked
public static final QSystemTrayIcon.ActivationReason Trigger
The system tray entry was clicked
public static final QSystemTrayIcon.ActivationReason MiddleClick
The system tray entry was clicked with the middle mouse button
Method Detail |
---|
public static QSystemTrayIcon.ActivationReason[] values()
for (QSystemTrayIcon.ActivationReason c : QSystemTrayIcon.ActivationReason.values()) System.out.println(c);
public static QSystemTrayIcon.ActivationReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QSystemTrayIcon.ActivationReason resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |