📄 validation.java
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class Validation extends Dispatch { public static final String componentName = "Excel.Validation"; public Validation() { super(componentName); } /** * This constructor is used instead of a case operation to * turn a Dispatch object into a wider object - it must exist * in every wrapper class whose instances may be returned from * method calls wrapped in VT_DISPATCH Variants. */ public Validation(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public Validation(String compName) { super(compName); } public Application getApplication() { return new Application(Dispatch.get(this, "Application").toDispatch()); } public int getCreator() { return Dispatch.get(this, "Creator").toInt(); } public Dispatch getParent() { return Dispatch.get(this, "Parent").toDispatch(); } public void add(int type, Variant alertStyle, Variant operator, Variant formula1, Variant lastParam) { Dispatch.call(this, "Add", new Variant(type), alertStyle, operator, formula1, lastParam); } public void add(int type, Variant alertStyle, Variant operator, Variant formula1) { Dispatch.call(this, "Add", new Variant(type), alertStyle, operator, formula1); } public void add(int type, Variant alertStyle, Variant operator) { Dispatch.call(this, "Add", new Variant(type), alertStyle, operator); } public void add(int type, Variant alertStyle) { Dispatch.call(this, "Add", new Variant(type), alertStyle); } public void add(int type) { Dispatch.call(this, "Add", new Variant(type)); } public int getAlertStyle() { return Dispatch.get(this, "AlertStyle").toInt(); } public boolean getIgnoreBlank() { return Dispatch.get(this, "IgnoreBlank").toBoolean(); } public void setIgnoreBlank(boolean lastParam) { Dispatch.put(this, "IgnoreBlank", new Variant(lastParam)); } public int getIMEMode() { return Dispatch.get(this, "IMEMode").toInt(); } public void setIMEMode(int lastParam) { Dispatch.put(this, "IMEMode", new Variant(lastParam)); } public boolean getInCellDropdown() { return Dispatch.get(this, "InCellDropdown").toBoolean(); } public void setInCellDropdown(boolean lastParam) { Dispatch.put(this, "InCellDropdown", new Variant(lastParam)); } public void delete() { Dispatch.call(this, "Delete"); } public String getErrorMessage() { return Dispatch.get(this, "ErrorMessage").toString(); } public void setErrorMessage(String lastParam) { Dispatch.put(this, "ErrorMessage", lastParam); } public String getErrorTitle() { return Dispatch.get(this, "ErrorTitle").toString(); } public void setErrorTitle(String lastParam) { Dispatch.put(this, "ErrorTitle", lastParam); } public String getInputMessage() { return Dispatch.get(this, "InputMessage").toString(); } public void setInputMessage(String lastParam) { Dispatch.put(this, "InputMessage", lastParam); } public String getInputTitle() { return Dispatch.get(this, "InputTitle").toString(); } public void setInputTitle(String lastParam) { Dispatch.put(this, "InputTitle", lastParam); } public String getFormula1() { return Dispatch.get(this, "Formula1").toString(); } public String getFormula2() { return Dispatch.get(this, "Formula2").toString(); } public void modify(Variant type, Variant alertStyle, Variant operator, Variant formula1, Variant lastParam) { Dispatch.call(this, "Modify", type, alertStyle, operator, formula1, lastParam); } public void modify(Variant type, Variant alertStyle, Variant operator, Variant formula1) { Dispatch.call(this, "Modify", type, alertStyle, operator, formula1); } public void modify(Variant type, Variant alertStyle, Variant operator) { Dispatch.call(this, "Modify", type, alertStyle, operator); } public void modify(Variant type, Variant alertStyle) { Dispatch.call(this, "Modify", type, alertStyle); } public void modify(Variant type) { Dispatch.call(this, "Modify", type); } public void modify() { Dispatch.call(this, "Modify"); } public int getOperator() { return Dispatch.get(this, "Operator").toInt(); } public boolean getShowError() { return Dispatch.get(this, "ShowError").toBoolean(); } public void setShowError(boolean lastParam) { Dispatch.put(this, "ShowError", new Variant(lastParam)); } public boolean getShowInput() { return Dispatch.get(this, "ShowInput").toBoolean(); } public void setShowInput(boolean lastParam) { Dispatch.put(this, "ShowInput", new Variant(lastParam)); } public int getType() { return Dispatch.get(this, "Type").toInt(); } public boolean getValue() { return Dispatch.get(this, "Value").toBoolean(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -