HTMLAppletElement.h [plain text]
#ifndef HTMLAppletElement_H
#define HTMLAppletElement_H
#include "HTMLPlugInElement.h"
#if PLATFORM(MAC)
#include <JavaScriptCore/runtime.h>
#else
namespace KJS { namespace Bindings { class Instance; } }
#endif
namespace WebCore {
class HTMLFormElement;
class HTMLImageLoader;
class HTMLAppletElement : public HTMLPlugInElement
{
public:
HTMLAppletElement(Document*);
~HTMLAppletElement();
virtual int tagPriority() const { return 1; }
virtual void parseMappedAttribute(MappedAttribute*);
virtual bool rendererIsNeeded(RenderStyle*);
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual void closeRenderer();
virtual void detach();
#if PLATFORM(MAC)
virtual KJS::Bindings::Instance* getInstance() const;
#endif
String alt() const;
void setAlt(const String&);
String archive() const;
void setArchive(const String&);
String code() const;
void setCode(const String&);
String codeBase() const;
void setCodeBase(const String&);
String hspace() const;
void setHspace(const String&);
String object() const;
void setObject(const String&);
String vspace() const;
void setVspace(const String&);
virtual bool allParamsAvailable();
void setupApplet() const;
virtual void insertedIntoDocument();
virtual void removedFromDocument();
private:
String oldIdAttr;
bool m_allParamsAvailable;
};
}
#endif