|
java-gnome version 4.1.2 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
Objectorg.freedesktop.bindings.Constant
org.freedesktop.bindings.Flag
org.gnome.glib.ApplicationFlags
public class ApplicationFlags
Constants used to define the behavior of an Application.
| Field Summary | |
|---|---|
static ApplicationFlags |
HANDLES_COMMAND_LINE
Indicate that this application handles command line arguments from remote instances. |
static ApplicationFlags |
HANDLES_OPEN
|
static ApplicationFlags |
IS_LAUNCHER
The application will not try to become the primary instance. |
static ApplicationFlags |
IS_SERVICE
The application run as a service. |
static ApplicationFlags |
NON_UNIQUE
The application does not wish to model unique behaviour and does not check for an already existing single instance. |
static ApplicationFlags |
NONE
Default operation mode. |
static ApplicationFlags |
SEND_ENVIRONMENT
The primary instance will receive the environment of the launching process. |
| Method Summary | |
|---|---|
static ApplicationFlags |
or(ApplicationFlags one,
ApplicationFlags two)
|
| Methods inherited from class org.freedesktop.bindings.Flag |
|---|
contains |
| Methods inherited from class org.freedesktop.bindings.Constant |
|---|
toString |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ApplicationFlags HANDLES_COMMAND_LINE
Note that if you choose this mode, the
Application.CommandLine signal will be raised on the
primary rather than Application.Activate so
it's a good idea to call activate() manually from your
Application.CommandLine handler.
public static final ApplicationFlags HANDLES_OPEN
public static final ApplicationFlags IS_LAUNCHER
public static final ApplicationFlags IS_SERVICE
IS_LAUNCHER, in a pair of binaries, one being server only and the
other being launcher only. When a single code base is performing the
role of becoming primary when necessary and otherwise being
remote then you want the [default] NONE
setting.
public static final ApplicationFlags NON_UNIQUE
public static final ApplicationFlags NONE
singe arg constructor.
public static final ApplicationFlags SEND_ENVIRONMENT
| Method Detail |
|---|
public static ApplicationFlags or(ApplicationFlags one,
ApplicationFlags two)
|
![]() java-gnome |
||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||