KJS::HTMLElement Class Reference

Inheritance diagram for KJS::HTMLElement:

KJS::DOMElement KJS::DOMNode KJS::DOMObject List of all members.

Detailed Description

Definition at line 58 of file kjs_html.h.


Public Types

enum  {
  HtmlVersion, HeadProfile, LinkHref, LinkRel,
  LinkMedia, LinkCharset, LinkDisabled, LinkHrefLang,
  LinkRev, LinkTarget, LinkType, LinkSheet,
  TitleText, MetaName, MetaHttpEquiv, MetaContent,
  MetaScheme, BaseHref, BaseTarget, IsIndexForm,
  IsIndexPrompt, StyleDisabled, StyleSheet, StyleType,
  StyleMedia, BodyBackground, BodyVLink, BodyText,
  BodyLink, BodyALink, BodyBgColor, BodyOnLoad,
  FormAction, FormEncType, FormElements, FormLength,
  FormAcceptCharset, FormReset, FormTarget, FormName,
  FormMethod, FormSubmit, SelectAdd, SelectTabIndex,
  SelectValue, SelectSelectedIndex, SelectLength, SelectRemove,
  SelectForm, SelectBlur, SelectType, SelectOptions,
  SelectDisabled, SelectMultiple, SelectName, SelectSize,
  SelectFocus, OptGroupDisabled, OptGroupLabel, OptionIndex,
  OptionSelected, OptionForm, OptionText, OptionDefaultSelected,
  OptionDisabled, OptionLabel, OptionValue, InputBlur,
  InputReadOnly, InputAccept, InputSize, InputDefaultValue,
  InputTabIndex, InputValue, InputType, InputFocus,
  InputMaxLength, InputDefaultChecked, InputDisabled, InputChecked,
  InputIndeterminate, InputForm, InputAccessKey, InputAlign,
  InputAlt, InputName, InputSrc, InputUseMap,
  InputSelect, InputClick, InputSelectionStart, InputSelectionEnd,
  InputSetSelectionRange, TextAreaAccessKey, TextAreaName, TextAreaDefaultValue,
  TextAreaSelect, TextAreaCols, TextAreaDisabled, TextAreaForm,
  TextAreaType, TextAreaTabIndex, TextAreaReadOnly, TextAreaRows,
  TextAreaValue, TextAreaBlur, TextAreaFocus, TextAreaSelectionStart,
  TextAreaSelectionEnd, TextAreaSetSelectionRange, TextAreaTextLength, ButtonBlur,
  ButtonFocus, ButtonForm, ButtonTabIndex, ButtonName,
  ButtonDisabled, ButtonAccessKey, ButtonType, ButtonValue,
  LabelHtmlFor, LabelForm, LabelAccessKey, FieldSetForm,
  LegendForm, LegendAccessKey, LegendAlign, UListType,
  UListCompact, OListStart, OListCompact, OListType,
  DListCompact, DirectoryCompact, MenuCompact, LIType,
  LIValue, DivAlign, ParagraphAlign, HeadingAlign,
  BlockQuoteCite, QuoteCite, PreWidth, BRClear,
  BaseFontColor, BaseFontSize, BaseFontFace, FontColor,
  FontSize, FontFace, HRWidth, HRNoShade,
  HRAlign, HRSize, ModCite, ModDateTime,
  AnchorShape, AnchorRel, AnchorAccessKey, AnchorCoords,
  AnchorHref, AnchorProtocol, AnchorHost, AnchorCharset,
  AnchorHrefLang, AnchorHostname, AnchorType, AnchorFocus,
  AnchorPort, AnchorPathName, AnchorHash, AnchorSearch,
  AnchorName, AnchorRev, AnchorTabIndex, AnchorTarget,
  AnchorText, AnchorBlur, AnchorClick, ImageName,
  ImageAlign, ImageHspace, ImageVspace, ImageUseMap,
  ImageAlt, ImageLowSrc, ImageWidth, ImageIsMap,
  ImageBorder, ImageHeight, ImageLongDesc, ImageSrc,
  ImageX, ImageY, ImageComplete, ObjectHspace,
  ObjectHeight, ObjectAlign, ObjectBorder, ObjectCode,
  ObjectType, ObjectVspace, ObjectArchive, ObjectDeclare,
  ObjectForm, ObjectCodeBase, ObjectCodeType, ObjectData,
  ObjectName, ObjectStandby, ObjectTabIndex, ObjectUseMap,
  ObjectWidth, ObjectContentDocument, ParamName, ParamType,
  ParamValueType, ParamValue, AppletArchive, AppletAlt,
  AppletCode, AppletWidth, AppletAlign, AppletCodeBase,
  AppletName, AppletHeight, AppletHspace, AppletObject,
  AppletVspace, MapAreas, MapName, AreaHash,
  AreaHref, AreaTarget, AreaPort, AreaShape,
  AreaCoords, AreaAlt, AreaAccessKey, AreaNoHref,
  AreaHost, AreaProtocol, AreaHostName, AreaPathName,
  AreaSearch, AreaTabIndex, ScriptEvent, ScriptType,
  ScriptHtmlFor, ScriptText, ScriptSrc, ScriptCharset,
  ScriptDefer, TableSummary, TableTBodies, TableTHead,
  TableCellPadding, TableDeleteCaption, TableCreateCaption, TableCaption,
  TableWidth, TableCreateTFoot, TableAlign, TableTFoot,
  TableDeleteRow, TableCellSpacing, TableRows, TableBgColor,
  TableBorder, TableFrame, TableRules, TableCreateTHead,
  TableDeleteTHead, TableDeleteTFoot, TableInsertRow, TableCaptionAlign,
  TableColCh, TableColChOff, TableColAlign, TableColSpan,
  TableColVAlign, TableColWidth, TableSectionCh, TableSectionDeleteRow,
  TableSectionChOff, TableSectionRows, TableSectionAlign, TableSectionVAlign,
  TableSectionInsertRow, TableRowSectionRowIndex, TableRowRowIndex, TableRowChOff,
  TableRowCells, TableRowVAlign, TableRowCh, TableRowAlign,
  TableRowBgColor, TableRowDeleteCell, TableRowInsertCell, TableCellColSpan,
  TableCellNoWrap, TableCellAbbr, TableCellHeight, TableCellWidth,
  TableCellCellIndex, TableCellChOff, TableCellBgColor, TableCellCh,
  TableCellVAlign, TableCellRowSpan, TableCellHeaders, TableCellAlign,
  TableCellAxis, TableCellScope, FrameSetCols, FrameSetRows,
  FrameSrc, FrameLocation, FrameFrameBorder, FrameScrolling,
  FrameMarginWidth, FrameLongDesc, FrameMarginHeight, FrameName,
  FrameContentDocument, FrameContentWindow, FrameNoResize, FrameWidth,
  FrameHeight, IFrameLongDesc, IFrameAlign, IFrameFrameBorder,
  IFrameSrc, IFrameName, IFrameHeight, IFrameMarginHeight,
  IFrameMarginWidth, IFrameScrolling, IFrameWidth, IFrameContentDocument,
  IFrameContentWindow, MarqueeStart, MarqueeStop, LayerTop,
  LayerLeft, LayerVisibility, LayerBgColor, LayerClip,
  LayerDocument, LayerLayers, ElementInnerHTML, ElementTitle,
  ElementId, ElementDir, ElementLang, ElementClassName,
  ElementInnerText, ElementDocument, ElementChildren, ElementAll,
  ElementScrollIntoView
}

Public Member Functions

 HTMLElement (ExecState *exec, const DOM::HTMLElement &e)
virtual Value tryGet (ExecState *exec, const Identifier &propertyName) const
Value getValueProperty (ExecState *exec, int token) const
virtual void tryPut (ExecState *exec, const Identifier &propertyName, const Value &value, int attr=None)
void putValueProperty (ExecState *exec, int token, const Value &value, int)
virtual bool hasProperty (ExecState *exec, const Identifier &propertyName) const
virtual UString toString (ExecState *exec) const
virtual void pushEventHandlerScope (ExecState *exec, ScopeChain &scope) const
virtual const ClassInfo * classInfo () const
DOM::HTMLElement toElement () const

Static Public Attributes

static const ClassInfo info = { "HTMLElement", &DOMElement::info, &HTMLElementTable, 0 }
static const ClassInfo html_info = { "HTMLHtmlElement", &KJS::HTMLElement::info, &HTMLHtmlElementTable, 0 }
static const ClassInfo head_info = { "HTMLHeadElement", &KJS::HTMLElement::info, &HTMLHeadElementTable, 0 }
static const ClassInfo link_info = { "HTMLLinkElement", &KJS::HTMLElement::info, &HTMLLinkElementTable, 0 }
static const ClassInfo title_info = { "HTMLTitleElement", &KJS::HTMLElement::info, &HTMLTitleElementTable, 0 }
static const ClassInfo meta_info = { "HTMLMetaElement", &KJS::HTMLElement::info, &HTMLMetaElementTable, 0 }
static const ClassInfo base_info = { "HTMLBaseElement", &KJS::HTMLElement::info, &HTMLBaseElementTable, 0 }
static const ClassInfo isIndex_info = { "HTMLIsIndexElement", &KJS::HTMLElement::info, &HTMLIsIndexElementTable, 0 }
static const ClassInfo style_info = { "HTMLStyleElement", &KJS::HTMLElement::info, &HTMLStyleElementTable, 0 }
static const ClassInfo body_info = { "HTMLBodyElement", &KJS::HTMLElement::info, &HTMLBodyElementTable, 0 }
static const ClassInfo form_info = { "HTMLFormElement", &KJS::HTMLElement::info, &HTMLFormElementTable, 0 }
static const ClassInfo select_info = { "HTMLSelectElement", &KJS::HTMLElement::info, &HTMLSelectElementTable, 0 }
static const ClassInfo optGroup_info = { "HTMLOptGroupElement", &KJS::HTMLElement::info, &HTMLOptGroupElementTable, 0 }
static const ClassInfo option_info = { "HTMLOptionElement", &KJS::HTMLElement::info, &HTMLOptionElementTable, 0 }
static const ClassInfo input_info = { "HTMLInputElement", &KJS::HTMLElement::info, &HTMLInputElementTable, 0 }
static const ClassInfo textArea_info = { "HTMLTextAreaElement", &KJS::HTMLElement::info, &HTMLTextAreaElementTable, 0 }
static const ClassInfo button_info = { "HTMLButtonElement", &KJS::HTMLElement::info, &HTMLButtonElementTable, 0 }
static const ClassInfo label_info = { "HTMLLabelElement", &KJS::HTMLElement::info, &HTMLLabelElementTable, 0 }
static const ClassInfo fieldSet_info = { "HTMLFieldSetElement", &KJS::HTMLElement::info, &HTMLFieldSetElementTable, 0 }
static const ClassInfo legend_info = { "HTMLLegendElement", &KJS::HTMLElement::info, &HTMLLegendElementTable, 0 }
static const ClassInfo ul_info = { "HTMLUListElement", &KJS::HTMLElement::info, &HTMLUListElementTable, 0 }
static const ClassInfo ol_info = { "HTMLOListElement", &KJS::HTMLElement::info, &HTMLOListElementTable, 0 }
static const ClassInfo dl_info = { "HTMLDListElement", &KJS::HTMLElement::info, &HTMLDListElementTable, 0 }
static const ClassInfo dir_info = { "HTMLDirectoryElement", &KJS::HTMLElement::info, &HTMLDirectoryElementTable, 0 }
static const ClassInfo menu_info = { "HTMLMenuElement", &KJS::HTMLElement::info, &HTMLMenuElementTable, 0 }
static const ClassInfo li_info = { "HTMLLIElement", &KJS::HTMLElement::info, &HTMLLIElementTable, 0 }
static const ClassInfo div_info = { "HTMLDivElement", &KJS::HTMLElement::info, &HTMLDivElementTable, 0 }
static const ClassInfo p_info = { "HTMLParagraphElement", &KJS::HTMLElement::info, &HTMLParagraphElementTable, 0 }
static const ClassInfo heading_info = { "HTMLHeadingElement", &KJS::HTMLElement::info, &HTMLHeadingElementTable, 0 }
static const ClassInfo blockQuote_info = { "HTMLBlockQuoteElement", &KJS::HTMLElement::info, &HTMLBlockQuoteElementTable, 0 }
static const ClassInfo q_info = { "HTMLQuoteElement", &KJS::HTMLElement::info, &HTMLQuoteElementTable, 0 }
static const ClassInfo pre_info = { "HTMLPreElement", &KJS::HTMLElement::info, &HTMLPreElementTable, 0 }
static const ClassInfo br_info = { "HTMLBRElement", &KJS::HTMLElement::info, &HTMLBRElementTable, 0 }
static const ClassInfo baseFont_info = { "HTMLBaseFontElement", &KJS::HTMLElement::info, &HTMLBaseFontElementTable, 0 }
static const ClassInfo font_info = { "HTMLFontElement", &KJS::HTMLElement::info, &HTMLFontElementTable, 0 }
static const ClassInfo hr_info = { "HTMLHRElement", &KJS::HTMLElement::info, &HTMLHRElementTable, 0 }
static const ClassInfo mod_info = { "HTMLModElement", &KJS::HTMLElement::info, &HTMLModElementTable, 0 }
static const ClassInfo a_info = { "HTMLAnchorElement", &KJS::HTMLElement::info, &HTMLAnchorElementTable, 0 }
static const ClassInfo img_info = { "HTMLImageElement", &KJS::HTMLElement::info, &HTMLImageElementTable, 0 }
static const ClassInfo object_info = { "HTMLObjectElement", &KJS::HTMLElement::info, &HTMLObjectElementTable, 0 }
static const ClassInfo param_info = { "HTMLParamElement", &KJS::HTMLElement::info, &HTMLParamElementTable, 0 }
static const ClassInfo applet_info = { "HTMLAppletElement", &KJS::HTMLElement::info, &HTMLAppletElementTable, 0 }
static const ClassInfo map_info = { "HTMLMapElement", &KJS::HTMLElement::info, &HTMLMapElementTable, 0 }
static const ClassInfo area_info = { "HTMLAreaElement", &KJS::HTMLElement::info, &HTMLAreaElementTable, 0 }
static const ClassInfo script_info = { "HTMLScriptElement", &KJS::HTMLElement::info, &HTMLScriptElementTable, 0 }
static const ClassInfo table_info = { "HTMLTableElement", &KJS::HTMLElement::info, &HTMLTableElementTable, 0 }
static const ClassInfo caption_info = { "HTMLTableCaptionElement", &KJS::HTMLElement::info, &HTMLTableCaptionElementTable, 0 }
static const ClassInfo col_info = { "HTMLTableColElement", &KJS::HTMLElement::info, &HTMLTableColElementTable, 0 }
static const ClassInfo tablesection_info = { "HTMLTableSectionElement", &KJS::HTMLElement::info, &HTMLTableSectionElementTable, 0 }
static const ClassInfo tr_info = { "HTMLTableRowElement", &KJS::HTMLElement::info, &HTMLTableRowElementTable, 0 }
static const ClassInfo tablecell_info = { "HTMLTableCellElement", &KJS::HTMLElement::info, &HTMLTableCellElementTable, 0 }
static const ClassInfo frameSet_info = { "HTMLFrameSetElement", &KJS::HTMLElement::info, &HTMLFrameSetElementTable, 0 }
static const ClassInfo frame_info = { "HTMLFrameElement", &KJS::HTMLElement::info, &HTMLFrameElementTable, 0 }
static const ClassInfo iFrame_info = { "HTMLIFrameElement", &KJS::HTMLElement::info, &HTMLIFrameElementTable, 0 }
static const ClassInfo marquee_info = { "HTMLMarqueeElement", &KJS::HTMLElement::info, &HTMLMarqueeElementTable, 0 }
static const ClassInfo layer_info = { "HTMLLayerElement", &KJS::HTMLElement::info, &HTMLLayerElementTable, 0 }

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys