harpoon.Analysis.Partition
Class PartitionGraphViewer

java.lang.Object
  extended by java.util.Observable
      extended by harpoon.Analysis.Partition.PartitionGraphViewer
All Implemented Interfaces:
ActionListener, EventListener

public class PartitionGraphViewer
extends Observable
implements ActionListener

Version:
$Id: PartitionGraphViewer.java,v 1.5 2002/02/25 20:58:28 cananian Exp $
Author:
Mark A. Foltz <mfoltz@ai.mit.edu>

Field Summary
static Color _bgcolor
           
static Color _edgecolor
           
static Color[] _nodecolors
           
static Color _textcolor
           
static Font _textfont
           
static int MULTI_CIRCLE
           
static int ONE_CIRCLE
           
 
Constructor Summary
PartitionGraphViewer(WeightedGraph[] partition, int w, int h, Observer callback, int vizstyle)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_nodecolors

public static Color[] _nodecolors

_edgecolor

public static Color _edgecolor

_textcolor

public static Color _textcolor

_bgcolor

public static Color _bgcolor

_textfont

public static Font _textfont

MULTI_CIRCLE

public static final int MULTI_CIRCLE
See Also:
Constant Field Values

ONE_CIRCLE

public static final int ONE_CIRCLE
See Also:
Constant Field Values
Constructor Detail

PartitionGraphViewer

public PartitionGraphViewer(WeightedGraph[] partition,
                            int w,
                            int h,
                            Observer callback,
                            int vizstyle)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener