Class FlatUIAction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected javax.swing.Action delegate  
      protected java.lang.String name  
      • 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 
      Modifier Constructor Description
      protected FlatUIAction​(java.lang.String name)  
      protected FlatUIAction​(javax.swing.Action delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)  
      java.lang.Object getValue​(java.lang.String key)  
      boolean isEnabled()  
      void putValue​(java.lang.String key, java.lang.Object value)  
      void removePropertyChangeListener​(java.beans.PropertyChangeListener listener)  
      void setEnabled​(boolean b)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
      • Methods inherited from interface java.awt.event.ActionListener

        actionPerformed
    • Field Detail

      • name

        protected final java.lang.String name
      • delegate

        protected final javax.swing.Action delegate
    • Constructor Detail

      • FlatUIAction

        protected FlatUIAction​(java.lang.String name)
      • FlatUIAction

        protected FlatUIAction​(javax.swing.Action delegate)
    • Method Detail

      • getValue

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

        public boolean isEnabled()
        Specified by:
        isEnabled 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
      • setEnabled

        public void setEnabled​(boolean b)
        Specified by:
        setEnabled in interface javax.swing.Action
      • 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