visualweightededgepainter.java
来自「OpenJGraph是一个开源的Java库」· Java 代码 · 共 20 行
JAVA
20 行
package salvo.jesus.graph.visual.drawing;import salvo.jesus.graph.*;import java.awt.*;/** * An interface for drawing a <tt>VisualEdge</tt> that encapsulates a * <tt>WeightedEdge</tt>. Implementations of this interface are responsible * for drawing the "weight" label of the <tt>WeightedEdge</tt>. * <p> * However, this interface does not define any extra method to actually * paint the weight, since the weight itself is part of the * <tt>WeightedEdge.toString()</tt>. * * @author Jesus M. Salvo Jr. */public interface VisualWeightedEdgePainter extends VisualEdgePainter {}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?