public interface IFrame
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds()
Gets the window bounds.
|
int |
getHeight()
Gets the window height.
|
Dimension |
getMinimumSize()
Gets the minimum allowed size for this window.
|
String |
getTitle()
Gets the title property
|
int |
getWidth()
Gets the window width.
|
int |
getX()
Returns the current x coordinate of the window's origin.
|
int |
getY()
Returns the current y coordinate of the window's origin.
|
void |
setBounds(Rectangle bounds)
Sets the window bounds.
|
void |
setHeight(int height)
Sets the window height.
|
void |
setLocation(int x,
int y) |
void |
setMinimumSize(Dimension minSize)
Sets the minimum allowed size for this window.
|
void |
setTitle(String title)
Sets the title property.
|
void |
setWidth(int width)
Sets the window width.
|
void |
setX(int x)
Sets the value of the x coordinate for the origin of the associated
window.
|
void |
setY(int y)
Sets the value of the y coordinate for the origin of the associated
window.
|
String getTitle()
void setTitle(String title)
title
- The new title.int getX()
void setX(int x)
x
- The value (in pixels) of the x coordinateint getY()
void setY(int y)
y
- The value (in pixels) of the y coordinateint getHeight()
int getWidth()
void setHeight(int height)
The
- window height (in pixels)void setWidth(int width)
The
- window width (in pixels)Dimension getMinimumSize()
void setMinimumSize(Dimension minSize)
minSize
- The minimum allowed size for this window.Rectangle getBounds()
void setBounds(Rectangle bounds)
bounds
- The window bounds.void setLocation(int x, int y)