Class DecoratorPopupHandler

  • All Implemented Interfaces:
    Runnable

    public abstract class DecoratorPopupHandler
    extends Object
    implements Runnable
    Created on 11/30/14.
    Since:
    2.18
    Author:
    Tony Chemit - chemit@codelutin.com
    • 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
    • Constructor Detail

      • DecoratorPopupHandler

        public DecoratorPopupHandler()
    • Method Detail

      • getPopup

        public abstract JPopupMenu getPopup()
      • getInvoker

        public abstract JComponent getInvoker()
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • 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