Package org.nuiton.jaxx.widgets
Class DecoratorPopupHandler
- java.lang.Object
-
- org.nuiton.jaxx.widgets.DecoratorPopupHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_NOT_SELECTED_TOOLTIPstatic StringDEFAULT_POPUP_LABELstatic StringDEFAULT_SELECTED_TOOLTIPstatic org.apache.commons.logging.LoglogLogger.
-
Constructor Summary
Constructors Constructor Description DecoratorPopupHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JComponentgetInvoker()abstract JPopupMenugetPopup()voidpreparePopup(String selectedTip, String notSelectedTip, String i18nPrefix, String title, ButtonGroup indexes, JSeparator popupSeparator, JLabel popupLabel, AbstractButton sortUp, AbstractButton sortDown, org.nuiton.decorator.MultiJXPathDecorator<?> decorator)Creation de l'ui pour modifier le décorateur.voidrun()voidtogglePopup()Toggle the popup visible state.protected voidupdatePopup()
-
-
-
Field Detail
-
log
public static final org.apache.commons.logging.Log log
Logger.
-
DEFAULT_POPUP_LABEL
public static final String DEFAULT_POPUP_LABEL
-
DEFAULT_SELECTED_TOOLTIP
public static final String DEFAULT_SELECTED_TOOLTIP
-
DEFAULT_NOT_SELECTED_TOOLTIP
public static final String DEFAULT_NOT_SELECTED_TOOLTIP
-
-
Method Detail
-
getPopup
public abstract JPopupMenu getPopup()
-
getInvoker
public abstract JComponent getInvoker()
-
togglePopup
public void togglePopup()
Toggle the popup visible state.
-
updatePopup
protected void updatePopup()
-
preparePopup
public void preparePopup(String selectedTip, String notSelectedTip, String i18nPrefix, String title, ButtonGroup indexes, JSeparator popupSeparator, JLabel popupLabel, AbstractButton sortUp, AbstractButton sortDown, org.nuiton.decorator.MultiJXPathDecorator<?> decorator)
Creation de l'ui pour modifier le décorateur.- Parameters:
selectedTip-notSelectedTip-i18nPrefix-title-indexes-popupLabel-sortUp-sortDown-decorator- le decorateur a utiliser
-
-