org.gnu.gnome
org.gnome.gnome.Client
.public class Client extends org.gnu.glib.GObject
Constructor and Description |
---|
Client()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(ClientListener listener)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
connect()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
disconnect()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
flush()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
java.lang.String |
getConfigPrefix()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
java.lang.String |
getDesktopID()
Deprecated.
|
java.lang.Class |
getEventListenerClass(java.lang.String signal)
Deprecated.
|
org.gnu.glib.EventType |
getEventType(java.lang.String signal)
Deprecated.
|
ClientFlags |
getFlags()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
java.lang.String |
getGlobalConfigPrefix()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
java.lang.String |
getID()
Deprecated.
|
java.lang.String |
getPreviousID()
Deprecated.
|
static org.gnu.glib.Type |
getType()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
removeListener(ClientListener listener)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
requestPhase2()
Deprecated.
|
void |
requestSave(SaveStyle saveStyle,
boolean shutdown,
InteractStyle interactStyle,
boolean fast,
boolean global)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
saveAnyDialog(org.gnu.gtk.Dialog dialog)
Deprecated.
|
void |
saveErrorDialog(org.gnu.gtk.Dialog dialog)
Deprecated.
|
void |
setCloneCommand(java.lang.String[] args)
Deprecated.
|
void |
setCurrentDirectory(java.lang.String dir)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setDiscardCommand(java.lang.String[] args)
Deprecated.
|
void |
setEnvironment(java.lang.String name,
java.lang.String value)
Deprecated.
|
void |
setGlobalConfigPrefix(java.lang.String prefix)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setID(java.lang.String id)
Deprecated.
|
void |
setPriority(int priority)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setProcessID(int id)
Deprecated.
|
void |
setProgram(java.lang.String program)
Deprecated.
|
void |
setResignCommand(java.lang.String[] args)
Deprecated.
|
void |
setRestartCommand(java.lang.String[] args)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setRestartStyle(RestartStyle style)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setShutdownCommand(java.lang.String[] args)
Deprecated.
|
void |
setUserID(java.lang.String id)
Deprecated.
|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify
public Client()
public java.lang.String getConfigPrefix()
public java.lang.String getGlobalConfigPrefix()
You may also use this prefix as a place to store and retrieve config details that you wish to apply to ALL instances of the app. However, this practice limits user's freedom to configure each instance in a different way so it should be used with caution.
public void setGlobalConfigPrefix(java.lang.String prefix)
The global config prefix defaults to a name based on the name of the executable. This function allows you to set it to a different value. It should be called BEFORE retrieving the config prefix for the first time.
public ClientFlags getFlags()
public void setRestartStyle(RestartStyle style)
public void setPriority(int priority)
public void setCurrentDirectory(java.lang.String dir)
public void setRestartCommand(java.lang.String[] args)
public void setDiscardCommand(java.lang.String[] args)
public void setResignCommand(java.lang.String[] args)
public void setShutdownCommand(java.lang.String[] args)
public void setEnvironment(java.lang.String name, java.lang.String value)
public void setCloneCommand(java.lang.String[] args)
public void setProcessID(int id)
public void setProgram(java.lang.String program)
public void setUserID(java.lang.String id)
public void saveAnyDialog(org.gnu.gtk.Dialog dialog)
public void saveErrorDialog(org.gnu.gtk.Dialog dialog)
public void requestPhase2()
public void requestSave(SaveStyle saveStyle, boolean shutdown, InteractStyle interactStyle, boolean fast, boolean global)
public void flush()
public void connect()
public void disconnect()
public void setID(java.lang.String id)
public java.lang.String getID()
public java.lang.String getPreviousID()
public java.lang.String getDesktopID()
public static org.gnu.glib.Type getType()
public void addListener(ClientListener listener)
ClientListener
public void removeListener(ClientListener listener)
addListener(ClientListener)
public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass
in class org.gnu.glib.GObject
public org.gnu.glib.EventType getEventType(java.lang.String signal)
getEventType
in class org.gnu.glib.GObject