ContextMenuItem.hx 699 B

123456789101112131415
  1. package flash.ui;
  2. extern final class ContextMenuItem extends flash.display.NativeMenuItem {
  3. @:flash.property var caption(get,set) : String;
  4. @:flash.property var separatorBefore(get,set) : Bool;
  5. @:flash.property var visible(get,set) : Bool;
  6. function new(caption : String, separatorBefore : Bool = false, enabled : Bool = true, visible : Bool = true) : Void;
  7. function clone() : ContextMenuItem;
  8. private function get_caption() : String;
  9. private function get_separatorBefore() : Bool;
  10. private function get_visible() : Bool;
  11. private function set_caption(value : String) : String;
  12. private function set_separatorBefore(value : Bool) : Bool;
  13. private function set_visible(value : Bool) : Bool;
  14. }