Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

iiuf.swing.graph
Class AbstractNodeComponentFactory  view AbstractNodeComponentFactory download AbstractNodeComponentFactory.java

java.lang.Object
  extended byiiuf.swing.graph.AbstractNodeComponentFactory
All Implemented Interfaces:
iiuf.util.AttributeFactory

public abstract class AbstractNodeComponentFactory
extends java.lang.Object
implements iiuf.util.AttributeFactory

Component factory for COMPONENT attribute of graph nodes in a GraphPanel. (c) 2000, 2001, IIUF, DIUF

Version:
$Name: $ $Revision: 1.1 $

Field Summary
(package private)  GraphPanel gp
           
 
Constructor Summary
AbstractNodeComponentFactory(GraphPanel graphPanel)
           
 
Method Summary
 java.lang.Object newAttribute(iiuf.util.Attributable attributable, java.lang.Object[] args)
           
protected abstract  java.awt.Component newNodeComponent(iiuf.util.graph.GraphNode node, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gp

GraphPanel gp
Constructor Detail

AbstractNodeComponentFactory

public AbstractNodeComponentFactory(GraphPanel graphPanel)
Method Detail

newAttribute

public java.lang.Object newAttribute(iiuf.util.Attributable attributable,
                                     java.lang.Object[] args)
Specified by:
newAttribute in interface iiuf.util.AttributeFactory

newNodeComponent

protected abstract java.awt.Component newNodeComponent(iiuf.util.graph.GraphNode node,
                                                       java.lang.Object[] args)