visualgraphcomponenteditorfactory.java

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

JAVA
24
字号
package salvo.jesus.graph.visual;import salvo.jesus.graph.javax.swing.JTabPanel;/** * An interface defining a factory that returns an array of <tt>JTabPanel</tt>. * The returned <tt>JTabPanel</tt>s are added to the <tt>GraphTabbedPane</tt> * as tab pages when right-clicking on a <tt>VisualGraphComponent</tt>. * It is up to the implementor to write custom <tt>JTabPanel</tt>s that will * allow the end-user to modify the properties of the right-clicked * <tt>VisualGraphComponent</tt>. * * @author  Jesus M. Salvo Jr. */public interface VisualGraphComponentEditorFactory {    /**     * Implementation of this method should returns an array of     * <tt>JTabPanel</tt>s that will be added to <tt>GraphTabbedPane</tt>.     */    public JTabPanel[] getTabEditors( VisualGraphComponent component );}

⌨️ 快捷键说明

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