Class: BurpExtender::JMenuItem Private
- Inherits:
-
Java::JavaxSwing::JMenuItem
- Object
- Java::JavaxSwing::JMenuItem
- BurpExtender::JMenuItem
- 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
- #burp ⇒ Object private
Instance Method Summary collapse
-
#initialize(text, burp_extender, &block) ⇒ JMenuItem
constructor
private
A new instance of JMenuItem.
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
#burp ⇒ Object
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 |