本文整理汇总了Java中com.sun.hotspot.igv.data.InputBlockEdge类的典型用法代码示例。如果您正苦于以下问题:Java InputBlockEdge类的具体用法?Java InputBlockEdge怎么用?Java InputBlockEdge使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
InputBlockEdge类属于com.sun.hotspot.igv.data包,在下文中一共展示了InputBlockEdge类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: attachEdgeWidget
import com.sun.hotspot.igv.data.InputBlockEdge; //导入依赖的package包/类
protected Widget attachEdgeWidget(InputBlockEdge edge) {
BlockConnectionWidget w = new BlockConnectionWidget(this, edge);
switch (edge.getState()) {
case NEW:
w.setBold(true);
break;
case DELETED:
w.setDashed(true);
break;
}
w.setRouter(RouterFactory.createDirectRouter());
w.setTargetAnchorShape(AnchorShape.TRIANGLE_FILLED);
edgeLayer.addChild(w);
return w;
}
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:16,代码来源:ControlFlowScene.java
示例2: attachEdgeSourceAnchor
import com.sun.hotspot.igv.data.InputBlockEdge; //导入依赖的package包/类
protected void attachEdgeSourceAnchor(InputBlockEdge edge, InputBlock oldSourceNode, InputBlock sourceNode) {
Widget w = this.findWidget(edge);
assert w instanceof ConnectionWidget;
ConnectionWidget cw = (ConnectionWidget) w;
cw.setSourceAnchor(AnchorFactory.createRectangularAnchor(findWidget(sourceNode)));
}
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:8,代码来源:ControlFlowScene.java
示例3: BlockConnectionWidget
import com.sun.hotspot.igv.data.InputBlockEdge; //导入依赖的package包/类
public BlockConnectionWidget(ControlFlowScene scene, InputBlockEdge edge) {
super(scene);
this.edge = edge;
this.from = (BlockWidget) scene.findWidget(edge.getFrom());
this.to = (BlockWidget) scene.findWidget(edge.getTo());
inputSlot = to.getInputSlot();
outputSlot = from.getOutputSlot();
points = new ArrayList<Point>();
}
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:11,代码来源:BlockConnectionWidget.java
示例4: attachEdgeWidget
import com.sun.hotspot.igv.data.InputBlockEdge; //导入依赖的package包/类
protected Widget attachEdgeWidget(InputBlockEdge edge) {
ConnectionWidget w = new BlockConnectionWidget(this, edge);
w.setRouter(RouterFactory.createDirectRouter());
w.setTargetAnchorShape(AnchorShape.TRIANGLE_FILLED);
edgeLayer.addChild(w);
return w;
}
开发者ID:ojdkbuild,项目名称:lookaside_java-1.8.0-openjdk,代码行数:8,代码来源:ControlFlowScene.java
示例5: attachEdgeTargetAnchor
import com.sun.hotspot.igv.data.InputBlockEdge; //导入依赖的package包/类
protected void attachEdgeTargetAnchor(InputBlockEdge edge, InputBlock oldTargetNode, InputBlock targetNode) {
Widget w = this.findWidget(edge);
assert w instanceof ConnectionWidget;
ConnectionWidget cw = (ConnectionWidget) w;
cw.setTargetAnchor(AnchorFactory.createRectangularAnchor(findWidget(targetNode)));
}
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:7,代码来源:ControlFlowScene.java
示例6: getEdge
import com.sun.hotspot.igv.data.InputBlockEdge; //导入依赖的package包/类
public InputBlockEdge getEdge() {
return edge;
}
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:4,代码来源:BlockConnectionWidget.java
注:本文中的com.sun.hotspot.igv.data.InputBlockEdge类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论