|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4swing.common.AbstractScreenPositioner
org.fuin.utils4swing.common.ScreenCenterPositioner
public class ScreenCenterPositioner
Centers a frame on the Desktop.
| Constructor Summary | |
|---|---|
ScreenCenterPositioner()
Default constructor. |
|
ScreenCenterPositioner(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 |
|---|
public ScreenCenterPositioner()
public ScreenCenterPositioner(int widthOffset,
int heightOffset)
widthOffset - Width to adjust the horizontal position.heightOffset - Height to adjust the vertical position.| Method Detail |
|---|
public final void position(javax.swing.JFrame frame)
frame - Frame to move.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||