|
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.chat.toolBars.MainToolBar
public class MainToolBar
The MainToolBar is a JToolBar which contains buttons for file operations, like save and print, for copy-paste operations, etc. It's the main toolbar in the ChatWindow. It contains only ChatToolbarButtons, which have a specific background icon and rollover behaviour to differentiates them from normal buttons.
| 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 | |
|---|---|
protected ChatContainer |
chatContainer
The chat container, where this tool bar is added. |
| 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 | |
|---|---|
MainToolBar(ChatContainer chatContainer)
Creates an instance and constructs the MainToolBar. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Handles the ActionEvent, when one of the tool bar buttons is clicked. |
void |
changeHistoryButtonsState(ChatPanel chatPanel)
Disables/Enables history arrow buttons depending on whether the current page is the first, the last page or a middle page. |
void |
chatChanged(ChatPanel chatPanel)
Implements ChatChangeListener#chatChanged(ChatPanel). |
void |
currentChatTransportChanged(ChatSession chatSession)
Implements ChatSessionChangeListener#currentChatTransportChanged(ChatSession). |
void |
dispose()
Runs clean-up for associated resources which need explicit disposal (e.g. |
ChatToolbarButton |
getHistoryButton()
Returns the button used to show the history window. |
SmileysSelectorBox |
getSmileysBox()
Get the smileys box. |
protected void |
init()
Initializes this component. |
void |
loadSkin()
Reloads icons for buttons. |
| 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 |
|---|
protected final ChatContainer chatContainer
| Constructor Detail |
|---|
public MainToolBar(ChatContainer chatContainer)
chatContainer - The parent ChatWindow.| Method Detail |
|---|
protected void init()
public void dispose()
public void chatChanged(ChatPanel chatPanel)
chatChanged in interface ChatChangeListenerchatPanel - the ChatPanel, which changedpublic void currentChatTransportChanged(ChatSession chatSession)
currentChatTransportChanged in interface ChatSessionChangeListenerchatSession - the ChatSession, which transport has changedpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - the ActionEvent that notified uspublic ChatToolbarButton getHistoryButton()
public SmileysSelectorBox getSmileysBox()
public void changeHistoryButtonsState(ChatPanel chatPanel)
chatPanel - the ChatPanel which has provoked the change.public void loadSkin()
loadSkin in interface Skinnable
|
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 | |||||||||