wt.clients.util
Class FrameLocator
java.lang.Object
wt.clients.util.FrameLocator
- public class FrameLocator
- extends Object
Class FrameLocator
is a utility which
sets the location of the parameter window to cascade
down the desktop.
FrameLocator.getFrameLocator(this).setLocation(this);
Supported API: true
Extendable: false
maxScreenX
private int maxScreenX
maxScreenY
private int maxScreenY
nextX
private int nextX
nextY
private int nextY
FRAME_LOCATOR_KEY
private static Object FRAME_LOCATOR_KEY
FrameLocator
private FrameLocator()
getFrameLocator
public static FrameLocator getFrameLocator(Component component)
- Get
FrameLocator
for the current component/thread.
If the component is null, or no parent applet with an initialized
WTContext
is found, the WTContext
for the current
thread group is used to find the applicable FrameLocator
object.
- Parameters:
component
- Component
object used to find WTContext
setLocation
public void setLocation(Frame frame)
- Set location of a frame.
- Parameters:
frame
- the Frame
object to position
toString
public String toString()