Class AutoComplete.SelectionAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.util.EventListener, javax.swing.Action
    Enclosing class:
    AutoComplete

    static class AutoComplete.SelectionAction
    extends java.lang.Object
    implements javax.swing.Action
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.Action delegate  
      • Fields inherited from interface javax.swing.Action

        ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
    • Constructor Summary

      Constructors 
      Constructor Description
      SelectionAction​(javax.swing.Action delegate)  
    • Field Detail

      • delegate

        private javax.swing.Action delegate
    • Constructor Detail

      • SelectionAction

        public SelectionAction​(javax.swing.Action delegate)
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • addPropertyChangeListener

        public void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)
        Specified by:
        addPropertyChangeListener in interface javax.swing.Action
      • removePropertyChangeListener

        public void removePropertyChangeListener​(java.beans.PropertyChangeListener listener)
        Specified by:
        removePropertyChangeListener in interface javax.swing.Action
      • getValue

        public java.lang.Object getValue​(java.lang.String key)
        Specified by:
        getValue in interface javax.swing.Action
      • putValue

        public void putValue​(java.lang.String key,
                             java.lang.Object value)
        Specified by:
        putValue in interface javax.swing.Action
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface javax.swing.Action
      • setEnabled

        public void setEnabled​(boolean b)
        Specified by:
        setEnabled in interface javax.swing.Action