|
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 | |||||||||
java.lang.Objectnet.java.sip.communicator.service.gui.AbstractExportedWindow<T>
public abstract class AbstractExportedWindow<T extends Window>
| Field Summary | |
|---|---|
protected T |
window
The Window wrapped by this instance and to which
ExportedWindow capabilities are provided. |
| Fields inherited from interface net.java.sip.communicator.service.gui.ExportedWindow |
|---|
ABOUT_WINDOW, ADD_CONTACT_WINDOW, CHAT_WINDOW, MAIN_WINDOW |
| Constructor Summary | |
|---|---|
AbstractExportedWindow()
|
|
| Method Summary | |
|---|---|
void |
bringToFront()
Brings the focus to this window. |
protected abstract T |
createWindow()
Creates the Window instance to be wrapped by this instance
and to which ExportedWindow capabilities are provided. |
Object |
getSource()
The source of the window |
protected T |
getWindow()
Gets the Window wrapped by this instance and to which
ExportedWindow capabilities are provided. |
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()
Implements ExportedWindow.maximize(). |
void |
minimize()
Implements ExportedWindow.minimize(). |
void |
setLocation(int x,
int y)
Moves the window to the given coordinates. |
void |
setParams(Object[] windowParams)
Implements ExportedWindow.setParams(Object[]). |
void |
setSize(int width,
int height)
Resizes the window with the given width and height. |
void |
setVisible(boolean visible)
Shows or hides this component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.gui.ExportedWindow |
|---|
getIdentifier |
| Field Detail |
|---|
protected T extends Window window
Window wrapped by this instance and to which
ExportedWindow capabilities are provided.
| Constructor Detail |
|---|
public AbstractExportedWindow()
| Method Detail |
|---|
public void bringToFront()
ExportedWindow
bringToFront in interface ExportedWindowprotected abstract T createWindow()
Window instance to be wrapped by this instance
and to which ExportedWindow capabilities are provided.
Window instance to be wrapped by this instance
and to which ExportedWindow capabilities are
providedpublic Object getSource()
ExportedWindow
getSource in interface ExportedWindowprotected T getWindow()
Window wrapped by this instance and to which
ExportedWindow capabilities are provided.
Window wrapped by this instance and to which
ExportedWindow capabilities are providedpublic boolean isFocused()
ExportedWindow
isFocused in interface ExportedWindowpublic boolean isVisible()
ExportedWindow
isVisible in interface ExportedWindowtrue if the component is visible and
false otherwise.public void maximize()
ExportedWindow.maximize(). Maximizes the wrapped
Window instance if it is a Frame.
maximize in interface ExportedWindowpublic void minimize()
ExportedWindow.minimize(). Minimizes the wrapped
Window instance if it is a Frame.
minimize in interface ExportedWindow
public void setLocation(int x,
int y)
ExportedWindow
setLocation in interface ExportedWindowx - The x coordinate.y - The y coordinate.public void setParams(Object[] windowParams)
ExportedWindow.setParams(Object[]). Does nothing.
setParams in interface ExportedWindowwindowParams - the parameters to set to the Window wrapped in
this instance
public void setSize(int width,
int height)
ExportedWindow
setSize in interface ExportedWindowwidth - The new width.height - The new height.public void setVisible(boolean visible)
ExportedWindow
setVisible in interface ExportedWindowvisible - indicates whether to set this window visible or hide it
|
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 | |||||||||