S-PLUS Connect/Java v1.0

com.insightful.controls
Class SplusWin32Tools

java.lang.Object
  extended by com.insightful.controls.SplusWin32Tools

public class SplusWin32Tools
extends Object

Contains static methods for performing window operations under Win32. This class does not load the native code, so the code must be loaded elsewhere. This class does not check that the platform is actually Windows.


Constructor Summary
SplusWin32Tools()
           
 
Method Summary
static String getenv(String key)
          Performs a getenv() under Win32.
static int getHwnd(Dialog wn)
          Method to get the Win32 HWND for a Dialog.
static int getHwnd(Frame wn)
          Method to get the Win32 HWND for a Frame.
static void putenv(String key, String value)
          Performs a putenv() under Win32.
static void setAlwaysOnTop(Dialog wn, boolean status)
          Sets whether a Dialog is always-on-top under Win32.
static void setAlwaysOnTop(Frame wn, boolean status)
          Sets whether a Frame is always-on-top under Win32.
static void setForegroundWindow(Dialog wn)
          Sets a Dialog to the foreground under Win32.
static void setForegroundWindow(Frame wn)
          Sets a Frame to the foreground under Win32.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplusWin32Tools

public SplusWin32Tools()
Method Detail

getHwnd

public static final int getHwnd(Dialog wn)
Method to get the Win32 HWND for a Dialog.


getHwnd

public static final int getHwnd(Frame wn)
Method to get the Win32 HWND for a Frame.


setForegroundWindow

public static final void setForegroundWindow(Dialog wn)
Sets a Dialog to the foreground under Win32.


setForegroundWindow

public static final void setForegroundWindow(Frame wn)
Sets a Frame to the foreground under Win32.


setAlwaysOnTop

public static final void setAlwaysOnTop(Dialog wn,
                                        boolean status)
Sets whether a Dialog is always-on-top under Win32.


setAlwaysOnTop

public static final void setAlwaysOnTop(Frame wn,
                                        boolean status)
Sets whether a Frame is always-on-top under Win32.


getenv

public static final String getenv(String key)
Performs a getenv() under Win32.


putenv

public static final void putenv(String key,
                                String value)
Performs a putenv() under Win32.


S-PLUS Connect/Java v1.0

Copyright © 2000, 2002 Insightful Corporation
Warning: Classes not documented in the S-PLUS Programmer's Guide may change in future releases.