
Java Draw2d version2
文章平均质量分 69
iteye_7333
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
BenchmarkTextPackage (figureCanvas) sample 【输入改变figure】
public class BenchmarkTextPackage { static class StyledLine extends Figure { Dimension pref; private String text; public Dimension getPreferredSize(int wHint, int ...原创 2013-06-20 17:00:29 · 194 阅读 · 0 评论 -
FixedConnectionAnchor
public class HelloWorld1 { public static void main(String args[]) { Shell shell = new Shell(); shell.setText("Draw2d Hello World"); shell.setSize(400, 400); shell.open(); // crea...原创 2013-06-24 15:28:31 · 155 阅读 · 0 评论 -
LeftAnchor and RightAnchor
public class RightLeftAnchor { public static void main(String args[]) { Shell shell = new Shell(); shell.setText("Draw2d Hello World"); shell.setSize(400, 400); shell.open(); // ...原创 2013-06-24 15:32:33 · 320 阅读 · 0 评论 -
[draw2d] ZoomIn and ZoomOut 放大缩小
代码:package com.iteye.xmind.draw2d.version2;import org.eclipse.draw2d.Button;import org.eclipse.draw2d.LightweightSystem;import org.eclipse.draw2d.ScalableFreeformLayeredPane;import org.ec...原创 2013-04-22 16:47:18 · 1132 阅读 · 0 评论 -
滚动条 显示 ScrollPaneExample
滚动条 显示 ScrollPaneExampleimport org.eclipse.draw2d.Figure;import org.eclipse.draw2d.GroupBoxBorder;import org.eclipse.draw2d.LightweightSystem;import org.eclipse.draw2d.LineBorder;import org...原创 2013-04-23 13:54:42 · 258 阅读 · 0 评论 -
图形拖动例子
图形拖动例子 import org.eclipse.draw2d.ColorConstants;import org.eclipse.draw2d.Figure;import org.eclipse.draw2d.IFigure;import org.eclipse.draw2d.LightweightSystem;import org.eclipse.draw2d.Mo...原创 2013-04-23 14:09:46 · 188 阅读 · 0 评论