⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 visualweightededgepainterimpl.java

📁 OpenJGraph是一个开源的Java库
💻 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 + -