use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMHTMLTableSectionElement;
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl ClassType for DOMHTMLTableSectionElement {
#[inherits(DOMElement, DOMNode, DOMObject, WebScriptObject, NSObject)]
type Super = DOMHTMLElement;
type Mutability = InteriorMutable;
}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMEventTarget for DOMHTMLTableSectionElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSCopying for DOMHTMLTableSectionElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSObjectProtocol for DOMHTMLTableSectionElement {}
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLTableSectionElement {
#[deprecated]
#[method_id(@__retain_semantics Other align)]
pub unsafe fn align(&self) -> Retained<NSString>;
#[deprecated]
#[method(setAlign:)]
pub unsafe fn setAlign(&self, align: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other ch)]
pub unsafe fn ch(&self) -> Retained<NSString>;
#[deprecated]
#[method(setCh:)]
pub unsafe fn setCh(&self, ch: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other chOff)]
pub unsafe fn chOff(&self) -> Retained<NSString>;
#[deprecated]
#[method(setChOff:)]
pub unsafe fn setChOff(&self, ch_off: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other vAlign)]
pub unsafe fn vAlign(&self) -> Retained<NSString>;
#[deprecated]
#[method(setVAlign:)]
pub unsafe fn setVAlign(&self, v_align: Option<&NSString>);
#[cfg(feature = "DOMHTMLCollection")]
#[deprecated]
#[method_id(@__retain_semantics Other rows)]
pub unsafe fn rows(&self) -> Option<Retained<DOMHTMLCollection>>;
#[deprecated]
#[method_id(@__retain_semantics Other insertRow:)]
pub unsafe fn insertRow(&self, index: c_int) -> Option<Retained<DOMHTMLElement>>;
#[deprecated]
#[method(deleteRow:)]
pub unsafe fn deleteRow(&self, index: c_int);
}
);
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLTableSectionElement {
#[deprecated]
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLTableSectionElement {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);