Package jaxx.runtime.swing.editor
Class I18nEditorHandler
- java.lang.Object
-
- jaxx.runtime.swing.editor.I18nEditorHandler
-
- All Implemented Interfaces:
ActionListener,PropertyChangeListener,EventListener
public class I18nEditorHandler extends Object implements PropertyChangeListener, ActionListener
Handler of uiI18nEditor.- Since:
- 2.0
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_NOT_SELECTED_TOOLTIPstatic StringDEFAULT_SELECTED_TOOLTIPstatic StringLOCALES_PROPERTYstatic StringPOPUP_BORDER_PROPERTYstatic StringPOPUP_VISIBLE_PROPERTYstatic StringSELECTED_LOCALE_PROPERTYstatic StringSHOW_ICON_PROPERTYstatic StringSHOW_POPUP_ICON_PROPERTYstatic StringSHOW_POPUP_TEXT_PROPERTYstatic StringSHOW_TEXT_PROPERTYprotected RunnableshowPopupRunnableprotected I18nEditorui
-
Constructor Summary
Constructors Constructor Description I18nEditorHandler(I18nEditor ui)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent event)protected StringgetNotSelectedTip(Locale l)protected StringgetSelectedTip(Locale l)protected StringgetTip(Locale l)voidloadI18nBundles()voidpropertyChange(PropertyChangeEvent evt)protected voidrebuildPopup()
-
-
-
Field Detail
-
ui
protected final I18nEditor ui
-
DEFAULT_SELECTED_TOOLTIP
public static final String DEFAULT_SELECTED_TOOLTIP
-
DEFAULT_NOT_SELECTED_TOOLTIP
public static final String DEFAULT_NOT_SELECTED_TOOLTIP
-
LOCALES_PROPERTY
public static final String LOCALES_PROPERTY
- See Also:
- Constant Field Values
-
SELECTED_LOCALE_PROPERTY
public static final String SELECTED_LOCALE_PROPERTY
- See Also:
- Constant Field Values
-
SHOW_ICON_PROPERTY
public static final String SHOW_ICON_PROPERTY
- See Also:
- Constant Field Values
-
SHOW_TEXT_PROPERTY
public static final String SHOW_TEXT_PROPERTY
- See Also:
- Constant Field Values
-
SHOW_POPUP_ICON_PROPERTY
public static final String SHOW_POPUP_ICON_PROPERTY
- See Also:
- Constant Field Values
-
SHOW_POPUP_TEXT_PROPERTY
public static final String SHOW_POPUP_TEXT_PROPERTY
- See Also:
- Constant Field Values
-
POPUP_BORDER_PROPERTY
public static final String POPUP_BORDER_PROPERTY
- See Also:
- Constant Field Values
-
POPUP_VISIBLE_PROPERTY
public static final String POPUP_VISIBLE_PROPERTY
- See Also:
- Constant Field Values
-
showPopupRunnable
protected Runnable showPopupRunnable
-
-
Constructor Detail
-
I18nEditorHandler
public I18nEditorHandler(I18nEditor ui)
-
-
Method Detail
-
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacePropertyChangeListener
-
actionPerformed
public void actionPerformed(ActionEvent event)
- Specified by:
actionPerformedin interfaceActionListener
-
loadI18nBundles
public void loadI18nBundles()
-
rebuildPopup
protected void rebuildPopup()
-
-