rule.js

来自「这是一个关于java的JSP页面中使用象Swing组件的一个库文件.」· JavaScript 代码 · 共 19 行

JS
19
字号
function uiFormGuide_Rule(widgetGroup, expectedValue) {  this._super();  this.__widgetGroup = widgetGroup;  this.__expectedValue = expectedValue;}uiFormGuide_Rule = uiUtil_Object.declareClass(uiFormGuide_Rule, uiUtil_Object);uiFormGuide_Rule.prototype._holds = function() {  if (this.__expectedValue == null) {    return (this.__widgetGroup.getValues().length == 0);  }  return this.__widgetGroup.hasValue(this.__expectedValue);};uiFormGuide_Rule.prototype.getWidgetGroup = function() {  return this.__widgetGroup;};uiFormGuide_Rule.prototype.getExpectedValue = function() {  return this.__expectedValue;};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?