HTMLOptGroupElement.h [plain text]
#ifndef HTMLOptGroupElement_h
#define HTMLOptGroupElement_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 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*);
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 bool removeChildren();
virtual void childrenChanged(bool changedByParser = false);
String label() const;
void setLabel(const String&);
String groupLabelText() const;
private:
void recalcSelectOptions();
RenderStyle* m_style;
};
}
#endif