Searched refs:DOMForm (Results 1 – 4 of 4) sorted by relevance
20 DOMForm::DOMForm(NodeId nodeId, const std::string& nodeName) : DOMNode(nodeId, nodeName) in DOMForm() function in OHOS::Ace::Framework::DOMForm26 void DOMForm::OnChildNodeAdded(const RefPtr<DOMNode>& child, int32_t slot) in OnChildNodeAdded()33 void DOMForm::PrepareSpecializedComponent() {} in PrepareSpecializedComponent()35 bool DOMForm::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr()43 bool DOMForm::AddSpecializedEvent(int32_t pageId, const std::string& event) in AddSpecializedEvent()56 void DOMForm::OnChildNodeRemoved(const RefPtr<DOMNode>& child) in OnChildNodeRemoved()63 void DOMForm::Submit() in Submit()87 void DOMForm::Reset() in Reset()
25 class DOMForm : public DOMNode {26 DECLARE_ACE_TYPE(DOMForm, DOMNode);29 DOMForm(NodeId nodeId, const std::string& nodeName);30 ~DOMForm() override = default;
58 RefPtr<DOMForm> GetDomFormNode(RefPtr<DOMNode> node) in GetDomFormNode()60 RefPtr<DOMForm> formNode; in GetDomFormNode()62 if (AceType::InstanceOf<DOMForm>(node)) { in GetDomFormNode()63 formNode = AceType::DynamicCast<DOMForm>(node); in GetDomFormNode()462 auto form = AceType::DynamicCast<DOMForm>(formNode.Upgrade()); in CheckSubmitAndResetType()472 auto form = AceType::DynamicCast<DOMForm>(formNode.Upgrade()); in CheckSubmitAndResetType()
158 { DOM_NODE_TAG_FORM, &DOMNodeCreator<DOMForm> }, in CreateNodeWithId()