public interface ExportedWindow
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
bringToFront()
Brings the focus to this window.
|
WindowID |
getIdentifier()
Returns the WindowID corresponding to this window.
|
java.lang.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(java.lang.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.
|
static final WindowID ADD_CONTACT_WINDOW
static final WindowID ABOUT_WINDOW
static final WindowID CHAT_WINDOW
static final WindowID MAIN_WINDOW
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()
java.lang.Object getSource()
void setParams(java.lang.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.
Distributable under Apache license.