C++程序  |  60行  |  1.38 KB

// 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_EXCLGROUP_H_
#define FXJS_XFA_CJX_EXCLGROUP_H_

#include "fxjs/CJX_Define.h"
#include "fxjs/xfa/cjx_node.h"

class CXFA_ExclGroup;

class CJX_ExclGroup : public CJX_Node {
 public:
  explicit CJX_ExclGroup(CXFA_ExclGroup* group);
  ~CJX_ExclGroup() override;

  JS_METHOD(execCalculate, CJX_ExclGroup);
  JS_METHOD(execEvent, CJX_ExclGroup);
  JS_METHOD(execInitialize, CJX_ExclGroup);
  JS_METHOD(execValidate, CJX_ExclGroup);
  JS_METHOD(selectedMember, CJX_ExclGroup);

  JS_PROP(defaultValue); /* {default} */
  JS_PROP(access);
  JS_PROP(accessKey);
  JS_PROP(anchorType);
  JS_PROP(borderColor);
  JS_PROP(borderWidth);
  JS_PROP(colSpan);
  JS_PROP(fillColor);
  JS_PROP(h);
  JS_PROP(hAlign);
  JS_PROP(layout);
  JS_PROP(mandatory);
  JS_PROP(mandatoryMessage);
  JS_PROP(maxH);
  JS_PROP(maxW);
  JS_PROP(minH);
  JS_PROP(minW);
  JS_PROP(presence);
  JS_PROP(rawValue);
  JS_PROP(relevant);
  JS_PROP(transient);
  JS_PROP(use);
  JS_PROP(usehref);
  JS_PROP(validationMessage);
  JS_PROP(vAlign);
  JS_PROP(w);
  JS_PROP(x);
  JS_PROP(y);

 private:
  static const CJX_MethodSpec MethodSpecs[];
};

#endif  // FXJS_XFA_CJX_EXCLGROUP_H_