Serialized Form


Package beowulf.model

Class beowulf.model.IntegerMatrix extends Matrix implements Serializable

Serialized Fields

defaultIntegerValue

int defaultIntegerValue

Class beowulf.model.Matrix extends Object implements Serializable

Serialized Fields

data

Object[][] data
The actual data that the matrix is holding.


numRows

int numRows
The number of rows in the matrix.


numCols

int numCols
The number of columns in the matrix.

Class beowulf.model.VectorMatrix extends Matrix implements Serializable


Package beowulf.gui

Class beowulf.gui.DraggableComponent extends JLabel implements Serializable

Serialized Fields

c

JComponent c
The component being wrapped.


container

DraggableContainer container
The container to which this Drag. Comp. belongs.


dragging

boolean dragging
Flag for whether or not this Drag. Comp. is being dragged.


hovering

boolean hovering
Flag for whether or not this Drag. Comp. is under a mouse pointer.


oldX

int oldX
The old x value - used for dragging.


oldY

int oldY
The old y value - used for dragging.

Class beowulf.gui.DraggableContainer extends JComponent implements Serializable

Serialized Fields

currentComponent

DraggableComponent currentComponent
The currently selected component.


listenerList

EventListenerList listenerList
This list contains references to all interested listeners.

Class beowulf.gui.JGraph extends DraggableContainer implements Serializable

Serialized Fields

model

GraphModel model
Holds the graph model that this JGraph represents.


nodeLookup

Map nodeLookup
This Map will hold node->DraggableComponent translations. Note that DCs wrap JNodes, which in turn wrap nodes (Objects) from the underlying Graph.


factory

JNodeFactory factory
This is the factory which will produce JNodes, or GUI representations of nodes in the graph. Subclasses can be used to create more interesting or useful JNodes than the plain vanilla default.


listenerList

EventListenerList listenerList
This list contains references to all interested listeners.


drawEdge_xVals

int[] drawEdge_xVals
A dummy variable used to hold the transformed x values of the arrow head.


drawEdge_yVals

int[] drawEdge_yVals
A dummy variable used to hold the transformed y values of the arrow head.


drawEdge_at

AffineTransform drawEdge_at
A transformation used to describe the orientation of each arrow head.


getPolyPoints_dummy

float[] getPolyPoints_dummy
Another dummy variable used to hold temporary points when transforming the arrowhead.

Class beowulf.gui.JNode extends JLabel implements Serializable

Serialized Fields

value

Object value
The node in the underlying graph that this JNode represents


menu

JPopupMenu menu
The popup menu for options associated with this JNode.


propertiesWindow

JNode.PropertiesWindow propertiesWindow
The properties window associated with this JNode.


radius

int radius
The radius of self loops, -1 indicates default radius.

Class beowulf.gui.JNode.PropertiesWindow extends JFrame implements Serializable

Serialized Fields

accessors

Method[] accessors
Holds a list of accessors for fields that should be visible in the properties window.


modifiers

Method[] modifiers
Holds a list of modifiers for fields that should be visible in the properties window.


fieldNames

String[] fieldNames
Holds a list of names of fields that will appear in the properties window.


fieldTypes

String[] fieldTypes
Holds a list of string indicating the type of each field.


fieldEntrys

JComponent[] fieldEntrys
Holds a list of JComponents used for displaying current values of fields to be modified, and for receiving input to modify those same fields.


neverShownBefore

boolean neverShownBefore
Holds a flag indicating whether or not this window has been shown before.


Package beowulf.model.graph

Class beowulf.model.graph.Edge extends Object implements Serializable

Serialized Fields

sourceValue

Object sourceValue
This is the source node of the edge.


destinationValue

Object destinationValue
This is the destination node of the edge.


cost

Object cost
This is the cost of the edge.

Class beowulf.model.graph.Graph extends AbstractGraphModel implements Serializable

Serialized Fields

transitionMatrix

VectorMatrix transitionMatrix
A matrix in that holds transitions between nodes.


nodeList

Vector nodeList
The vector containing all of the nodes.


edgeList

Vector edgeList
A vector of all of the edges.


valueToIndex

Map valueToIndex
Translates a nodes contents into an identifying number.


usedIndices

Vector usedIndices
Holds a list of used indices for identifying a particular node.


useDotEquals

boolean useDotEquals
Holds a flag that tells this object whether to use .equals for object comparison, or ==.

Class beowulf.model.graph.UndirectedGraph extends AbstractGraphModel implements Serializable

Serialized Fields

transitionMatrix

VectorMatrix transitionMatrix
A matrix in that holds transitions between nodes.


nodeList

Vector nodeList
The vector containing all of the nodes.


edgeList

Vector edgeList
A vector of all of the edges.


valueToIndex

Map valueToIndex
Translates a nodes contents into an identifying number.


usedIndices

Vector usedIndices
Holds a list of used indices for identifying a particular node.


useDotEquals

boolean useDotEquals
Holds a flag that tells this object whether to use .equals for object comparison, or ==.


Package beowulf.event

Class beowulf.event.DraggableComponentSelectionEvent extends EventObject implements Serializable

Serialized Fields

eventType

int eventType
The instance field that holds one of the flag values (either component selected or deslected).


component

DraggableComponent component
The instance field that holds the component that was either selected or deselected.

Class beowulf.event.GraphEvent extends EventObject implements Serializable

Serialized Fields

eventType

int eventType
Holds the even type.


value

Object value
Holds the associated value.

Class beowulf.event.GraphSelectionEvent extends EventObject implements Serializable

Serialized Fields

eventType

int eventType
Holds the event type - either NODE_SELECTED or NODE_DESELECTED.


value

Object value
Holds the node that was selected in the JGraph.