diagramnode.java

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

JAVA
128
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class DiagramNode extends Dispatch {	public static final String componentName = "Office.DiagramNode";	public DiagramNode() {		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 DiagramNode(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public DiagramNode(String compName) {		super(compName);	}	public Object getApplication() {		return Dispatch.get(this, "Application");	}	public int getCreator() {		return Dispatch.get(this, "Creator").toInt();	}	public DiagramNode addNode(int pos, int lastParam) {		return new DiagramNode(Dispatch.call(this, "AddNode", new Variant(pos), new Variant(lastParam)).toDispatch());	}	public DiagramNode addNode(int pos) {		return new DiagramNode(Dispatch.call(this, "AddNode", new Variant(pos)).toDispatch());	}	public DiagramNode addNode() {		return new DiagramNode(Dispatch.call(this, "AddNode").toDispatch());	}	public void delete() {		Dispatch.call(this, "Delete");	}	public void moveNode(DiagramNode targetNode, int lastParam) {		Dispatch.call(this, "MoveNode", targetNode, new Variant(lastParam));	}	public void replaceNode(DiagramNode lastParam) {		Dispatch.call(this, "ReplaceNode", lastParam);	}	public void swapNode(DiagramNode targetNode, boolean lastParam) {		Dispatch.call(this, "SwapNode", targetNode, new Variant(lastParam));	}	public void swapNode(DiagramNode targetNode) {		Dispatch.call(this, "SwapNode", targetNode);	}	public DiagramNode cloneNode(boolean copyChildren, DiagramNode targetNode, int lastParam) {		return new DiagramNode(Dispatch.call(this, "CloneNode", new Variant(copyChildren), targetNode, new Variant(lastParam)).toDispatch());	}	public DiagramNode cloneNode(boolean copyChildren, DiagramNode targetNode) {		return new DiagramNode(Dispatch.call(this, "CloneNode", new Variant(copyChildren), targetNode).toDispatch());	}	public void transferChildren(DiagramNode lastParam) {		Dispatch.call(this, "TransferChildren", lastParam);	}	public DiagramNode nextNode() {		return new DiagramNode(Dispatch.call(this, "NextNode").toDispatch());	}	public DiagramNode prevNode() {		return new DiagramNode(Dispatch.call(this, "PrevNode").toDispatch());	}	public Object getParent() {		return Dispatch.get(this, "Parent");	}	public DiagramNodeChildren getChildren() {		return new DiagramNodeChildren(Dispatch.get(this, "Children").toDispatch());	}	public Shape getShape() {		return new Shape(Dispatch.get(this, "Shape").toDispatch());	}	public DiagramNode getRoot() {		return new DiagramNode(Dispatch.get(this, "Root").toDispatch());	}	public IMsoDiagram getDiagram() {		return new IMsoDiagram(Dispatch.get(this, "Diagram").toDispatch());	}	public int getLayout() {		return Dispatch.get(this, "Layout").toInt();	}	public void setLayout(int lastParam) {		Dispatch.put(this, "Layout", new Variant(lastParam));	}	public Shape getTextShape() {		return new Shape(Dispatch.get(this, "TextShape").toDispatch());	}}

⌨️ 快捷键说明

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