|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4swing.common.AbstractScreenPositioner
public abstract class AbstractScreenPositioner
Base class for FramePositioner implementations.
| Constructor Summary | |
|---|---|
AbstractScreenPositioner(int widthOffset,
int heightOffset)
Constructor with an offset. |
|
| Method Summary | |
|---|---|
protected void |
checkMaxSize(java.awt.Dimension screenSize,
java.awt.Dimension frameSize)
Adjusts the width and height of the fraem if it's greater than the screen. |
int |
getHeightOffset()
Returns the height. |
int |
getWidthOffset()
Returns the width. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.fuin.utils4swing.common.FramePositioner |
|---|
position |
| Constructor Detail |
|---|
public AbstractScreenPositioner(int widthOffset,
int heightOffset)
widthOffset - Width to adjust the horizontal position.heightOffset - Height to adjust the vertical position.| Method Detail |
|---|
protected final void checkMaxSize(java.awt.Dimension screenSize,
java.awt.Dimension frameSize)
screenSize - Screen size.frameSize - Frame size.public final int getHeightOffset()
public final int getWidthOffset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||