Class ShortestPath


public class ShortestPath
extends JPanel

Field Summary

private JButton
butConstruct
private JButton
butEnd
private JButton
butHelp
private JButton
butLevel
private JButton
butSolution
private JButton
butStart
private JButton
butStop
private JButton
butTutorial
private JComboBox
comboStartNode
private GivenGraph
givenGraph
private Graph
graph
private int
height
private boolean
isLevelMode
private JScrollPane
jScrollGivenGraph
/* END Objects for displaying the user data's and interactions /************************************************************
private JScrollPane
jScrollUserGraph
private JLabel
lGraphOrTable
private JLabel
lStartNode
private JApplet
parent
private URL
url
private UserData
userData
private UserGraph
userGraph
private int
width

Constructor Summary

ShortestPath(int width, int height, JApplet parent)

Method Summary

private JToolBar
createToolbar()
Method createUserArea.
JApplet
getApplet()
JButton
getButSolution()
Returns the butSolution.
JComboBox
getCStartNode()
Returns the cStartNode.
JScrollPane
getJScrollGivenGraph()
JScrollPane
getJScrollUserGraph()
JApplet
getParentApplet()
URL
getUrl()
UserData
getUserData()
void
setButSolution(JButton butSolution)
Sets the butSolution.
void
setUrl(URL url)

Field Details

butConstruct

private JButton butConstruct

butEnd

private JButton butEnd

butHelp

private JButton butHelp

butLevel

private JButton butLevel

butSolution

private JButton butSolution

butStart

private JButton butStart

butStop

private JButton butStop

butTutorial

private JButton butTutorial

comboStartNode

private JComboBox comboStartNode

givenGraph

private GivenGraph givenGraph

graph

private Graph graph

height

private int height

isLevelMode

private boolean isLevelMode

jScrollGivenGraph

private JScrollPane jScrollGivenGraph
/* END Objects for displaying the user data's and interactions /************************************************************

jScrollUserGraph

private JScrollPane jScrollUserGraph

lGraphOrTable

private JLabel lGraphOrTable

lStartNode

private JLabel lStartNode

parent

private JApplet parent

url

private URL url

userData

private UserData userData

userGraph

private UserGraph userGraph

width

private int width

Constructor Details

ShortestPath

public ShortestPath(int width,
                    int height,
                    JApplet parent)

Method Details

createToolbar

private JToolBar createToolbar()
Method createUserArea.

getApplet

public JApplet getApplet()

getButSolution

public JButton getButSolution()
Returns the butSolution.
Returns:
JButton

getCStartNode

public JComboBox getCStartNode()
Returns the cStartNode.
Returns:
JComboBox

getJScrollGivenGraph

public JScrollPane getJScrollGivenGraph()
Returns:

getJScrollUserGraph

public JScrollPane getJScrollUserGraph()
Returns:

getParentApplet

public JApplet getParentApplet()
Returns:

getUrl

public URL getUrl()
Returns:

getUserData

public UserData getUserData()
Returns:

setButSolution

public void setButSolution(JButton butSolution)
Sets the butSolution.
Parameters:
butSolution - The butSolution to set

setUrl

public void setUrl(URL url)
Parameters:
url -