use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(
DOMHTMLElement,
DOMElement,
DOMNode,
DOMObject,
WebScriptObject,
NSObject
))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMHTMLTableElement;
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMEventTarget for DOMHTMLTableElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSCopying for DOMHTMLTableElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl CopyingHelper for DOMHTMLTableElement {
type Result = Self;
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSObjectProtocol for DOMHTMLTableElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLTableElement {
extern_methods!(
#[cfg(feature = "DOMHTMLTableCaptionElement")]
#[deprecated]
#[unsafe(method(caption))]
#[unsafe(method_family = none)]
pub unsafe fn caption(&self) -> Option<Retained<DOMHTMLTableCaptionElement>>;
#[cfg(feature = "DOMHTMLTableCaptionElement")]
#[deprecated]
#[unsafe(method(setCaption:))]
#[unsafe(method_family = none)]
pub unsafe fn setCaption(&self, caption: Option<&DOMHTMLTableCaptionElement>);
#[cfg(feature = "DOMHTMLTableSectionElement")]
#[deprecated]
#[unsafe(method(tHead))]
#[unsafe(method_family = none)]
pub unsafe fn tHead(&self) -> Option<Retained<DOMHTMLTableSectionElement>>;
#[cfg(feature = "DOMHTMLTableSectionElement")]
#[deprecated]
#[unsafe(method(setTHead:))]
#[unsafe(method_family = none)]
pub unsafe fn setTHead(&self, t_head: Option<&DOMHTMLTableSectionElement>);
#[cfg(feature = "DOMHTMLTableSectionElement")]
#[deprecated]
#[unsafe(method(tFoot))]
#[unsafe(method_family = none)]
pub unsafe fn tFoot(&self) -> Option<Retained<DOMHTMLTableSectionElement>>;
#[cfg(feature = "DOMHTMLTableSectionElement")]
#[deprecated]
#[unsafe(method(setTFoot:))]
#[unsafe(method_family = none)]
pub unsafe fn setTFoot(&self, t_foot: Option<&DOMHTMLTableSectionElement>);
#[cfg(feature = "DOMHTMLCollection")]
#[deprecated]
#[unsafe(method(rows))]
#[unsafe(method_family = none)]
pub unsafe fn rows(&self) -> Option<Retained<DOMHTMLCollection>>;
#[cfg(feature = "DOMHTMLCollection")]
#[deprecated]
#[unsafe(method(tBodies))]
#[unsafe(method_family = none)]
pub unsafe fn tBodies(&self) -> Option<Retained<DOMHTMLCollection>>;
#[deprecated]
#[unsafe(method(align))]
#[unsafe(method_family = none)]
pub unsafe fn align(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setAlign:))]
#[unsafe(method_family = none)]
pub unsafe fn setAlign(&self, align: Option<&NSString>);
#[deprecated]
#[unsafe(method(bgColor))]
#[unsafe(method_family = none)]
pub unsafe fn bgColor(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setBgColor:))]
#[unsafe(method_family = none)]
pub unsafe fn setBgColor(&self, bg_color: Option<&NSString>);
#[deprecated]
#[unsafe(method(border))]
#[unsafe(method_family = none)]
pub unsafe fn border(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setBorder:))]
#[unsafe(method_family = none)]
pub unsafe fn setBorder(&self, border: Option<&NSString>);
#[deprecated]
#[unsafe(method(cellPadding))]
#[unsafe(method_family = none)]
pub unsafe fn cellPadding(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setCellPadding:))]
#[unsafe(method_family = none)]
pub unsafe fn setCellPadding(&self, cell_padding: Option<&NSString>);
#[deprecated]
#[unsafe(method(cellSpacing))]
#[unsafe(method_family = none)]
pub unsafe fn cellSpacing(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setCellSpacing:))]
#[unsafe(method_family = none)]
pub unsafe fn setCellSpacing(&self, cell_spacing: Option<&NSString>);
#[deprecated]
#[unsafe(method(frameBorders))]
#[unsafe(method_family = none)]
pub unsafe fn frameBorders(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setFrameBorders:))]
#[unsafe(method_family = none)]
pub unsafe fn setFrameBorders(&self, frame_borders: Option<&NSString>);
#[deprecated]
#[unsafe(method(rules))]
#[unsafe(method_family = none)]
pub unsafe fn rules(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setRules:))]
#[unsafe(method_family = none)]
pub unsafe fn setRules(&self, rules: Option<&NSString>);
#[deprecated]
#[unsafe(method(summary))]
#[unsafe(method_family = none)]
pub unsafe fn summary(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setSummary:))]
#[unsafe(method_family = none)]
pub unsafe fn setSummary(&self, summary: Option<&NSString>);
#[deprecated]
#[unsafe(method(width))]
#[unsafe(method_family = none)]
pub unsafe fn width(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setWidth:))]
#[unsafe(method_family = none)]
pub unsafe fn setWidth(&self, width: Option<&NSString>);
#[deprecated]
#[unsafe(method(createTHead))]
#[unsafe(method_family = none)]
pub unsafe fn createTHead(&self) -> Option<Retained<DOMHTMLElement>>;
#[deprecated]
#[unsafe(method(deleteTHead))]
#[unsafe(method_family = none)]
pub unsafe fn deleteTHead(&self);
#[deprecated]
#[unsafe(method(createTFoot))]
#[unsafe(method_family = none)]
pub unsafe fn createTFoot(&self) -> Option<Retained<DOMHTMLElement>>;
#[deprecated]
#[unsafe(method(deleteTFoot))]
#[unsafe(method_family = none)]
pub unsafe fn deleteTFoot(&self);
#[deprecated]
#[unsafe(method(createCaption))]
#[unsafe(method_family = none)]
pub unsafe fn createCaption(&self) -> Option<Retained<DOMHTMLElement>>;
#[deprecated]
#[unsafe(method(deleteCaption))]
#[unsafe(method_family = none)]
pub unsafe fn deleteCaption(&self);
#[deprecated]
#[unsafe(method(insertRow:))]
#[unsafe(method_family = none)]
pub unsafe fn insertRow(&self, index: c_int) -> Option<Retained<DOMHTMLElement>>;
#[deprecated]
#[unsafe(method(deleteRow:))]
#[unsafe(method_family = none)]
pub unsafe fn deleteRow(&self, index: c_int);
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLTableElement {
extern_methods!(
#[deprecated]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLTableElement {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}