📄 diagramnode.java
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class DiagramNode extends Dispatch { public static final String componentName = "Word.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 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 org.nethawker.office11.DiagramNodeChildren getChildren() { return new org.nethawker.office11.DiagramNodeChildren(Dispatch.get(this, "Children").toDispatch()); } public org.nethawker.office11.Shape getShape() { return new org.nethawker.office11.Shape(Dispatch.get(this, "Shape").toDispatch()); } public org.nethawker.office11.DiagramNode getRoot() { return new org.nethawker.office11.DiagramNode(Dispatch.get(this, "Root").toDispatch()); } public Diagram getDiagram() { return new Diagram(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 org.nethawker.office11.Shape getTextShape() { return new org.nethawker.office11.Shape(Dispatch.get(this, "TextShape").toDispatch()); } public org.nethawker.office11.DiagramNode addNode(int pos, int lastParam) { return new org.nethawker.office11.DiagramNode(Dispatch.call(this, "AddNode", new Variant(pos), new Variant(lastParam)).toDispatch()); } public org.nethawker.office11.DiagramNode addNode(int pos) { return new org.nethawker.office11.DiagramNode(Dispatch.call(this, "AddNode", new Variant(pos)).toDispatch()); } public org.nethawker.office11.DiagramNode addNode() { return new org.nethawker.office11.DiagramNode(Dispatch.call(this, "AddNode").toDispatch()); } public void delete() { Dispatch.call(this, "Delete"); } /*public void moveNode(VT_PTR targetNode, int lastParam) { Dispatch.call(this, "MoveNode", targetNode, new Variant(lastParam)); } public void replaceNode(VT_PTR lastParam) { Dispatch.call(this, "ReplaceNode", lastParam); } public void swapNode(VT_PTR targetNode, int lastParam) { Dispatch.call(this, "SwapNode", targetNode, new Variant(lastParam)); } public void swapNode(VT_PTR targetNode) { Dispatch.call(this, "SwapNode", targetNode); } public org.nethawker.office11.DiagramNode cloneNode(boolean copyChildren, VT_PTR targetNode, int lastParam) { return new org.nethawker.office11.DiagramNode(Dispatch.call(this, "CloneNode", new Variant(copyChildren), targetNode, new Variant(lastParam)).toDispatch()); } public org.nethawker.office11.DiagramNode cloneNode(boolean copyChildren, VT_PTR targetNode) { return new org.nethawker.office11.DiagramNode(Dispatch.call(this, "CloneNode", new Variant(copyChildren), targetNode).toDispatch()); } public org.nethawker.office11.DiagramNode cloneNode(boolean copyChildren) { return new org.nethawker.office11.DiagramNode(Dispatch.call(this, "CloneNode", new Variant(copyChildren)).toDispatch()); } public void transferChildren(VT_PTR lastParam) { Dispatch.call(this, "TransferChildren", lastParam); }*/ public org.nethawker.office11.DiagramNode nextNode() { return new org.nethawker.office11.DiagramNode(Dispatch.call(this, "NextNode").toDispatch()); } public org.nethawker.office11.DiagramNode prevNode() { return new org.nethawker.office11.DiagramNode(Dispatch.call(this, "PrevNode").toDispatch()); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -