Source Code (Use browser search to find items of interest.)

Class Index

kdelibs'HTMLObjectElement (./kdelibs/khtml/dom/html_object.h:231)

class HTMLObjectElement : public HTMLElement
{
public:
    HTMLObjectElement();
    HTMLObjectElement(const HTMLObjectElement &other);
    HTMLObjectElement(const Node &other) : HTMLElement()
         {(*this)=other;}
protected:
    HTMLObjectElement(HTMLObjectElementImpl *impl);
public:

    HTMLObjectElement & operator = (const HTMLObjectElement &other);
    HTMLObjectElement & operator = (const Node &other);

    ~HTMLObjectElement();

    /**
     * Returns the <code> FORM </code> element containing this
     * control. Returns null if this control is not within the context
     * of a form.
     *
     */
    HTMLFormElement form() const;

    /**
     * Applet class file. See the <code> code </code> attribute for
     * HTMLAppletElement.
     *
     */
    DOMString code() const;

    /**
     * see @ref code
     */
    void setCode( const DOMString & );

    /**
     * Aligns this object (vertically or horizontally) with respect to
     * its surrounding text. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG">
     * align attribute definition </a> in HTML 4.0. This attribute is
     * deprecated in HTML 4.0.
     *
     */
    DOMString align() const;

    /**
     * see @ref align
     */
    void setAlign( const DOMString & );

    /**
     * Space-separated list of archives. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-archive-OBJECT">
     * archive attribute definition </a> in HTML 4.0.
     *
     */
    DOMString archive() const;

    /**
     * see @ref archive
     */
    void setArchive( const DOMString & );

    /**
     * Width of border around the object. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-border">
     * border attribute definition </a> in HTML 4.0. This attribute is
     * deprecated in HTML 4.0.
     *
     */
    DOMString border() const;

    /**
     * see @ref border
     */
    void setBorder( const DOMString & );

    /**
     * Base URI for <code> classid </code> , <code> data </code> , and
     * <code> archive </code> attributes. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-codebase-OBJECT">
     * codebase attribute definition </a> in HTML 4.0.
     *
     */
    DOMString codeBase() const;

    /**
     * see @ref codeBase
     */
    void setCodeBase( const DOMString & );

    /**
     * Content type for data downloaded via <code> classid </code>
     * attribute. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-codetype">
     * codetype attribute definition </a> in HTML 4.0.
     *
     */
    DOMString codeType() const;

    /**
     * see @ref codeType
     */
    void setCodeType( const DOMString & );

    /**
     * A URI specifying the location of the object's data. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-data">
     * data attribute definition </a> in HTML 4.0.
     *
     */
    DOMString data() const;

    /**
     * see @ref data
     */
    void setData( const DOMString & );

    /**
     * Declare (for future reference), but do not instantiate, this
     * object. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-declare">
     * declare attribute definition </a> in HTML 4.0.
     *
     */
    bool declare() const;

    /**
     * see @ref declare
     */
    void setDeclare( bool );

    /**
     * Override height. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-height-IMG">
     * height attribute definition </a> in HTML 4.0.
     *
     */
    DOMString height() const;

    /**
     * see @ref height
     */
    void setHeight( const DOMString & );

    /**
     * Horizontal space to the left and right of this image, applet,
     * or object. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-hspace">
     * hspace attribute definition </a> in HTML 4.0. This attribute is
     * deprecated in HTML 4.0.
     *
     */
    DOMString hspace() const;

    /**
     * see @ref hspace
     */
    void setHspace( const DOMString & );

    /**
     * Form control or object name when submitted with a form. See the
     * <a
     * href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-INPUT">
     * name attribute definition </a> in HTML 4.0.
     *
     */
    DOMString name() const;

    /**
     * see @ref name
     */
    void setName( const DOMString & );

    /**
     * Message to render while loading the object. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-standby">
     * standby attribute definition </a> in HTML 4.0.
     *
     */
    DOMString standby() const;

    /**
     * see @ref standby
     */
    void setStandby( const DOMString & );

    /**
     * Index that represents the element's position in the tabbing
     * order. See the <a
     * href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex">
     * tabindex attribute definition </a> in HTML 4.0.
     *
     */
    long tabIndex() const;

    /**
     * see @ref tabIndex
     */
    void setTabIndex( long );

    /**
     * Content type for data downloaded via <code> data </code>
     * attribute. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-type-OBJECT">
     * type attribute definition </a> in HTML 4.0.
     *
     */
    DOMString type() const;

    /**
     * see @ref type
     */
    void setType( const DOMString & );

    /**
     * Use client-side image map. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-usemap">
     * usemap attribute definition </a> in HTML 4.0.
     *
     */
    DOMString useMap() const;

    /**
     * see @ref useMap
     */
    void setUseMap( const DOMString & );

    /**
     * Vertical space above and below this image, applet, or object.
     * See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-vspace">
     * vspace attribute definition </a> in HTML 4.0. This attribute is
     * deprecated in HTML 4.0.
     *
     */
    DOMString vspace() const;

    /**
     * see @ref vspace
     */
    void setVspace( const DOMString & );

    /**
     * Override width. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-width-IMG">
     * width attribute definition </a> in HTML 4.0.
     *
     */
    DOMString width() const;

    /**
     * see @ref width
     */
    void setWidth( const DOMString & );
};

// --------------------------------------------------------------------------


kdelibs'HTMLObjectElement::HTMLObjectElement() (./kdelibs/khtml/dom/html_object.cpp:192)

HTMLObjectElement::HTMLObjectElement() : HTMLElement()
{
}


kdelibs'HTMLObjectElement::HTMLObjectElement() (./kdelibs/khtml/dom/html_object.cpp:196)

HTMLObjectElement::HTMLObjectElement(const HTMLObjectElement &other) : HTMLElement(other)
{
}


kdelibs'HTMLObjectElement::HTMLObjectElement() (./kdelibs/khtml/dom/html_object.cpp:200)

HTMLObjectElement::HTMLObjectElement(HTMLObjectElementImpl *impl) : HTMLElement(impl)
{
}


kdelibs'HTMLObjectElement::~HTMLObjectElement() (./kdelibs/khtml/dom/html_object.cpp:221)

HTMLObjectElement::~HTMLObjectElement()
{
}


kdelibs'HTMLObjectElement::form() (./kdelibs/khtml/dom/html_object.cpp:225)

HTMLFormElement HTMLObjectElement::form() const
{
    if(!impl) return 0;
    return ((HTMLObjectElementImpl *)impl)->form();
}


kdelibs'HTMLObjectElement::code() (./kdelibs/khtml/dom/html_object.cpp:231)

DOMString HTMLObjectElement::code() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_CODE);
}


kdelibs'HTMLObjectElement::setCode() (./kdelibs/khtml/dom/html_object.cpp:237)

void HTMLObjectElement::setCode( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_CODE, value);
}


kdelibs'HTMLObjectElement::align() (./kdelibs/khtml/dom/html_object.cpp:242)

DOMString HTMLObjectElement::align() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_ALIGN);
}


kdelibs'HTMLObjectElement::setAlign() (./kdelibs/khtml/dom/html_object.cpp:248)

void HTMLObjectElement::setAlign( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_ALIGN, value);
}


kdelibs'HTMLObjectElement::archive() (./kdelibs/khtml/dom/html_object.cpp:253)

DOMString HTMLObjectElement::archive() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_ARCHIVE);
}


kdelibs'HTMLObjectElement::setArchive() (./kdelibs/khtml/dom/html_object.cpp:259)

void HTMLObjectElement::setArchive( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_ARCHIVE, value);
}


kdelibs'HTMLObjectElement::border() (./kdelibs/khtml/dom/html_object.cpp:264)

DOMString HTMLObjectElement::border() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_BORDER);
}


kdelibs'HTMLObjectElement::setBorder() (./kdelibs/khtml/dom/html_object.cpp:270)

void HTMLObjectElement::setBorder( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_BORDER, value);
}


kdelibs'HTMLObjectElement::codeBase() (./kdelibs/khtml/dom/html_object.cpp:275)

DOMString HTMLObjectElement::codeBase() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_CODEBASE);
}


kdelibs'HTMLObjectElement::setCodeBase() (./kdelibs/khtml/dom/html_object.cpp:281)

void HTMLObjectElement::setCodeBase( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_CODEBASE, value);
}


kdelibs'HTMLObjectElement::codeType() (./kdelibs/khtml/dom/html_object.cpp:286)

DOMString HTMLObjectElement::codeType() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_CODETYPE);
}


kdelibs'HTMLObjectElement::setCodeType() (./kdelibs/khtml/dom/html_object.cpp:292)

void HTMLObjectElement::setCodeType( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_CODETYPE, value);
}


kdelibs'HTMLObjectElement::data() (./kdelibs/khtml/dom/html_object.cpp:297)

DOMString HTMLObjectElement::data() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_DATA);
}


kdelibs'HTMLObjectElement::setData() (./kdelibs/khtml/dom/html_object.cpp:303)

void HTMLObjectElement::setData( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_DATA, value);
}


kdelibs'HTMLObjectElement::declare() (./kdelibs/khtml/dom/html_object.cpp:308)

bool HTMLObjectElement::declare() const
{
    if(!impl) return 0;
    return !((ElementImpl *)impl)->getAttribute(ATTR_DECLARE).isNull();
}


kdelibs'HTMLObjectElement::setDeclare() (./kdelibs/khtml/dom/html_object.cpp:314)

void HTMLObjectElement::setDeclare( bool _declare )
{
   if(impl)
    {
	DOMString str;
	if( _declare )
	    str = "";
	((ElementImpl *)impl)->setAttribute(ATTR_DECLARE, str);
    }
}


kdelibs'HTMLObjectElement::height() (./kdelibs/khtml/dom/html_object.cpp:325)

DOMString HTMLObjectElement::height() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_HEIGHT);
}


kdelibs'HTMLObjectElement::setHeight() (./kdelibs/khtml/dom/html_object.cpp:331)

void HTMLObjectElement::setHeight( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_HEIGHT, value);
}


kdelibs'HTMLObjectElement::hspace() (./kdelibs/khtml/dom/html_object.cpp:336)

DOMString HTMLObjectElement::hspace() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_HSPACE);
}


kdelibs'HTMLObjectElement::setHspace() (./kdelibs/khtml/dom/html_object.cpp:342)

void HTMLObjectElement::setHspace( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_HSPACE, value);
}


kdelibs'HTMLObjectElement::name() (./kdelibs/khtml/dom/html_object.cpp:347)

DOMString HTMLObjectElement::name() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_NAME);
}


kdelibs'HTMLObjectElement::setName() (./kdelibs/khtml/dom/html_object.cpp:353)

void HTMLObjectElement::setName( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_NAME, value);
}


kdelibs'HTMLObjectElement::standby() (./kdelibs/khtml/dom/html_object.cpp:358)

DOMString HTMLObjectElement::standby() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_STANDBY);
}


kdelibs'HTMLObjectElement::setStandby() (./kdelibs/khtml/dom/html_object.cpp:364)

void HTMLObjectElement::setStandby( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_STANDBY, value);
}


kdelibs'HTMLObjectElement::tabIndex() (./kdelibs/khtml/dom/html_object.cpp:369)

long HTMLObjectElement::tabIndex() const
{
    if(!impl) return 0;
    return ((HTMLObjectElementImpl *)impl)->tabIndex();
}


kdelibs'HTMLObjectElement::setTabIndex() (./kdelibs/khtml/dom/html_object.cpp:375)

void HTMLObjectElement::setTabIndex( long _tabIndex )
{

    if(impl)
        ((HTMLObjectElementImpl *)impl)->setTabIndex( _tabIndex );
}


kdelibs'HTMLObjectElement::type() (./kdelibs/khtml/dom/html_object.cpp:382)

DOMString HTMLObjectElement::type() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_TYPE);
}


kdelibs'HTMLObjectElement::setType() (./kdelibs/khtml/dom/html_object.cpp:388)

void HTMLObjectElement::setType( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_TYPE, value);
}


kdelibs'HTMLObjectElement::useMap() (./kdelibs/khtml/dom/html_object.cpp:393)

DOMString HTMLObjectElement::useMap() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_USEMAP);
}


kdelibs'HTMLObjectElement::setUseMap() (./kdelibs/khtml/dom/html_object.cpp:399)

void HTMLObjectElement::setUseMap( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_USEMAP, value);
}


kdelibs'HTMLObjectElement::vspace() (./kdelibs/khtml/dom/html_object.cpp:404)

DOMString HTMLObjectElement::vspace() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_VSPACE);
}


kdelibs'HTMLObjectElement::setVspace() (./kdelibs/khtml/dom/html_object.cpp:410)

void HTMLObjectElement::setVspace( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_VSPACE, value);
}


kdelibs'HTMLObjectElement::width() (./kdelibs/khtml/dom/html_object.cpp:415)

DOMString HTMLObjectElement::width() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_WIDTH);
}


kdelibs'HTMLObjectElement::setWidth() (./kdelibs/khtml/dom/html_object.cpp:421)

void HTMLObjectElement::setWidth( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_WIDTH, value);
}

// --------------------------------------------------------------------------