Class: BurpExtender::JMenuItem Private

Inherits:
Java::JavaxSwing::JMenuItem
  • Object
show all
Defined in:
lib/buby/burp_extender/jmenu_item.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text, burp_extender, &block) ⇒ JMenuItem

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of JMenuItem.



5
6
7
8
9
10
# File 'lib/buby/burp_extender/jmenu_item.rb', line 5

def initialize text, burp_extender, &block
  super text
  @burp = burp_extender

  addActionListener &block
end

Instance Attribute Details

#burpObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
# File 'lib/buby/burp_extender/jmenu_item.rb', line 4

def burp
  @burp
end