public class SampleIndentLayout extends GraphTreeLayout
paint, root, stroke, tree
构造器和说明 |
---|
SampleIndentLayout(GraphTree graphTree)
构造
|
限定符和类型 | 方法和说明 |
---|---|
int |
getIndent() |
int |
getRowSpace() |
void |
Joint(java.awt.Graphics g)
绘制连接线的策略
|
void |
Layout()
布局方式:从左到右,缩进
|
void |
setIndent(int indent) |
void |
setRowSpace(int space) |
public SampleIndentLayout(GraphTree graphTree)
graphTree
- 图形树public int getIndent()
public void setIndent(int indent)
public int getRowSpace()
public void setRowSpace(int space)
public void Layout()
Layout
在类中 GraphTreeLayout
public void Joint(java.awt.Graphics g)
Joint
在类中 GraphTreeLayout
g
- 设备句柄