org.fuin.utils4swing.common
Class ScreenLeftUpperCornerPositioner

java.lang.Object
  extended by org.fuin.utils4swing.common.AbstractScreenPositioner
      extended by org.fuin.utils4swing.common.ScreenLeftUpperCornerPositioner
All Implemented Interfaces:
FramePositioner

public final class ScreenLeftUpperCornerPositioner
extends AbstractScreenPositioner

Move a frame to the lower right corner of the desktop.


Constructor Summary
ScreenLeftUpperCornerPositioner()
          Default constructor.
ScreenLeftUpperCornerPositioner(int widthOffset, int heightOffset)
          Constructor with an offset.
 
Method Summary
 void position(javax.swing.JFrame frame)
          Set the frame's position to a new location.
 
Methods inherited from class org.fuin.utils4swing.common.AbstractScreenPositioner
checkMaxSize, getHeightOffset, getWidthOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenLeftUpperCornerPositioner

public ScreenLeftUpperCornerPositioner()
Default constructor.


ScreenLeftUpperCornerPositioner

public ScreenLeftUpperCornerPositioner(int widthOffset,
                                       int heightOffset)
Constructor with an offset.

Parameters:
widthOffset - Width to adjust the horizontal position.
heightOffset - Height to adjust the vertical position.
Method Detail

position

public final void position(javax.swing.JFrame frame)
Set the frame's position to a new location.

Parameters:
frame - Frame to move.


Copyright © 2009 Future Invent Informationsmanagement GmbH. All Rights Reserved.