{-# LANGUAGE CPP #-} #if (defined(ghcjs_HOST_OS) && defined(USE_JAVASCRIPTFFI)) || !defined(USE_WEBKIT) {-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI #-} module GHCJS.DOM.HTMLTableRowElement (ghcjs_dom_html_table_row_element_insert_cell, htmlTableRowElementInsertCell, ghcjs_dom_html_table_row_element_delete_cell, htmlTableRowElementDeleteCell, ghcjs_dom_html_table_row_element_get_row_index, htmlTableRowElementGetRowIndex, ghcjs_dom_html_table_row_element_get_section_row_index, htmlTableRowElementGetSectionRowIndex, ghcjs_dom_html_table_row_element_get_cells, htmlTableRowElementGetCells, ghcjs_dom_html_table_row_element_set_align, htmlTableRowElementSetAlign, ghcjs_dom_html_table_row_element_get_align, htmlTableRowElementGetAlign, ghcjs_dom_html_table_row_element_set_bg_color, htmlTableRowElementSetBgColor, ghcjs_dom_html_table_row_element_get_bg_color, htmlTableRowElementGetBgColor, ghcjs_dom_html_table_row_element_set_ch, htmlTableRowElementSetCh, ghcjs_dom_html_table_row_element_get_ch, htmlTableRowElementGetCh, ghcjs_dom_html_table_row_element_set_ch_off, htmlTableRowElementSetChOff, ghcjs_dom_html_table_row_element_get_ch_off, htmlTableRowElementGetChOff, ghcjs_dom_html_table_row_element_set_v_align, htmlTableRowElementSetVAlign, ghcjs_dom_html_table_row_element_get_v_align, htmlTableRowElementGetVAlign, HTMLTableRowElement, IsHTMLTableRowElement, castToHTMLTableRowElement, gTypeHTMLTableRowElement, toHTMLTableRowElement) where import GHCJS.Types import GHCJS.Foreign import Data.Word import GHCJS.DOM.Types import Control.Applicative ((<$>)) import GHCJS.DOM.EventM import GHCJS.Types import GHCJS.Foreign import Data.Word import GHCJS.DOM.Types import Control.Applicative ((<$>)) import GHCJS.DOM.EventM #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"insertCell\"]($2)" ghcjs_dom_html_table_row_element_insert_cell :: JSRef HTMLTableRowElement -> Int -> IO (JSRef HTMLElement) #else ghcjs_dom_html_table_row_element_insert_cell :: JSRef HTMLTableRowElement -> Int -> IO (JSRef HTMLElement) ghcjs_dom_html_table_row_element_insert_cell = undefined #endif htmlTableRowElementInsertCell :: (IsHTMLTableRowElement self) => self -> Int -> IO (Maybe HTMLElement) htmlTableRowElementInsertCell self index = fmap HTMLElement . maybeJSNull <$> (ghcjs_dom_html_table_row_element_insert_cell (unHTMLTableRowElement (toHTMLTableRowElement self)) index) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"deleteCell\"]($2)" ghcjs_dom_html_table_row_element_delete_cell :: JSRef HTMLTableRowElement -> Int -> IO () #else ghcjs_dom_html_table_row_element_delete_cell :: JSRef HTMLTableRowElement -> Int -> IO () ghcjs_dom_html_table_row_element_delete_cell = undefined #endif htmlTableRowElementDeleteCell :: (IsHTMLTableRowElement self) => self -> Int -> IO () htmlTableRowElementDeleteCell self index = ghcjs_dom_html_table_row_element_delete_cell (unHTMLTableRowElement (toHTMLTableRowElement self)) index #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"rowIndex\"]" ghcjs_dom_html_table_row_element_get_row_index :: JSRef HTMLTableRowElement -> IO Int #else ghcjs_dom_html_table_row_element_get_row_index :: JSRef HTMLTableRowElement -> IO Int ghcjs_dom_html_table_row_element_get_row_index = undefined #endif htmlTableRowElementGetRowIndex :: (IsHTMLTableRowElement self) => self -> IO Int htmlTableRowElementGetRowIndex self = ghcjs_dom_html_table_row_element_get_row_index (unHTMLTableRowElement (toHTMLTableRowElement self)) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"sectionRowIndex\"]" ghcjs_dom_html_table_row_element_get_section_row_index :: JSRef HTMLTableRowElement -> IO Int #else ghcjs_dom_html_table_row_element_get_section_row_index :: JSRef HTMLTableRowElement -> IO Int ghcjs_dom_html_table_row_element_get_section_row_index = undefined #endif htmlTableRowElementGetSectionRowIndex :: (IsHTMLTableRowElement self) => self -> IO Int htmlTableRowElementGetSectionRowIndex self = ghcjs_dom_html_table_row_element_get_section_row_index (unHTMLTableRowElement (toHTMLTableRowElement self)) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"cells\"]" ghcjs_dom_html_table_row_element_get_cells :: JSRef HTMLTableRowElement -> IO (JSRef HTMLCollection) #else ghcjs_dom_html_table_row_element_get_cells :: JSRef HTMLTableRowElement -> IO (JSRef HTMLCollection) ghcjs_dom_html_table_row_element_get_cells = undefined #endif htmlTableRowElementGetCells :: (IsHTMLTableRowElement self) => self -> IO (Maybe HTMLCollection) htmlTableRowElementGetCells self = fmap HTMLCollection . maybeJSNull <$> (ghcjs_dom_html_table_row_element_get_cells (unHTMLTableRowElement (toHTMLTableRowElement self))) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"align\"] = $2;" ghcjs_dom_html_table_row_element_set_align :: JSRef HTMLTableRowElement -> JSString -> IO () #else ghcjs_dom_html_table_row_element_set_align :: JSRef HTMLTableRowElement -> JSString -> IO () ghcjs_dom_html_table_row_element_set_align = undefined #endif htmlTableRowElementSetAlign :: (IsHTMLTableRowElement self, ToJSString val) => self -> val -> IO () htmlTableRowElementSetAlign self val = ghcjs_dom_html_table_row_element_set_align (unHTMLTableRowElement (toHTMLTableRowElement self)) (toJSString val) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"align\"]" ghcjs_dom_html_table_row_element_get_align :: JSRef HTMLTableRowElement -> IO JSString #else ghcjs_dom_html_table_row_element_get_align :: JSRef HTMLTableRowElement -> IO JSString ghcjs_dom_html_table_row_element_get_align = undefined #endif htmlTableRowElementGetAlign :: (IsHTMLTableRowElement self, FromJSString result) => self -> IO result htmlTableRowElementGetAlign self = fromJSString <$> (ghcjs_dom_html_table_row_element_get_align (unHTMLTableRowElement (toHTMLTableRowElement self))) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"bgColor\"] = $2;" ghcjs_dom_html_table_row_element_set_bg_color :: JSRef HTMLTableRowElement -> JSString -> IO () #else ghcjs_dom_html_table_row_element_set_bg_color :: JSRef HTMLTableRowElement -> JSString -> IO () ghcjs_dom_html_table_row_element_set_bg_color = undefined #endif htmlTableRowElementSetBgColor :: (IsHTMLTableRowElement self, ToJSString val) => self -> val -> IO () htmlTableRowElementSetBgColor self val = ghcjs_dom_html_table_row_element_set_bg_color (unHTMLTableRowElement (toHTMLTableRowElement self)) (toJSString val) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"bgColor\"]" ghcjs_dom_html_table_row_element_get_bg_color :: JSRef HTMLTableRowElement -> IO JSString #else ghcjs_dom_html_table_row_element_get_bg_color :: JSRef HTMLTableRowElement -> IO JSString ghcjs_dom_html_table_row_element_get_bg_color = undefined #endif htmlTableRowElementGetBgColor :: (IsHTMLTableRowElement self, FromJSString result) => self -> IO result htmlTableRowElementGetBgColor self = fromJSString <$> (ghcjs_dom_html_table_row_element_get_bg_color (unHTMLTableRowElement (toHTMLTableRowElement self))) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"ch\"] = $2;" ghcjs_dom_html_table_row_element_set_ch :: JSRef HTMLTableRowElement -> JSString -> IO () #else ghcjs_dom_html_table_row_element_set_ch :: JSRef HTMLTableRowElement -> JSString -> IO () ghcjs_dom_html_table_row_element_set_ch = undefined #endif htmlTableRowElementSetCh :: (IsHTMLTableRowElement self, ToJSString val) => self -> val -> IO () htmlTableRowElementSetCh self val = ghcjs_dom_html_table_row_element_set_ch (unHTMLTableRowElement (toHTMLTableRowElement self)) (toJSString val) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"ch\"]" ghcjs_dom_html_table_row_element_get_ch :: JSRef HTMLTableRowElement -> IO JSString #else ghcjs_dom_html_table_row_element_get_ch :: JSRef HTMLTableRowElement -> IO JSString ghcjs_dom_html_table_row_element_get_ch = undefined #endif htmlTableRowElementGetCh :: (IsHTMLTableRowElement self, FromJSString result) => self -> IO result htmlTableRowElementGetCh self = fromJSString <$> (ghcjs_dom_html_table_row_element_get_ch (unHTMLTableRowElement (toHTMLTableRowElement self))) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"chOff\"] = $2;" ghcjs_dom_html_table_row_element_set_ch_off :: JSRef HTMLTableRowElement -> JSString -> IO () #else ghcjs_dom_html_table_row_element_set_ch_off :: JSRef HTMLTableRowElement -> JSString -> IO () ghcjs_dom_html_table_row_element_set_ch_off = undefined #endif htmlTableRowElementSetChOff :: (IsHTMLTableRowElement self, ToJSString val) => self -> val -> IO () htmlTableRowElementSetChOff self val = ghcjs_dom_html_table_row_element_set_ch_off (unHTMLTableRowElement (toHTMLTableRowElement self)) (toJSString val) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"chOff\"]" ghcjs_dom_html_table_row_element_get_ch_off :: JSRef HTMLTableRowElement -> IO JSString #else ghcjs_dom_html_table_row_element_get_ch_off :: JSRef HTMLTableRowElement -> IO JSString ghcjs_dom_html_table_row_element_get_ch_off = undefined #endif htmlTableRowElementGetChOff :: (IsHTMLTableRowElement self, FromJSString result) => self -> IO result htmlTableRowElementGetChOff self = fromJSString <$> (ghcjs_dom_html_table_row_element_get_ch_off (unHTMLTableRowElement (toHTMLTableRowElement self))) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"vAlign\"] = $2;" ghcjs_dom_html_table_row_element_set_v_align :: JSRef HTMLTableRowElement -> JSString -> IO () #else ghcjs_dom_html_table_row_element_set_v_align :: JSRef HTMLTableRowElement -> JSString -> IO () ghcjs_dom_html_table_row_element_set_v_align = undefined #endif htmlTableRowElementSetVAlign :: (IsHTMLTableRowElement self, ToJSString val) => self -> val -> IO () htmlTableRowElementSetVAlign self val = ghcjs_dom_html_table_row_element_set_v_align (unHTMLTableRowElement (toHTMLTableRowElement self)) (toJSString val) #ifdef ghcjs_HOST_OS foreign import javascript unsafe "$1[\"vAlign\"]" ghcjs_dom_html_table_row_element_get_v_align :: JSRef HTMLTableRowElement -> IO JSString #else ghcjs_dom_html_table_row_element_get_v_align :: JSRef HTMLTableRowElement -> IO JSString ghcjs_dom_html_table_row_element_get_v_align = undefined #endif htmlTableRowElementGetVAlign :: (IsHTMLTableRowElement self, FromJSString result) => self -> IO result htmlTableRowElementGetVAlign self = fromJSString <$> (ghcjs_dom_html_table_row_element_get_v_align (unHTMLTableRowElement (toHTMLTableRowElement self))) #else module GHCJS.DOM.HTMLTableRowElement ( module Graphics.UI.Gtk.WebKit.DOM.HTMLTableRowElement ) where import Graphics.UI.Gtk.WebKit.DOM.HTMLTableRowElement #endif