HTMLOptGroupElement.h [plain text]
#ifndef HTML_HTMLOptGroupElementImpl_H
#define HTML_HTMLOptGroupElementImpl_H
#include "HTMLGenericFormElement.h"
namespace WebCore {
class HTMLOptGroupElement : public HTMLGenericFormElement {
public:
HTMLOptGroupElement(Document*, HTMLFormElement* = 0);
virtual bool checkDTD(const Node*);
virtual const AtomicString& type() const;
virtual bool isFocusable() const;
virtual bool insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode&);
virtual bool replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode&);
virtual bool removeChild(Node* child, ExceptionCode&);
virtual bool appendChild(PassRefPtr<Node> newChild, ExceptionCode&);
virtual ContainerNode* addChild(PassRefPtr<Node>);
virtual void parseMappedAttribute(MappedAttribute*);
virtual bool rendererIsNeeded(RenderStyle*) { return false; }
virtual void attach();
virtual void detach();
virtual RenderStyle* renderStyle() const { return m_style; }
virtual void setRenderStyle(RenderStyle* s);
void recalcSelectOptions();
String label() const;
void setLabel(const String&);
String groupLabelText();
private:
RenderStyle* m_style;
};
}
#endif