|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExportedWindow
A window that could be shown, hidden, resized, moved, etc. Meant to be used from other services to show an application window, like for example a "Configuration" or "Add contact" window.
| Field Summary | |
|---|---|
static WindowID |
ABOUT_WINDOW
The about window identifier. |
static WindowID |
ADD_CONTACT_WINDOW
The add contact window identifier. |
static WindowID |
CHAT_WINDOW
The chat window identifier. |
static WindowID |
MAIN_WINDOW
The main (contact list) window identifier. |
| Method Summary | |
|---|---|
void |
bringToFront()
Brings the focus to this window. |
WindowID |
getIdentifier()
Returns the WindowID corresponding to this window. |
Object |
getSource()
The source of the window |
boolean |
isFocused()
Returns TRUE if this component is currently the focused component, FALSE - otherwise. |
boolean |
isVisible()
Returns TRUE if the component is visible and FALSE otherwise. |
void |
maximize()
Maximizes the window. |
void |
minimize()
Minimizes the window. |
void |
setLocation(int x,
int y)
Moves the window to the given coordinates. |
void |
setParams(Object[] windowParams)
This method can be called to pass any params to the exported window. |
void |
setSize(int width,
int height)
Resizes the window with the given width and height. |
void |
setVisible(boolean isVisible)
Shows or hides this component. |
| Field Detail |
|---|
static final WindowID ADD_CONTACT_WINDOW
static final WindowID ABOUT_WINDOW
static final WindowID CHAT_WINDOW
static final WindowID MAIN_WINDOW
| Method Detail |
|---|
WindowID getIdentifier()
boolean isVisible()
true if the component is visible and
false otherwise.boolean isFocused()
void setVisible(boolean isVisible)
isVisible - indicates whether to set this window visible or hide itvoid bringToFront()
void setSize(int width,
int height)
width - The new width.height - The new height.
void setLocation(int x,
int y)
x - The x coordinate.y - The y coordinate.void minimize()
void maximize()
Object getSource()
void setParams(Object[] windowParams)
UIService.getExportedWindow(WindowID, Object[]) in order to set
the parameters passed.
windowParams - the parameters to pass.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||