|
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.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.java.sip.communicator.util.swing.TransparentPanel
net.java.sip.communicator.impl.gui.main.chatroomslist.joinforms.SearchChatRoomPanel
public class SearchChatRoomPanel
This panel allows to search chat rooms on the considered provider, and to join them.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
(package private) List<String> |
serverRooms
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
SearchChatRoomPanel(ChatRoomProviderWrapper provider)
Creates an instance of SearchChatRoomPanel. |
|
SearchChatRoomPanel(WizardContainer wizardContainer)
Creates a SearchChatRoomPanel instance without specifying neither the parent window, nor the protocol provider. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Invoked when the Search button is clicked. |
void |
addChatRoomNameListener(DocumentListener l)
Adds a DocumentListener to the text field containing the chosen chat room. |
void |
changedUpdate(DocumentEvent e)
|
String |
getChatRoomName()
Returns the chat room name entered by user. |
void |
insertUpdate(DocumentEvent e)
|
void |
loadChatRoomsList()
Loads the list of existing server chat rooms. |
void |
removeUpdate(DocumentEvent e)
|
void |
requestFocusInField()
Requests the focus in the name text field. |
void |
setChatRoomName(String chatRoomName)
Sets the given chat room name to the text field, contained in this panel. |
void |
setChatRoomProvider(ChatRoomProviderWrapper provider)
Sets the protocol provider that have been chosen by user on the first page of the join chat room wizard. |
void |
updateChatRoomList()
Updates the chat rooms list when a key change is performed in the search field. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
List<String> serverRooms
| Constructor Detail |
|---|
public SearchChatRoomPanel(WizardContainer wizardContainer)
public SearchChatRoomPanel(ChatRoomProviderWrapper provider)
provider - the chat room provider wrapper corresponding to the
account for which the search panel is created| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void loadChatRoomsList()
public String getChatRoomName()
public void setChatRoomName(String chatRoomName)
chatRoomName - the chat room name to set to the text fieldpublic void requestFocusInField()
public void setChatRoomProvider(ChatRoomProviderWrapper provider)
provider - the chat room provider wrapper for which we'd search a
chat roompublic void addChatRoomNameListener(DocumentListener l)
l - the DocumentListener to addpublic void updateChatRoomList()
public void changedUpdate(DocumentEvent e)
changedUpdate in interface DocumentListenerpublic void insertUpdate(DocumentEvent e)
insertUpdate in interface DocumentListenerpublic void removeUpdate(DocumentEvent e)
removeUpdate in interface DocumentListener
|
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 | |||||||||