Force-Directed Edge Bundling
 All Classes Functions
MainWindow Class Reference

This class initializes the application and also contains the container for all the GUI elements. More...

Public Member Functions

 MainWindow ()
 Creates the application.
 
JFrame getFrame ()
 Returns the JFrame that contains all the GUI elements. More...
 
MouseMode getMouseMode ()
 Returns the the current mode of the mouse cursor. More...
 
void setMouseMode (MouseMode mouseMode)
 Sets the mode of the mouse cursor. More...
 
void bundleEdges (int stiffness, boolean animate)
 Performs the edge bundling process. More...
 
void clearCanvas ()
 Clears the canvas.
 
void connectAll ()
 Connects all Nodes with each other.
 
void loadGraph (File file)
 Loads a graph from a gdf-file. More...
 
void saveGraph (File file)
 Saves the current graph in a gdf-File. More...
 
void unbundleEdges ()
 Unbundles the Edges of the graph.
 
void updateProgress (int progress)
 Updates the progress bar with the specified value. More...
 

Static Public Member Functions

static void main (String[] args)
 Launches the application.
 

Private Member Functions

void initialize ()
 Initializes the contents of the frame.
 

Detailed Description

This class initializes the application and also contains the container for all the GUI elements.

Author
Kurt Leimer

Definition at line 20 of file MainWindow.java.

Member Function Documentation

void MainWindow.bundleEdges ( int  stiffness,
boolean  animate 
)

Performs the edge bundling process.

Parameters
stiffnessThe stiffness of the Edges.
animateDetermines whether the bundling is animated.

Definition at line 79 of file MainWindow.java.

JFrame MainWindow.getFrame ( )

Returns the JFrame that contains all the GUI elements.

Returns
the JFrame that contains all the GUI elements.

Definition at line 54 of file MainWindow.java.

MouseMode MainWindow.getMouseMode ( )

Returns the the current mode of the mouse cursor.

Returns
the the current mode of the mouse cursor.

Definition at line 62 of file MainWindow.java.

void MainWindow.loadGraph ( File  file)

Loads a graph from a gdf-file.

Parameters
fileThe file in which the graph is stored.

Definition at line 101 of file MainWindow.java.

void MainWindow.saveGraph ( File  file)

Saves the current graph in a gdf-File.

Parameters
fileThe file in which the graph is saved.

Definition at line 127 of file MainWindow.java.

void MainWindow.setMouseMode ( MouseMode  mouseMode)

Sets the mode of the mouse cursor.

Parameters
mouseModeThe mode to which the mouse cursor is set.

Definition at line 70 of file MainWindow.java.

void MainWindow.updateProgress ( int  progress)

Updates the progress bar with the specified value.

Parameters
progressThe current progress value.

Definition at line 155 of file MainWindow.java.


The documentation for this class was generated from the following file: