HTMLTableElementMethods

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

Required Methods§

Source

fn GetCaption(&self) -> Option<DomRoot<D::HTMLTableCaptionElement>>

Source

fn SetCaption( &self, cx: &mut JSContext, value: Option<&D::HTMLTableCaptionElement>, ) -> ErrorResult

Source

fn CreateCaption( &self, cx: &mut JSContext, ) -> DomRoot<D::HTMLTableCaptionElement>

Source

fn DeleteCaption(&self, cx: &mut JSContext)

Source

fn GetTHead(&self) -> Option<DomRoot<D::HTMLTableSectionElement>>

Source

fn SetTHead( &self, cx: &mut JSContext, value: Option<&D::HTMLTableSectionElement>, ) -> ErrorResult

Source

fn CreateTHead(&self, cx: &mut JSContext) -> DomRoot<D::HTMLTableSectionElement>

Source

fn DeleteTHead(&self, cx: &mut JSContext)

Source

fn GetTFoot(&self) -> Option<DomRoot<D::HTMLTableSectionElement>>

Source

fn SetTFoot( &self, cx: &mut JSContext, value: Option<&D::HTMLTableSectionElement>, ) -> ErrorResult

Source

fn CreateTFoot(&self, cx: &mut JSContext) -> DomRoot<D::HTMLTableSectionElement>

Source

fn DeleteTFoot(&self, cx: &mut JSContext)

Source

fn TBodies(&self) -> DomRoot<D::HTMLCollection>

Source

fn CreateTBody(&self, cx: &mut JSContext) -> DomRoot<D::HTMLTableSectionElement>

Source

fn Rows(&self) -> DomRoot<D::HTMLCollection>

Source

fn InsertRow( &self, cx: &mut JSContext, index: i32, ) -> Fallible<DomRoot<D::HTMLTableRowElement>>

Source

fn DeleteRow(&self, cx: &mut JSContext, index: i32) -> Fallible<()>

Source

fn Align(&self) -> DOMString

Source

fn SetAlign(&self, value: DOMString)

Source

fn Width(&self) -> DOMString

Source

fn SetWidth(&self, value: DOMString)

Source

fn BgColor(&self) -> DOMString

Source

fn SetBgColor(&self, value: DOMString)

Source

fn CellPadding(&self) -> DOMString

Source

fn SetCellPadding(&self, value: DOMString)

Source

fn CellSpacing(&self) -> DOMString

Source

fn SetCellSpacing(&self, value: DOMString)

Implementors§