public abstract class AbstractScreenPositioner extends Object implements FramePositioner
| Constructor and Description |
|---|
AbstractScreenPositioner(int widthOffset,
int heightOffset)
Constructor with an offset.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkMaxSize(Dimension screenSize,
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpositionpublic AbstractScreenPositioner(int widthOffset,
int heightOffset)
widthOffset - Width to adjust the horizontal position.heightOffset - Height to adjust the vertical position.protected final void checkMaxSize(Dimension screenSize, Dimension frameSize)
screenSize - Screen size.frameSize - Frame size.public final int getHeightOffset()
public final int getWidthOffset()
Copyright © 2013 Future Invent Informationsmanagement GmbH, Hamburg (Germany). All Rights Reserved.