|
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.JMenuBar
net.java.sip.communicator.util.swing.SIPCommMenuBar
net.java.sip.communicator.plugin.spellcheck.LanguageMenuBar
public class LanguageMenuBar
Combo box providing a listing of all available locales with corresponding country flags. Selecting a new field causes that locale's dictionary to be downloaded, if not available. The spell checker then use the selected language for further checking.
| Nested Class Summary | |
|---|---|
class |
LanguageMenuBar.SetSpellChecker
The worker. |
| Nested classes/interfaces inherited from class javax.swing.JMenuBar |
|---|
JMenuBar.AccessibleJMenuBar |
| 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 | |
|---|---|
JList |
list
|
| 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 |
| Method Summary | |
|---|---|
LanguageMenuBar.SetSpellChecker |
createSpellCheckerWorker(Parameters.Locale locale)
SpellChecker worker, sets specified locale. |
String |
getConstraints()
Clears any cached data used by the field so it reflects the current state of its associated spell checker. |
Container |
getContainer()
Returns the identifier of the container, where we would like to add our control. |
String |
getName()
Returns the name of this plugin component. |
int |
getPositionIndex()
Returns the index position of this component in the container, where it will be added. |
boolean |
isNativeComponent()
Returns true to indicate that this component is a native
component and false otherwise. |
static LanguageMenuBar |
makeSelectionField(SpellChecker checker)
Provides instance of this class associated with a spell checker. |
void |
setCurrentContact(Contact contact)
Sets the current contact. |
void |
setCurrentContact(MetaContact metaContact)
Sets the current meta contact. |
void |
setCurrentContactGroup(MetaContactGroup metaGroup)
Sets the current meta group. |
| Methods inherited from class net.java.sip.communicator.util.swing.SIPCommMenuBar |
|---|
getUIClassID, loadSkin |
| Methods inherited from class javax.swing.JMenuBar |
|---|
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, isBorderPainted, isSelected, menuSelectionChanged, paintBorder, paramString, processKeyBinding, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.gui.PluginComponent |
|---|
getComponent |
| Field Detail |
|---|
public final JList list
| Method Detail |
|---|
public static LanguageMenuBar makeSelectionField(SpellChecker checker)
checker - spell checker field is to be associated with
public String getConstraints()
getConstraints in interface PluginComponentpublic Container getContainer()
PluginComponent
getContainer in interface PluginComponentpublic String getName()
PluginComponent
getName in interface PluginComponentgetName in class Componentpublic int getPositionIndex()
PluginComponent
getPositionIndex in interface PluginComponentpublic boolean isNativeComponent()
PluginComponenttrue to indicate that this component is a native
component and false otherwise. This method is meant to be
used by containers if a special treatment is needed for native components.
isNativeComponent in interface PluginComponenttrue to indicate that this component is a native
component and false otherwise.public void setCurrentContact(MetaContact metaContact)
PluginComponent
setCurrentContact in interface PluginComponentmetaContact - the current meta contactpublic void setCurrentContactGroup(MetaContactGroup metaGroup)
PluginComponent
setCurrentContactGroup in interface PluginComponentmetaGroup - the current meta contact grouppublic void setCurrentContact(Contact contact)
PluginComponent
setCurrentContact in interface PluginComponentcontact - the current contactpublic LanguageMenuBar.SetSpellChecker createSpellCheckerWorker(Parameters.Locale locale)
locale - the locale to set.
|
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 | |||||||||