Class ExpressionEditor.EnabledToVisibleLinker

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener
    Enclosing class:
    ExpressionEditor

    protected static class ExpressionEditor.EnabledToVisibleLinker
    extends java.lang.Object
    implements java.beans.PropertyChangeListener
    Links the enabled state of an action to the visibility property of a component. Used through the static link() function to allow chaining.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected EnabledToVisibleLinker​(javax.swing.JComponent comp, javax.swing.Action a)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.JComponent link​(javax.swing.JComponent comp, javax.swing.Action a)  
      void propertyChange​(java.beans.PropertyChangeEvent evt)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnabledToVisibleLinker

        protected EnabledToVisibleLinker​(javax.swing.JComponent comp,
                                         javax.swing.Action a)
    • Method Detail

      • link

        public static javax.swing.JComponent link​(javax.swing.JComponent comp,
                                                  javax.swing.Action a)
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent evt)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener