public interface IDialog
Modifier and Type | Method and Description |
---|---|
void |
close()
To close the dialog.
|
int |
getHeight()
Retrieve the height of the dialog.
|
java.awt.Point |
getLocation()
Retrieve the location of the dialog.
|
java.awt.Dimension |
getSize()
Retrieve get the dimension of the dialog
|
java.lang.String |
getTitle()
Retrieve the title of the dialog.
|
int |
getWidth()
Retrieve the width of the dialog.
|
int |
getX()
Retrieve the X position of the dialog.
|
int |
getY()
Retrieve the Y position of the dialog.
|
boolean |
isModal()
Determine is the dialog set to modal.
|
boolean |
isResizable()
Deterine is the dialog resizable
|
void |
pack()
To call the pack method of the dialog.
|
void |
setBounds(int x,
int y,
int width,
int height)
To set the bounds of the dialog.
|
void |
setLocation(int x,
int y)
To set the location of the dialog.
|
void |
setLocation(java.awt.Point location)
To set the location of the dialog.
|
void |
setModal(boolean modal)
To set is the dialog modal.
|
void |
setResizable(boolean resizable)
To set is the dialog resizable.
|
void |
setSize(java.awt.Dimension size)
To set the dimension of the dialog.
|
void |
setSize(int width,
int height)
To set the dimension of the dialog.
|
void |
setTitle(java.lang.String title)
To set the title of the dialog.
|
void setTitle(java.lang.String title)
title
- the title of the dialogjava.lang.String getTitle()
void setSize(java.awt.Dimension size)
size
- the size of the dialog in Dimension objectvoid setSize(int width, int height)
width
- the width of the dialogheight
- the height of the dialogjava.awt.Dimension getSize()
int getWidth()
int getHeight()
void setLocation(java.awt.Point location)
location
- the location of dialogvoid setLocation(int x, int y)
x
- the X location of the dialogy
- the Y location of the dialogjava.awt.Point getLocation()
int getX()
int getY()
void setBounds(int x, int y, int width, int height)
x
- positiony
- positionwidth
- the width of the dialogheight
- the height of the dialogvoid setResizable(boolean resizable)
resizable
- boolean isResizable()
void setModal(boolean modal)
modal
- the modal setting of the dialogboolean isModal()
void pack()
void close()