Class BoundAction.BooleanInvocationHandler

  • All Implemented Interfaces:
    java.awt.event.ItemListener, java.util.EventListener
    Enclosing class:
    BoundAction

    private class BoundAction.BooleanInvocationHandler
    extends java.lang.Object
    implements java.awt.event.ItemListener
    The callback for the toggle/state changed action that invokes a method with a boolean argument on a target. TODO: should reimplement this class as something that can be persistable.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.beans.Statement falseStatement  
      private java.beans.Statement trueStatement  
    • Constructor Summary

      Constructors 
      Constructor Description
      BooleanInvocationHandler​(java.lang.Object target, java.lang.String methodName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void itemStateChanged​(java.awt.event.ItemEvent evt)  
      • Methods inherited from class java.lang.Object

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

      • falseStatement

        private java.beans.Statement falseStatement
      • trueStatement

        private java.beans.Statement trueStatement
    • Constructor Detail

      • BooleanInvocationHandler

        public BooleanInvocationHandler​(java.lang.Object target,
                                        java.lang.String methodName)
    • Method Detail

      • itemStateChanged

        public void itemStateChanged​(java.awt.event.ItemEvent evt)
        Specified by:
        itemStateChanged in interface java.awt.event.ItemListener