Sha256: 1e99d8bc08b8b7254dcc87e133dd476ab15f42647e4a6e727a9cb1dc48d46521
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
include Java module Clients module SwingGui # Class that implements ActionListener interface around a given block class ActionListener java_implements java.awt.event.ActionListener def initialize &block @action_block = block end java_signature 'public void actionPerformed(ActionEvent event)' # from ActionListener interface: Invoked when an action event occurs. def actionPerformed event @action_block.call event end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
swing-0.0.1 | lib/swing/action_listener.rb |