• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • DOM
  • HTMLOptionElement
Public Member Functions | Protected Member Functions | List of all members
DOM::HTMLOptionElement Class Reference

#include <html_form.h>

Inheritance diagram for DOM::HTMLOptionElement:
DOM::HTMLElement DOM::Element DOM::Node

Public Member Functions

 HTMLOptionElement (const HTMLOptionElement &other)
 
 HTMLOptionElement (const Node &other)
 
HTMLOptionElement & operator= (const HTMLOptionElement &other)
 
HTMLOptionElement & operator= (const Node &other)
 
HTMLFormElement form () const
 
bool defaultSelected () const
 
void setDefaultSelected (bool)
 
DOMString text () const
 
long index () const
 
void setIndex (long)
 
bool disabled () const
 
void setDisabled (bool)
 
DOMString label () const
 
void setLabel (const DOMString &)
 
bool selected () const
 
void setSelected (bool)
 
DOMString value () const
 
void setValue (const DOMString &)
 
- Public Member Functions inherited from DOM::HTMLElement
 HTMLElement (const HTMLElement &other)
 
 HTMLElement (const Node &other)
 
HTMLElement & operator= (const HTMLElement &other)
 
HTMLElement & operator= (const Node &other)
 
DOMString id () const
 
void setId (const DOMString &)
 
DOMString title () const
 
void setTitle (const DOMString &)
 
DOMString lang () const
 
void setLang (const DOMString &)
 
DOMString dir () const
 
void setDir (const DOMString &)
 
DOMString className () const
 
void setClassName (const DOMString &)
 
DOMString innerHTML () const
 
void setInnerHTML (const DOMString &html)
 
DOMString innerText () const
 
void setInnerText (const DOMString &text)
 
HTMLCollection children () const
 
HTMLCollection all () const
 
void removeCSSProperty (const DOMString &property)
 
void addCSSProperty (const DOMString &property, const DOMString &value)
 
- Public Member Functions inherited from DOM::Element
 Element (const Node &other)
 
 Element (const Element &other)
 
Element & operator= (const Node &other)
 
Element & operator= (const Element &other)
 
DOMString tagName () const
 
DOMString getAttribute (const DOMString &name)
 
void setAttribute (const DOMString &name, const DOMString &value)
 
void removeAttribute (const DOMString &name)
 
Attr getAttributeNode (const DOMString &name)
 
Attr setAttributeNode (const Attr &newAttr)
 
Attr removeAttributeNode (const Attr &oldAttr)
 
NodeList getElementsByTagName (const DOMString &name)
 
NodeList getElementsByTagNameNS (const DOMString &namespaceURI, const DOMString &localName)
 
DOMString getAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
 
void setAttributeNS (const DOMString &namespaceURI, const DOMString &qualifiedName, const DOMString &value)
 
void removeAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
 
Attr getAttributeNodeNS (const DOMString &namespaceURI, const DOMString &localName)
 
Attr setAttributeNodeNS (const Attr &newAttr)
 
bool hasAttribute (const DOMString &name)
 
bool hasAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
 
CSSStyleDeclaration style ()
 
bool contentEditable () const
 
void setContentEditable (bool enabled)
 
bool isHTMLElement () const
 
Element form () const
 
- Public Member Functions inherited from DOM::Node
 Node (const Node &other)
 
 Node (NodeImpl *_impl)
 
Node & operator= (const Node &other)
 
bool operator== (const Node &other) const
 
bool operator!= (const Node &other) const
 
DOMString nodeName () const
 
DOMString nodeValue () const
 
void setNodeValue (const DOMString &)
 
unsigned short nodeType () const
 
Node parentNode () const
 
NodeList childNodes () const
 
Node firstChild () const
 
Node lastChild () const
 
Node previousSibling () const
 
Node nextSibling () const
 
NamedNodeMap attributes () const
 
Document ownerDocument () const
 
Node insertBefore (const Node &newChild, const Node &refChild)
 
Node replaceChild (const Node &newChild, const Node &oldChild)
 
Node removeChild (const Node &oldChild)
 
Node appendChild (const Node &newChild)
 
bool hasChildNodes ()
 
Node cloneNode (bool deep)
 
void normalize ()
 
bool isSupported (const DOMString &feature, const DOMString &version) const
 
DOMString namespaceURI () const
 
DOMString prefix () const
 
void setPrefix (const DOMString &prefix)
 
DOMString localName () const
 
bool hasAttributes ()
 
DOMString textContent () const
 
void setTextContent (const DOMString &content) const
 
void addEventListener (const DOMString &type, EventListener *listener, const bool useCapture)
 
void removeEventListener (const DOMString &type, EventListener *listener, bool useCapture)
 
bool dispatchEvent (const Event &evt)
 
TQ_UINT32 elementId () const
 
bool isNull () const
 
NodeImpl * handle () const
 
unsigned long index () const
 
TQString toHTML () TDE_DEPRECATED
 
void applyChanges ()
 
void getCursor (int offset, int &_x, int &_y, int &height) TDE_DEPRECATED
 
TQRect getRect ()
 

Protected Member Functions

 HTMLOptionElement (HTMLOptionElementImpl *impl)
 
- Protected Member Functions inherited from DOM::HTMLElement
 HTMLElement (HTMLElementImpl *impl)
 
void assignOther (const Node &other, int elementId)
 
- Protected Member Functions inherited from DOM::Element
 Element (ElementImpl *_impl)
 

Additional Inherited Members

- Public Types inherited from DOM::Node
enum  NodeType {
  ELEMENT_NODE = 1 , ATTRIBUTE_NODE = 2 , TEXT_NODE = 3 , CDATA_SECTION_NODE = 4 ,
  ENTITY_REFERENCE_NODE = 5 , ENTITY_NODE = 6 , PROCESSING_INSTRUCTION_NODE = 7 , COMMENT_NODE = 8 ,
  DOCUMENT_NODE = 9 , DOCUMENT_TYPE_NODE = 10 , DOCUMENT_FRAGMENT_NODE = 11 , NOTATION_NODE = 12
}
 
- Static Public Member Functions inherited from DOM::Element
static bool tdehtmlValidAttrName (const DOMString &name)
 
static bool tdehtmlValidPrefix (const DOMString &name)
 
static bool tdehtmlValidQualifiedName (const DOMString &name)
 
static bool tdehtmlMalformedQualifiedName (const DOMString &name)
 
static bool tdehtmlMalformedPrefix (const DOMString &name)
 
- Protected Attributes inherited from DOM::Node
NodeImpl * impl
 

Detailed Description

A selectable choice.

See the OPTION element definition in HTML 4.0.

Definition at line 1269 of file html_form.h.

Constructor & Destructor Documentation

◆ HTMLOptionElement() [1/4]

HTMLOptionElement::HTMLOptionElement ( )

Definition at line 1153 of file html_form.cpp.

◆ HTMLOptionElement() [2/4]

HTMLOptionElement::HTMLOptionElement ( const HTMLOptionElement &  other)

Definition at line 1157 of file html_form.cpp.

◆ HTMLOptionElement() [3/4]

DOM::HTMLOptionElement::HTMLOptionElement ( const Node &  other)
inline

Definition at line 1274 of file html_form.h.

◆ HTMLOptionElement() [4/4]

HTMLOptionElement::HTMLOptionElement ( HTMLOptionElementImpl *  impl)
protected

Definition at line 1161 of file html_form.cpp.

◆ ~HTMLOptionElement()

HTMLOptionElement::~HTMLOptionElement ( )

Definition at line 1177 of file html_form.cpp.

Member Function Documentation

◆ defaultSelected()

bool HTMLOptionElement::defaultSelected ( ) const

Stores the initial value of the selected attribute.

Definition at line 1186 of file html_form.cpp.

◆ disabled()

bool HTMLOptionElement::disabled ( ) const

The control is unavailable in this context.

See the disabled attribute definition in HTML 4.0.

Definition at line 1214 of file html_form.cpp.

◆ form()

HTMLFormElement HTMLOptionElement::form ( ) const

KDE 4.0: remove

Definition at line 1181 of file html_form.cpp.

◆ index()

long HTMLOptionElement::index ( ) const

The index of this OPTION in its parent SELECT .

Definition at line 1203 of file html_form.cpp.

◆ label()

DOMString HTMLOptionElement::label ( ) const

Option label for use in hierarchical menus.

See the label attribute definition in HTML 4.0.

Definition at line 1225 of file html_form.cpp.

◆ operator=() [1/2]

HTMLOptionElement & HTMLOptionElement::operator= ( const HTMLOptionElement &  other)

Definition at line 1171 of file html_form.cpp.

◆ operator=() [2/2]

HTMLOptionElement & HTMLOptionElement::operator= ( const Node &  other)

Definition at line 1165 of file html_form.cpp.

◆ selected()

bool HTMLOptionElement::selected ( ) const

Means that this option is initially selected.

See the selected attribute definition in HTML 4.0.

Definition at line 1236 of file html_form.cpp.

◆ setDefaultSelected()

void HTMLOptionElement::setDefaultSelected ( bool  _defaultSelected)

see defaultSelected

Definition at line 1192 of file html_form.cpp.

◆ setDisabled()

void HTMLOptionElement::setDisabled ( bool  _disabled)

see disabled

Definition at line 1220 of file html_form.cpp.

◆ setIndex()

void HTMLOptionElement::setIndex ( long  )

see index

This function is obsolete - the index property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)

Definition at line 1209 of file html_form.cpp.

◆ setLabel()

void HTMLOptionElement::setLabel ( const DOMString &  value)

see label

Definition at line 1231 of file html_form.cpp.

◆ setSelected()

void HTMLOptionElement::setSelected ( bool  _selected)

see selected

Definition at line 1242 of file html_form.cpp.

◆ setValue()

void HTMLOptionElement::setValue ( const DOMString &  value)

see value

Definition at line 1253 of file html_form.cpp.

◆ text()

DOMString HTMLOptionElement::text ( ) const

The text contained within the option element.

Definition at line 1197 of file html_form.cpp.

◆ value()

DOMString HTMLOptionElement::value ( ) const

The current form control value.

See the value attribute definition in HTML 4.0.

Definition at line 1247 of file html_form.cpp.


The documentation for this class was generated from the following files:
  • html_form.h
  • html_form.cpp

tdehtml

Skip menu "tdehtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.9.4
This website is maintained by Timothy Pearson.