📄 visualweightededgepainterimpl.java
字号:
package salvo.jesus.graph.visual.drawing;import salvo.jesus.graph.*;import salvo.jesus.graph.visual.*;import java.awt.*;/** * An implementation of <tt>VisualWeightedEdgePainter</tt> that draws * the <tt>VisualEdge</tt> based on its attributes, and the paints the * weight of the edge. * * @author Jesus M. Salvo Jr. */public class VisualWeightedEdgePainterImpl extends VisualEdgePainterImpl implements VisualWeightedEdgePainter { /** * Delegate responsible for painting the weight of the <tt>WeightedEdge</tt>. */ private VisualWeightedEdgePainterWeakImpl weightPainterDelegate = new VisualWeightedEdgePainterWeakImpl(); public VisualWeightedEdgePainterImpl() {} public void paint( VisualGraphComponent component, Graphics2D g2d ) { super.paint( component, g2d ); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -