textinput.java

来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 96 行

JAVA
96
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class TextInput extends Dispatch {	public static final String componentName = "Word.TextInput";	public TextInput() {		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 TextInput(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public TextInput(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 Object getParent() {		return Dispatch.get(this, "Parent");	}	public boolean getValid() {		return Dispatch.get(this, "Valid").toBoolean();	}	public String getDefault() {		return Dispatch.get(this, "Default").toString();	}	public void setDefault(String lastParam) {		Dispatch.put(this, "Default", lastParam);	}	public int getType() {		return Dispatch.get(this, "Type").toInt();	}	public String getFormat() {		return Dispatch.get(this, "Format").toString();	}	public int getWidth() {		return Dispatch.get(this, "Width").toInt();	}	public void setWidth(int lastParam) {		Dispatch.put(this, "Width", new Variant(lastParam));	}	public void clear() {		Dispatch.call(this, "Clear");	}	public void editType(int type, Variant p_default, Variant format, Variant lastParam) {		Dispatch.call(this, "EditType", new Variant(type), p_default, format, lastParam);	}	public void editType(int type, Variant p_default, Variant format) {		Dispatch.call(this, "EditType", new Variant(type), p_default, format);	}	public void editType(int type, Variant p_default) {		Dispatch.call(this, "EditType", new Variant(type), p_default);	}	public void editType(int type) {		Dispatch.call(this, "EditType", new Variant(type));	}}

⌨️ 快捷键说明

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