|
SIP Communicator: 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.EditTextToolBar
public class EditTextToolBar
The EditTextToolBar is a JToolBar which contains buttons for formatting a text, like make text in bold or italic, change the font, etc. It contains only MsgToolbarButtons, 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 |
|---|
| 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 | |
|---|---|
EditTextToolBar(ChatWritePanel writePanel)
Creates an instance and constructs the EditTextToolBar. |
|
| Method Summary | |
|---|---|
SmileysSelectorBox |
getSmileysSelectorBox()
Returns the button used to show the list of smileys. |
boolean |
hasSelectedMenus()
Returns TRUE if there are selected menus in this toolbar, otherwise returns FALSE. |
void |
loadSkin()
Loads the skin. |
void |
setBoldStyleEnable(boolean b)
Enables the bold style |
void |
setFontColor(Color color)
Sets the font color |
void |
setFontFamilyAndSize(String family,
int size)
Sets the font family and size |
void |
setItalicStyleEnable(boolean b)
Enables the italic style |
void |
setUnderlineStyleEnable(boolean b)
Enables the underline style |
void |
showFontChooserDialog()
Shows the font chooser dialog |
| 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 |
| Constructor Detail |
|---|
public EditTextToolBar(ChatWritePanel writePanel)
writePanel - the panel containing the chat write area| Method Detail |
|---|
public void showFontChooserDialog()
public void setFontFamilyAndSize(String family,
int size)
family - the family namesize - the sizepublic void setBoldStyleEnable(boolean b)
b - TRUE enable - FALSE disablepublic void setItalicStyleEnable(boolean b)
b - TRUE enable - FALSE disablepublic void setUnderlineStyleEnable(boolean b)
b - TRUE enable - FALSE disablepublic void setFontColor(Color color)
color - the colorpublic SmileysSelectorBox getSmileysSelectorBox()
public boolean hasSelectedMenus()
public void loadSkin()
loadSkin in interface Skinnable
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||