|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ccl.platform.Native
This is the base class to invoke some native methods. In case the underlying OS is Linux, the appropriate native system methods are invoked, otherwise empty dummy methods are invoked which do nothing.
Constructor Summary | |
protected |
Native()
Native is a singleton class. |
Method Summary | |
static Native |
getInstance()
Native is a singleton class. |
int |
getMainJavaPID()
Get process ID of the current Java main process. |
int |
getPID()
Get process ID of the current Java program/process. |
static java.util.Hashtable |
getUserNames()
|
void |
requestInputFocus(java.lang.String sWindowTitle_)
Set input focus on a system window. |
void |
setLocation(java.awt.Dialog dialog,
int x,
int y)
Sets the location of the dialog using native system routines. |
void |
setLocation(java.awt.Frame frame,
int x,
int y)
Sets the location of the frame using native system routines. |
int |
symlink(java.lang.String sOldPath_,
java.lang.String sNewPath_)
Create a symbolic link (on Unix). |
boolean |
unlink(java.lang.String sPath_)
Remove a symbolic link (on Unix). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Native()
Method Detail |
public static Native getInstance()
public void requestInputFocus(java.lang.String sWindowTitle_)
public int symlink(java.lang.String sOldPath_, java.lang.String sNewPath_)
public boolean unlink(java.lang.String sPath_)
public static java.util.Hashtable getUserNames()
public int getPID()
public int getMainJavaPID()
public void setLocation(java.awt.Frame frame, int x, int y)
public void setLocation(java.awt.Dialog dialog, int x, int y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |