jaxx.runtime.swing.editor
Class I18nEditorHandler

java.lang.Object
  extended by jaxx.runtime.swing.editor.I18nEditorHandler
All Implemented Interfaces:
ActionListener, PropertyChangeListener, EventListener

public class I18nEditorHandler
extends Object
implements PropertyChangeListener, ActionListener

Handler of ui I18nEditor.

Since:
2.0
Author:
tchemit

Field Summary
static String DEFAULT_NOT_SELECTED_TOOLTIP
           
static String DEFAULT_SELECTED_TOOLTIP
           
static String LOCALES_PROPERTY
           
static String POPUP_BORDER_PROPERTY
           
static String POPUP_VISIBLE_PROPERTY
           
static String SELECTED_LOCALE_PROPERTY
           
static String SHOW_ICON_PROPERTY
           
static String SHOW_POPUP_ICON_PROPERTY
           
static String SHOW_POPUP_TEXT_PROPERTY
           
static String SHOW_TEXT_PROPERTY
           
protected  Runnable showPopupRunnable
           
protected  I18nEditor ui
           
 
Constructor Summary
I18nEditorHandler(I18nEditor ui)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
protected  String getNotSelectedTip(Locale l)
           
protected  String getSelectedTip(Locale l)
           
protected  String getTip(Locale l)
           
 void loadI18nBundles()
           
 void propertyChange(PropertyChangeEvent evt)
           
protected  void rebuildPopup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
propertyChange in interface PropertyChangeListener

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener

loadI18nBundles

public void loadI18nBundles()

rebuildPopup

protected void rebuildPopup()

getTip

protected String getTip(Locale l)

getSelectedTip

protected String getSelectedTip(Locale l)

getNotSelectedTip

protected String getNotSelectedTip(Locale l)


Copyright © 2008-2011 CodeLutin. All Rights Reserved.