public class FrameScreenPosition extends Object implements Serializable
Frame
or
JInternalFrame
, together with whether it is maximized,
iconified or hidden.Constructor and Description |
---|
FrameScreenPosition()
Constructor with no arguments does nothing.
|
FrameScreenPosition(Frame frame)
Instantiates the class and fills in the fields from a
Frame
object. |
FrameScreenPosition(JInternalFrame internalFrame)
Instantiates the class and fills in the fields from a
JInternalFrame object. |
Modifier and Type | Method and Description |
---|---|
void |
getScreenPosition(Frame frame)
Fills in the fields from the current screen position of a
Frame object. |
void |
getScreenPosition(JInternalFrame internalFrame)
Fills in the fields from the current screen position of a
JInternalFrame object. |
void |
setScreenPosition(Frame frame)
Sets up a
Frame object using the stored fields. |
void |
setScreenPosition(JInternalFrame internalFrame)
Sets up a
JInternalFrame object using the stored fields. |
public FrameScreenPosition()
public FrameScreenPosition(Frame frame)
Frame
object.public FrameScreenPosition(JInternalFrame internalFrame)
JInternalFrame
object.public void getScreenPosition(Frame frame)
Frame
object.frame
- The frame to fill in the fields from.public void getScreenPosition(JInternalFrame internalFrame)
JInternalFrame
object.internalFrame
- The frame to fill in the fields from.public void setScreenPosition(Frame frame)
Frame
object using the stored fields.frame
- The frame to set the screen position of.public void setScreenPosition(JInternalFrame internalFrame)
JInternalFrame
object using the stored fields.internalFrame
- The internal frame to set the screen position of.