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 DOMHTMLTableCellElement;
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl ClassType for DOMHTMLTableCellElement {
#[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 DOMHTMLTableCellElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSCopying for DOMHTMLTableCellElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSObjectProtocol for DOMHTMLTableCellElement {}
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLTableCellElement {
#[deprecated]
#[method(cellIndex)]
pub unsafe fn cellIndex(&self) -> c_int;
#[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 axis)]
pub unsafe fn axis(&self) -> Retained<NSString>;
#[deprecated]
#[method(setAxis:)]
pub unsafe fn setAxis(&self, axis: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other bgColor)]
pub unsafe fn bgColor(&self) -> Retained<NSString>;
#[deprecated]
#[method(setBgColor:)]
pub unsafe fn setBgColor(&self, bg_color: 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(colSpan)]
pub unsafe fn colSpan(&self) -> c_int;
#[deprecated]
#[method(setColSpan:)]
pub unsafe fn setColSpan(&self, col_span: c_int);
#[deprecated]
#[method(rowSpan)]
pub unsafe fn rowSpan(&self) -> c_int;
#[deprecated]
#[method(setRowSpan:)]
pub unsafe fn setRowSpan(&self, row_span: c_int);
#[deprecated]
#[method_id(@__retain_semantics Other headers)]
pub unsafe fn headers(&self) -> Retained<NSString>;
#[deprecated]
#[method(setHeaders:)]
pub unsafe fn setHeaders(&self, headers: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other height)]
pub unsafe fn height(&self) -> Retained<NSString>;
#[deprecated]
#[method(setHeight:)]
pub unsafe fn setHeight(&self, height: Option<&NSString>);
#[deprecated]
#[method(noWrap)]
pub unsafe fn noWrap(&self) -> bool;
#[deprecated]
#[method(setNoWrap:)]
pub unsafe fn setNoWrap(&self, no_wrap: bool);
#[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>);
#[deprecated]
#[method_id(@__retain_semantics Other width)]
pub unsafe fn width(&self) -> Retained<NSString>;
#[deprecated]
#[method(setWidth:)]
pub unsafe fn setWidth(&self, width: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other abbr)]
pub unsafe fn abbr(&self) -> Retained<NSString>;
#[deprecated]
#[method(setAbbr:)]
pub unsafe fn setAbbr(&self, abbr: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other scope)]
pub unsafe fn scope(&self) -> Retained<NSString>;
#[deprecated]
#[method(setScope:)]
pub unsafe fn setScope(&self, scope: Option<&NSString>);
}
);
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLTableCellElement {
#[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 DOMHTMLTableCellElement {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);