pub trait HTMLTableElementMethods<D: DomTypes> {
Show 21 methods
// Required methods
fn GetCaption(&self) -> Option<DomRoot<D::HTMLTableCaptionElement>>;
fn SetCaption(
&self,
value: Option<&D::HTMLTableCaptionElement>,
) -> ErrorResult;
fn CreateCaption(
&self,
_can_gc: CanGc,
) -> DomRoot<D::HTMLTableCaptionElement>;
fn DeleteCaption(&self);
fn GetTHead(&self) -> Option<DomRoot<D::HTMLTableSectionElement>>;
fn SetTHead(
&self,
value: Option<&D::HTMLTableSectionElement>,
) -> ErrorResult;
fn CreateTHead(&self, _can_gc: CanGc) -> DomRoot<D::HTMLTableSectionElement>;
fn DeleteTHead(&self);
fn GetTFoot(&self) -> Option<DomRoot<D::HTMLTableSectionElement>>;
fn SetTFoot(
&self,
value: Option<&D::HTMLTableSectionElement>,
) -> ErrorResult;
fn CreateTFoot(&self, _can_gc: CanGc) -> DomRoot<D::HTMLTableSectionElement>;
fn DeleteTFoot(&self);
fn TBodies(&self) -> DomRoot<D::HTMLCollection>;
fn CreateTBody(&self, _can_gc: CanGc) -> DomRoot<D::HTMLTableSectionElement>;
fn Rows(&self) -> DomRoot<D::HTMLCollection>;
fn InsertRow(
&self,
index: i32,
_can_gc: CanGc,
) -> Fallible<DomRoot<D::HTMLTableRowElement>>;
fn DeleteRow(&self, index: i32) -> Fallible<()>;
fn Width(&self) -> DOMString;
fn SetWidth(&self, value: DOMString);
fn BgColor(&self) -> DOMString;
fn SetBgColor(&self, value: DOMString);
}