// Copyright 2017 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef FXJS_XFA_CJX_FIELD_H_ #define FXJS_XFA_CJX_FIELD_H_ #include "fxjs/CJX_Define.h" #include "fxjs/xfa/cjx_container.h" class CXFA_Field; class CJX_Field : public CJX_Container { public: explicit CJX_Field(CXFA_Field* field); ~CJX_Field() override; JS_METHOD(addItem, CJX_Field); JS_METHOD(boundItem, CJX_Field); JS_METHOD(clearItems, CJX_Field); JS_METHOD(deleteItem, CJX_Field); JS_METHOD(execCalculate, CJX_Field); JS_METHOD(execEvent, CJX_Field); JS_METHOD(execInitialize, CJX_Field); JS_METHOD(execValidate, CJX_Field); JS_METHOD(getDisplayItem, CJX_Field); JS_METHOD(getItemState, CJX_Field); JS_METHOD(getSaveItem, CJX_Field); JS_METHOD(setItemState, CJX_Field); private: static const CJX_MethodSpec MethodSpecs[]; }; #endif // FXJS_XFA_CJX_FIELD_H_