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

📄 edgeitem.java

📁 用applet实现很多应用小程序
💻 JAVA
字号:
package prefuse.visual;

import prefuse.data.Edge;

/**
 * VisualItem that represents an edge in a graph. This interface combines
 * the {@link VisualItem} interface with the {@link prefuse.data.Edge}
 * interface.
 * 
 * @author <a href="http://jheer.org">jeffrey heer</a>
 */
public interface EdgeItem extends VisualItem, Edge {

    /**
     * Get the first, or source, NodeItem upon which this edge is incident.
     * @return the source NodeItem
     */
    public NodeItem getSourceItem();
    
    /**
     * Get the second, or target, NodeItem upon which this edge is incident.
     * @return the target NodeItem
     */
    public NodeItem getTargetItem();
    
    /**
     * Get the NodeItem connected to the given NodeItem by this edge.
     * @param n a NodeItem upon which this edge is incident. If this item
     * is not connected to this edge, a runtime exception will be thrown.
     * @return the other NodeItem connected to this edge
     */
    public NodeItem getAdjacentItem(NodeItem n);
    
} // end of interface EdgeItem

⌨️ 快捷键说明

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