visualweightededgepainterweakimpl.java

来自「OpenJGraph是一个开源的Java库」· Java 代码 · 共 32 行

JAVA
32
字号
package salvo.jesus.graph.visual.drawing;import salvo.jesus.graph.*;import salvo.jesus.graph.visual.*;import salvo.jesus.geom.*;import java.awt.*;import java.awt.geom.*;/** * A weak implementation of the VisualWeightedEdgePainter interface. * * @author Jesus M. Salvo Jr. */class VisualWeightedEdgePainterWeakImpl implements VisualWeightedEdgePainter {    public VisualWeightedEdgePainterWeakImpl() {}    /**     * Empty method implemetation that does nothing. This method should never     * be called or delegated to for whatever reason.     */    public void paint( VisualGraphComponent component, Graphics2D g2d ) {}    /**     * Empty method implemetation that does nothing. This method should never     * be called or delegated to for whatever reason.     */    public void paintText( Graphics2D g2d, Font font, Color fontColor,        String text, float x, float y ) {}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?