Class ComponentRunScriptExpression

All Implemented Interfaces:
Function, ActionListener, EventListener

public class ComponentRunScriptExpression extends ScriptFunction
Created by Carl.Gould on 9/1/2015.
  • Constructor Details

    • ComponentRunScriptExpression

      public ComponentRunScriptExpression(JComponent self)
    • ComponentRunScriptExpression

      public ComponentRunScriptExpression()
      For serialization only
  • Method Details

    • initLocalsMap

      protected void initLocalsMap(org.python.core.PyStringMap map)
      Overrides:
      initLocalsMap in class ScriptFunction
    • getSelf

      public JComponent getSelf()
    • setSelf

      public void setSelf(JComponent self)
    • copy

      public Function copy()
      Description copied from class: BaseFunction
      Returns this. Override to create a clone if you need a unique function object per Expression.
      Specified by:
      copy in interface Function
      Overrides:
      copy in class ScriptFunction
      Returns:
      a copy of this function