A B C D E F G H I J K L M N O P R S T U V

A

ADDED_OR_REMOVED_MAGNET - Static variable in class ch.epfl.craft.maglib.event.UpdateEvent
A magnet has been added or removed
ADDED_OR_REMOVED_VISIBLE_NODES - Static variable in class ch.epfl.craft.maglib.event.UpdateEvent
The number of visible nodes has changed
actionPerformed(ActionEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Invoked when an action occurs on this instance.
actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame_AboutBox
Close the dialog on a button event
add(Vector2D) - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
add(Vector2D, Vector2D) - Static method in class ch.epfl.craft.maglib.magnet.Vector2D
 
addButton_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapDebugFrame
 
addListener(MagnetLayoutListener) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Adds a listener that will be notified when the layout has changed.
addListener(MagnetModelListener) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Adds a listener that will be notified when the model has changed.
addListener(MagnetLayoutListener) - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayout
Adds a listener that will be notified when the layout has changed.
addListener(MagnetModelListener) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Adds a listener that will be notified when the model has changed.
addMagnetNode(MagnetNode) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Adds a MagnetNode instance to this model Nothing happens if aMagnetNode is null or already exists in the model.
addMagnetNode(MagnetNode) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Adds a MagnetNode instance to this model Nothing happens if aMagnetNode is null or already exists in the model.
addMagnetNode(MagnetNode) - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetModel
Adds a MagnetNode instance to this model Nothing happens if aMagnetNode is null or already exists in the model.
addMagnetNodes(MagnetNode[]) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Adds MagnetNode instances to this model If a node is null or already exists in the model, it is not added to the model.
addMagnetNodes(MagnetNode[]) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Adds MagnetNode instances to this model If a node is null or already exists in the model, it is not added to the model.
addMagnetNodes(MagnetNode[]) - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetModel
Adds MagnetNode instances to this model If a node is null or already exists in the model, it is not added to the model.
addPoint(SpringPoint) - Method in class ch.epfl.craft.maglib.magnet.SpringLayout
 
addPoint(double, double, boolean) - Method in class ch.epfl.craft.maglib.magnet.SpringLayout
 
addPoint(Point, boolean) - Method in class ch.epfl.craft.maglib.magnet.SpringLayout
 
addSpring(Spring) - Method in class ch.epfl.craft.maglib.magnet.SpringLayout
 
addSpring(SpringPoint, SpringPoint, double, double) - Method in class ch.epfl.craft.maglib.magnet.SpringLayout
 
addSpring(int, int, double, double) - Method in class ch.epfl.craft.maglib.magnet.SpringLayout
 
allNodes - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
 

B

BLOG - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The blog kind of node
blogToColumnMap - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Mapping from blog (idInFile) to column number in the similarity matrix
boundsOfView - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
the bounds of the main view in which the layout has to be done

C

CentralMagnetLayout - class ch.epfl.craft.maglib.magnet.CentralMagnetLayout.
This class will layout the nodes on the MagnetView it controls.
CentralMagnetLayout() - Constructor for class ch.epfl.craft.maglib.magnet.CentralMagnetLayout
 
canImport(JComponent, DataFlavor[]) - Method in class ch.epfl.craft.magmap.MagnetTransferHandler
Returns true if this c can import the kind of flavors, else returns false
ch.epfl.craft.maglib - package ch.epfl.craft.maglib
 
ch.epfl.craft.maglib.event - package ch.epfl.craft.maglib.event
 
ch.epfl.craft.maglib.magnet - package ch.epfl.craft.maglib.magnet
 
ch.epfl.craft.magmap - package ch.epfl.craft.magmap
 
ch.epfl.craft.magmap.magnet - package ch.epfl.craft.magmap.magnet
 
clearMagneticNodes() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Resets all magnetic nodes.
clearMagneticNodes() - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Resets all magnetic nodes.
clearVisibleNodes() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Resets all visible nodes: none (except magnetic nodes) will be drawn on screen.
clearVisibleNodes() - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Resets all visible nodes: none (except magnetic nodes) will be drawn on screen.
columns - Variable in class ch.epfl.craft.magmap.JMultiLineToolTip
 
continueupdating - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
 
createMagnetModel(Object) - Static method in class ch.epfl.craft.maglib.MagnetView
Returns a MagnetModel wrapping the specified object.
createTransferable(JComponent) - Method in class ch.epfl.craft.magmap.MagnetTransferHandler
Create the instance that will be transeferred to the source from c component.
currentNode - Variable in class ch.epfl.craft.maglib.MagnetView
The node being dragged/clicked/popuped
currentSelectedNode - Variable in class ch.epfl.craft.maglib.MagnetView
The current selected node
currentThread - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
the current thread
currentforce - Variable in class ch.epfl.craft.maglib.magnet.SpringPoint
 

D

DEMAGNETIZE - Variable in class ch.epfl.craft.maglib.MagnetView
The alternate string label attached to makeMagnetItem
DEMAGNETIZE_ALL - Variable in class ch.epfl.craft.maglib.MagnetView
The string label attached to demagnetAllItem
DefaultMagnetCellRenderer - class ch.epfl.craft.maglib.magnet.DefaultMagnetCellRenderer.
Displays a node in a MagnetView.
DefaultMagnetCellRenderer() - Constructor for class ch.epfl.craft.maglib.magnet.DefaultMagnetCellRenderer
 
DefaultMagnetLayout - class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout.
This class will layout the nodes on the MagnetView it controls.
DefaultMagnetLayout() - Constructor for class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
 
DefaultMagnetModel - class ch.epfl.craft.maglib.magnet.DefaultMagnetModel.
Manages the nodes.
DefaultMagnetModel() - Constructor for class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Contructs a new DefaultMagnetModel
DefaultMagnetModel(MagnetNode[]) - Constructor for class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Contructs a new DefaultMagnetModel with the given nodes as initial data
DefaultMagnetNode - class ch.epfl.craft.maglib.magnet.DefaultMagnetNode.
DefaultMagnetNode() - Constructor for class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Creates a new MagnetNode instance.
DefaultMagnetNode(Object) - Constructor for class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Creates a new MagnetNode instance with the given data.
demagnetAllItem - Variable in class ch.epfl.craft.maglib.MagnetView
The menu item that demagnetize all magnets
destroy() - Method in class ch.epfl.craft.magmap.MagMap
Should clean code used by the applet version of MagMap.
detailsPane - Variable in class ch.epfl.craft.magmap.MagMapMainFrame
 
distance(Vector2D) - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
doIteration() - Method in class ch.epfl.craft.maglib.magnet.SpringLayout
Do an iteration of springlayouting
dragEnter(DropTargetDragEvent) - Method in class ch.epfl.craft.magmap.MagMapMagnetView
Called when a drag enters the view
dragExit(DropTargetEvent) - Method in class ch.epfl.craft.magmap.MagMapMagnetView
Called when a drag exits the view
dragOver(DropTargetDragEvent) - Method in class ch.epfl.craft.magmap.MagMapMagnetView
Called when a drag is over the view
drawingOffset - Variable in class ch.epfl.craft.maglib.MagnetView
The offset for drawing.
drop(DropTargetDropEvent) - Method in class ch.epfl.craft.magmap.MagMapMagnetView
Called when a drop occurs in the view
dropActionChanged(DropTargetDragEvent) - Method in class ch.epfl.craft.magmap.MagMapMagnetView
Called when the drop action has changed

E

exportDone(JComponent, Transferable, int) - Method in class ch.epfl.craft.magmap.MagnetTransferHandler
Called on the source when the dragged has finished.
exportToConstraintDot() - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Exports the view as dot file.
exportToJpeg() - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Exports the view as jpeg image

F

FORCE_FIELD_CHANGED - Static variable in class ch.epfl.craft.maglib.event.UpdateEvent
The force field of a magnet has changed
firePropertyChange(String, Object, Object) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetCellRenderer
Overridden for performance reasons.
fixedwidth - Variable in class ch.epfl.craft.magmap.JMultiLineToolTip
 
force - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
The force of the field generated by this node.
forceSlider - Variable in class ch.epfl.craft.maglib.MagnetView
The horizontal slider that will vary the field force of magnets.

G

getAuthor() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the author of the node data
getBlogs(String) - Static method in class ch.epfl.craft.magmap.MagMap
Loads the blog corpus at path.
getColumnCount() - Method in class ch.epfl.craft.magmap.MagMapDebugFrame.MagnetsTableFormat
 
getColumnName(int) - Method in class ch.epfl.craft.magmap.MagMapDebugFrame.MagnetsTableFormat
 
getColumnValue(Object, int) - Method in class ch.epfl.craft.magmap.MagMapDebugFrame.MagnetsTableFormat
 
getColumns() - Method in class ch.epfl.craft.magmap.JMultiLineToolTip
 
getCurrentforce() - Method in class ch.epfl.craft.maglib.magnet.SpringPoint
 
getDescription() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the description (body of the content) of the node data
getDisplayForceField() - Method in class ch.epfl.craft.maglib.MagnetView
Returns true if the force field around magnet is displayed in the view, else false.
getEventList() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetModel
Returns the list that contains all node.
getFilterStrings(List) - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the text attribute on of that node on which a search can be done.
getFixedWidth() - Method in class ch.epfl.craft.magmap.JMultiLineToolTip
 
getForceField() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Returns the force of the field generated by this magnet.
getForceField() - Method in interface ch.epfl.craft.maglib.magnet.MagnetNode
Returns the force of the field generated by this magnet.
getHead() - Method in class ch.epfl.craft.maglib.magnet.Spring
 
getHelp() - Static method in class ch.epfl.craft.magmap.MagMap
Loads the html help file.
getID() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the unique identifier for this node.
getIDinFile() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the identifier of the node in the XML.
getImageIcon(String) - Static method in class ch.epfl.craft.magmap.MagMap
Loads an image from the resources folder and creates a new ImageIcon.
getIsMagneticNode(MagnetNode) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns true if the node is magnetic, else false
getIsMagneticNode(MagnetNode) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Returns true if the node is magnetic, else false
getIsSelectedNode(MagnetNode) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns true if the node is selected, else false
getIsSelectedNode(MagnetNode) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Returns true if the node is selected, else false
getIsVisibleNode(MagnetNode) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns true if aMagnetNode is visible, else false.
getIsVisibleNode(MagnetNode) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Returns true if aMagnetNode is visible, else false.
getKind() - Method in class ch.epfl.craft.maglib.event.UpdateEvent
Returns the kind of this event.
getKind() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the kind of userObject that this MagMapMagnetNode instance encapsulates.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class ch.epfl.craft.magmap.ListOfMagnetCellRenderer
 
getLocalizedText(String) - Static method in class ch.epfl.craft.magmap.MagMap
Loads the localized version of a string from the localization bundle (resources/MagMap.properties).
getMagnetCellRenderer() - Method in class ch.epfl.craft.maglib.MagnetView
Returns the MagnetCellRenderer that is used by the this MagnetView instance.
getMagnetCellRendererComponent(MagnetView, Object, boolean, boolean, boolean, boolean) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetCellRenderer
Sets the value of the current magnet cell to value.
getMagnetCellRendererComponent(MagnetView, Object, boolean, boolean, boolean, boolean) - Method in interface ch.epfl.craft.maglib.magnet.MagnetCellRenderer
Sets the value of the current magnet cell to value.
getMagnetLayout() - Method in class ch.epfl.craft.maglib.MagnetView
Returns the MagnetLayout that is used by the this MagnetView.
getMagnetModel() - Method in class ch.epfl.craft.maglib.MagnetView
Returns the MagnetModel that is used by the this MagnetView instance.
getMagnetNodes() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns all the nodes in the model
getMagnetNodes() - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Returns all the nodes in the model
getMagneticNodes() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns all magnetic nodes.
getMagneticNodes() - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Returns all magnetic nodes.
getMousePosition() - Method in class ch.epfl.craft.maglib.MagnetView
Returns the last known position of the mouse on this component.
getNumberOfVisibleNodes() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Returns the number of nodes simulatenously drawn by the view that this layouter controls.
getNumberOfVisibleNodes() - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayout
Returns the number of nodes simulatenously drawn by the view that this layouter controls.
getOrigin() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Returns the orgin of this MagnetNode instance.
getOrigin() - Method in interface ch.epfl.craft.maglib.magnet.MagnetNode
Returns the orgin of this MagnetNode instance.
getSelectedNodes() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns all selected nodes.
getSelectedNodes() - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Returns all selected nodes.
getSimilarNodes(MagnetNode) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns a list of MagnetNodes ordered by similarity with aMagnetNode.
getSimilarityMatrix(String) - Static method in class ch.epfl.craft.magmap.MagMap
Loads the similarity matrix at path .
getSimilarityWith(MagnetNode) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Returns the similarity with aMagnetNode.
getSimilarityWith(MagnetNode) - Method in interface ch.epfl.craft.maglib.magnet.MagnetNode
Returns the similarity with aMagnetNode
getSimilarityWith(MagnetNode) - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the similarity with aMagnetNode.
getSourceActions(JComponent) - Method in class ch.epfl.craft.magmap.MagnetTransferHandler
Returns the kind of action supported by this source.
getTail() - Method in class ch.epfl.craft.maglib.magnet.Spring
 
getTitle() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the title (subject of the content) of the node data
getTransferData(DataFlavor) - Method in class ch.epfl.craft.magmap.MagnetTransferHandler.IndexTransferable
 
getTransferDataFlavors() - Method in class ch.epfl.craft.magmap.MagnetTransferHandler.IndexTransferable
 
getURL() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns a URL of the original data of that node.
getUserObject() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Returns the user object of the receiver.
getVisibleMagnetNodes() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns all visible nodes in the model
getVisibleMagnetNodes() - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Returns all visible nodes in the model
getVisibleMagnetNodesInRect(Rectangle) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Returns the nodes whoose origin is in a aRectangle
getVisibleMagnetNodesInRect(Rectangle) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Returns the nodes whoose origin is in a aRectangle
getX() - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
getY() - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 

H

hackSingleSelectionDND() - Method in class ch.epfl.craft.magmap.MagMapMainFrame.MyList
 
head - Variable in class ch.epfl.craft.maglib.magnet.Spring
 
headForce() - Method in class ch.epfl.craft.maglib.magnet.Spring
 

I

id - Variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The unique identifier for this node
idinFile - Variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The identifier for this node in the XML file
importData(JComponent, Transferable) - Method in class ch.epfl.craft.magmap.MagnetTransferHandler
Import the data t in c.
init() - Method in class ch.epfl.craft.magmap.MagMap
Should initialize code used by the applet version of MagMap.
isDataFlavorSupported(DataFlavor) - Method in class ch.epfl.craft.magmap.MagnetTransferHandler.IndexTransferable
 
isFixed() - Method in class ch.epfl.craft.maglib.magnet.SpringPoint
 
isfixed - Variable in class ch.epfl.craft.maglib.magnet.SpringPoint
 

J

JMultiLineToolTip - class ch.epfl.craft.magmap.JMultiLineToolTip.
This class handle multiline tooltips.
JMultiLineToolTip() - Constructor for class ch.epfl.craft.magmap.JMultiLineToolTip
 
jButtonDebug_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Debug button | Print the list of nodes in the view
jButtonDemagnetizeAll_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Demagnetize All button/menu | Remove all magnetic nodes in the view
jMenuDebugWindow_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Debug | Open debug window action performed
jMenuFileExit_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
File | Exit action performed
jMenuFileLoadData_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
File | Load Data action performed
jMenuFileSaveConstraintDot_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
File | Save as Constraint dot (position of nodes are constraint)
jMenuFileSaveJpeg_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
File | Save as Jpeg
jMenuHelpAbout_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Help | About action performed
jMenuHelp_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Help button action performed

K

keyPressed(KeyEvent) - Method in class ch.epfl.craft.maglib.MagnetView
 
keyReleased(KeyEvent) - Method in class ch.epfl.craft.maglib.MagnetView
 
keyTyped(KeyEvent) - Method in class ch.epfl.craft.maglib.MagnetView
KeyListener IMPLEMENTATION
konstant - Variable in class ch.epfl.craft.maglib.magnet.Spring
 

L

ListOfMagnetCellRenderer - class ch.epfl.craft.magmap.ListOfMagnetCellRenderer.
This class is a simple custom renderer for the JList used in MagMap.
ListOfMagnetCellRenderer() - Constructor for class ch.epfl.craft.magmap.ListOfMagnetCellRenderer
 
lastID - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The class counter for the identifiers
layoutHasChanged() - Method in class ch.epfl.craft.maglib.MagnetView
Implementation of the MagnetLayoutListener interface.
layoutHasChanged() - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayoutListener
Called when the layout has changed
length - Variable in class ch.epfl.craft.maglib.magnet.Spring
 
listeners - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
the listeners of the layout changes
listeners - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
the listeners of the model
loadData(String, String) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Loads the data in the frame.
localArrayListFlavor - Variable in class ch.epfl.craft.magmap.MagnetTransferHandler
 
localArrayListType - Variable in class ch.epfl.craft.magmap.MagnetTransferHandler
 
localIndexFlavor - Static variable in class ch.epfl.craft.magmap.MagnetTransferHandler
 
localIndexType - Static variable in class ch.epfl.craft.magmap.MagnetTransferHandler
 

M

MAGNETIZE - Variable in class ch.epfl.craft.maglib.MagnetView
The string label attached to makeMagnetItem
MagMap - class ch.epfl.craft.magmap.MagMap.
This is the main class that starts the MagMap application It also has the responsability to load resources for other classes.
MagMap() - Constructor for class ch.epfl.craft.magmap.MagMap
 
MagMapDebugFrame - class ch.epfl.craft.magmap.MagMapDebugFrame.
Window for debug purpose.
MagMapDebugFrame(MagMapMagnetModel) - Constructor for class ch.epfl.craft.magmap.MagMapDebugFrame
 
MagMapDebugFrame.MagnetsTableFormat - class ch.epfl.craft.magmap.MagMapDebugFrame.MagnetsTableFormat.
Class wrapper for the nodes in a table format for the Glazed lists library
MagMapDebugFrame.MagnetsTableFormat() - Constructor for class ch.epfl.craft.magmap.MagMapDebugFrame.MagnetsTableFormat
 
MagMapMagnetCellRenderer - class ch.epfl.craft.magmap.magnet.MagMapMagnetCellRenderer.
Displays a node in a MagnetView.
MagMapMagnetCellRenderer() - Constructor for class ch.epfl.craft.magmap.magnet.MagMapMagnetCellRenderer
 
MagMapMagnetLayout - class ch.epfl.craft.magmap.magnet.MagMapMagnetLayout.
This layout algorithm simply extends the DefaultMagnetLayout, and listens to changes in the number of visible nodes controlled by the numberOfNodesSlider Slider in MagMapMainFrame.
MagMapMagnetLayout() - Constructor for class ch.epfl.craft.magmap.magnet.MagMapMagnetLayout
 
MagMapMagnetModel - class ch.epfl.craft.magmap.magnet.MagMapMagnetModel.
Manages the nodes.
MagMapMagnetModel() - Constructor for class ch.epfl.craft.magmap.magnet.MagMapMagnetModel
Constructs a MagMapMagnetModel instance and initialize the internal model.
MagMapMagnetNode - class ch.epfl.craft.magmap.magnet.MagMapMagnetNode.
This class represents that data used by the MagnetView.
MagMapMagnetNode() - Constructor for class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Creates a new MagMapMagnetNode instance.
MagMapMagnetNode(Object) - Constructor for class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Creates a new MagMapMagnetNode instance with the given data.
MagMapMagnetView - class ch.epfl.craft.magmap.MagMapMagnetView.
Adds drag and drop capabilities to MagnetView.
MagMapMagnetView() - Constructor for class ch.epfl.craft.magmap.MagMapMagnetView
Builds a new MagMapMagnetView instance.
MagMapMainFrame - class ch.epfl.craft.magmap.MagMapMainFrame.
This is the main "frame" of the MagMap application.
MagMapMainFrame(JApplet) - Constructor for class ch.epfl.craft.magmap.MagMapMainFrame
Constructor of the GUI
MagMapMainFrame.MyList - class ch.epfl.craft.magmap.MagMapMainFrame.MyList.
Provide a kind of bug fix the the behaviour of JList when it has to handle drag and drop: it is usually not possible to drag a row if it has not been selected.
MagMapMainFrame.MyList() - Constructor for class ch.epfl.craft.magmap.MagMapMainFrame.MyList
 
MagMapMainFrame_AboutBox - class ch.epfl.craft.magmap.MagMapMainFrame_AboutBox.
This is the about box displaying the credits.
MagMapMainFrame_AboutBox(Frame) - Constructor for class ch.epfl.craft.magmap.MagMapMainFrame_AboutBox
Constructs the about box frame with the given parameter as parent.
MagnetCellRenderer - interface ch.epfl.craft.maglib.magnet.MagnetCellRenderer.
Defines the requirements for an object that displays a magnet node
MagnetLayout - interface ch.epfl.craft.maglib.magnet.MagnetLayout.
A class that implements this interface will typically simply encapsulate a layout algorithm.
MagnetLayoutListener - interface ch.epfl.craft.maglib.magnet.MagnetLayoutListener.
Interface that specifies how an object that want to be notified of changes in the layout must be implemented.
MagnetModel - interface ch.epfl.craft.maglib.magnet.MagnetModel.
Model that will manage the collection of MagnetNode instances
MagnetModelListener - interface ch.epfl.craft.maglib.magnet.MagnetModelListener.
Interface that specifies how an object that want to be notified of changes in the model must be implemented.
MagnetNode - interface ch.epfl.craft.maglib.magnet.MagnetNode.
Defines the requirements for an object that can be used as a tree node in a MagnetView A MagnetNode encapsulates a userObject which represent the data itself.
MagnetTransferHandler - class ch.epfl.craft.magmap.MagnetTransferHandler.
Drag & Drop support for magnets.
MagnetTransferHandler() - Constructor for class ch.epfl.craft.magmap.MagnetTransferHandler
Creates a new MagnetTransferHandler instance.
MagnetTransferHandler.IndexTransferable - class ch.epfl.craft.magmap.MagnetTransferHandler.IndexTransferable.
Custom class that encapsulate a number == index of the magnet in the model.
MagnetTransferHandler.IndexTransferable(int) - Constructor for class ch.epfl.craft.magmap.MagnetTransferHandler.IndexTransferable
 
MagnetView - class ch.epfl.craft.maglib.MagnetView.
A component that displays a set of data nodes that can be organized through the use of virtual magnets.
MagnetView() - Constructor for class ch.epfl.craft.maglib.MagnetView
Returns a MagnetView with a sample model.
MagnetView(MagnetModel) - Constructor for class ch.epfl.craft.maglib.MagnetView
Returns an instance of MagnetView -- the view is created using the specified data model.
MagnetView(MagnetNode[]) - Constructor for class ch.epfl.craft.maglib.MagnetView
Returns an instance of MagnetView -- the view is created using the specified nodes, with DefaultMagnetModel.
magnetCellRenderer - Variable in class ch.epfl.craft.maglib.MagnetView
 
magnetLayout - Variable in class ch.epfl.craft.maglib.MagnetView
 
magnetModel - Variable in class ch.epfl.craft.maglib.MagnetView
 
magnetModel - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
the model that we layout
magneticNodes - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
 
magnitude() - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
main(String[]) - Static method in class ch.epfl.craft.magmap.MagMap
Main method
makeMagnetItem - Variable in class ch.epfl.craft.maglib.MagnetView
The menu item that (de)magnetize a magnet node
modelHasChanged() - Method in class ch.epfl.craft.maglib.MagnetView
MAGNETMODELLISTENER IMPLEMENTATION
modelHasChanged() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Implementation of the MagnetModelListener interface.
modelHasChanged() - Method in interface ch.epfl.craft.maglib.magnet.MagnetModelListener
Called when the model has changed
mouseClicked(MouseEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Handle mouse click on this component.
mouseClicked(MouseEvent) - Method in class ch.epfl.craft.magmap.MagMapMagnetView
Handle mouse click on this component.
mouseDragged(MouseEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Handle mouse drag on this component.
mouseEntered(MouseEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Handle mouse enter on this component.
mouseExited(MouseEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Handle mouse exit on this component.
mouseMoved(MouseEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Handle mouse move on this component.
mouseOverRectangle - Variable in class ch.epfl.craft.maglib.MagnetView
The rectangle (around the mouse cursor) in which nodes are considered near the mouse
mousePosition - Variable in class ch.epfl.craft.maglib.MagnetView
The last know mouse position on the components
mousePressed(MouseEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Handle pression of mouse button on this component.
mousePressedPoint - Variable in class ch.epfl.craft.maglib.MagnetView
The position of the click in the view when mouse pressed
mouseReleased(MouseEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Handle release of mouse button on this component.
move(Vector2D) - Method in class ch.epfl.craft.maglib.magnet.SpringPoint
 
move(Point2D) - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
movebyForce() - Method in class ch.epfl.craft.maglib.magnet.SpringPoint
 

N

NEWS - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The news kind of node
NODE_DRAGGED - Static variable in class ch.epfl.craft.maglib.event.UpdateEvent
A node was dragged in the view
nodeNearPoint(Point) - Method in class ch.epfl.craft.maglib.MagnetView
Returns the MagnetNodes near location p.
nodeUnderMouse - Variable in class ch.epfl.craft.maglib.MagnetView
The last known component under the mouse
nodeUnderPoint(Point) - Method in class ch.epfl.craft.maglib.MagnetView
Returns the MagnetNode at location p.
nodesNearMouse - Variable in class ch.epfl.craft.maglib.MagnetView
The last known components near the mouse
normalise() - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
numberOfVisibleNodes - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
the number of node that the layouter will set as visible

O

offsetFromNodeOrigin - Variable in class ch.epfl.craft.maglib.MagnetView
The position of the click in the node being dragged/clicked
opposite() - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
origin - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
The origin of the node

P

PERSON - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The person kind of node
paint(Graphics) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetCellRenderer
Paint the component in g.
paintComponent(Graphics) - Method in class ch.epfl.craft.maglib.MagnetView
Invoked by Swing to draw components.
paintComponent(Graphics) - Method in class ch.epfl.craft.magmap.MagMapMagnetView
Paints the component
point - Variable in class ch.epfl.craft.maglib.magnet.Vector2D
 
points - Variable in class ch.epfl.craft.maglib.magnet.SpringLayout
 
popup - Variable in class ch.epfl.craft.maglib.MagnetView
The menu called when right-click on a mouse
processWindowEvent(WindowEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame_AboutBox
Overridden so we can exit when window is closed

R

removeButton_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapDebugFrame
 
removeListener(MagnetLayoutListener) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Removes a listener.
removeListener(MagnetModelListener) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Removes a listener.
removeListener(MagnetLayoutListener) - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayout
Removes a listener.
removeListener(MagnetModelListener) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Removes a listener.
removeMagnetNode(MagnetNode) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Removes a MagnetNode instance from this model.
removeMagnetNode(MagnetNode) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Removes a MagnetNode instance from this model.
removeMagnetNode(MagnetNode) - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetModel
Removes a MagnetNode instance from this model.
repaint(long, int, int, int, int) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetCellRenderer
Overridden for performance reasons.
repaint(Rectangle) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetCellRenderer
Overridden for performance reasons.
reset() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Resets the model.
reset() - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Resets the model.
reset() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetModel
Resets the model.
run() - Method in class ch.epfl.craft.maglib.magnet.CentralMagnetLayout
Runs the layout algorithm.
run() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Runs the layout algorithm.

S

Spring - class ch.epfl.craft.maglib.magnet.Spring.
A spring to be manipulated in a spring layout A Spring is a physical abstract spring between two points.
Spring(SpringPoint, SpringPoint, double, double) - Constructor for class ch.epfl.craft.maglib.magnet.Spring
Create a new SpringPoint
SpringLayout - class ch.epfl.craft.maglib.magnet.SpringLayout.
A spring layout lays out some SpringPoints in function of the Springs between them Once the model is set up, call doIteration() to move to the next state
SpringLayout() - Constructor for class ch.epfl.craft.maglib.magnet.SpringLayout
Create a new SpringLayout
SpringPoint - class ch.epfl.craft.maglib.magnet.SpringPoint.
A node to be manipulated in a spring layout A SpringPoint encapsulates a Point and its fixedness
SpringPoint(double, double, boolean) - Constructor for class ch.epfl.craft.maglib.magnet.SpringPoint
Create a new SpringPoint
SpringPoint(Point2D, boolean) - Constructor for class ch.epfl.craft.maglib.magnet.SpringPoint
 
scale(double) - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
selectedNodes - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
 
serialArrayListFlavor - Variable in class ch.epfl.craft.magmap.MagnetTransferHandler
 
setBounds(Rectangle) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Sets the bounds of the main view.
setBounds(Rectangle) - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayout
Sets the bounds of the main view.
setColumns(int) - Method in class ch.epfl.craft.magmap.JMultiLineToolTip
 
setCurrentforce(Vector2D) - Method in class ch.epfl.craft.maglib.magnet.SpringPoint
 
setDetailsPane(JEditorPane) - Method in class ch.epfl.craft.magmap.MagMapMagnetView
Sets the JEditorPane in which the details of the current selected nodes are written.
setDisplayForceField(boolean) - Method in class ch.epfl.craft.maglib.MagnetView
Toggles the display of the force field around magnet boolean bool true if the force field around magnet is displayed, else false
setFixedWidth(int) - Method in class ch.epfl.craft.magmap.JMultiLineToolTip
 
setForceField(int) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Sets the force of the field generated by this magnet.
setForceField(int) - Method in interface ch.epfl.craft.maglib.magnet.MagnetNode
Sets the force of the field generated by this magnet
setIsMagneticNode(MagnetNode, boolean) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Sets the node as magnetic if aBoolean is true, else set it as non magnetic.
setIsMagneticNode(MagnetNode, boolean) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Sets the node as magnetic if aBoolean is true, else set it as non magnetic.
setIsSelectedNode(MagnetNode, boolean) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Sets the node as selected if aBoolean is true, else set it as not selected.
setIsSelectedNode(MagnetNode, boolean) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Sets the node as selected if aBoolean is true, else set it as not selected.
setIsVisibleNode(MagnetNode, boolean) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
Sets the node as visible or invisible in the view if aBoolean is true or false;
setIsVisibleNode(MagnetNode, boolean) - Method in interface ch.epfl.craft.maglib.magnet.MagnetModel
Sets the node as visible or invisible in the view if aBoolean is true or false;
setJMenuBar(JMenuBar) - Method in class ch.epfl.craft.magmap.MagMap
Overrides the setJMenuBar() method of JApplet so that the menu bar will be placed on the frame when MagMap is launched as a jar or on the applet when lauched as applet.
setMagnetCellRenderer(MagnetCellRenderer) - Method in class ch.epfl.craft.maglib.MagnetView
Sets the cell renderer that will be used by the this MagnetView to display the nodes in the view.
setMagnetLayout(MagnetLayout) - Method in class ch.epfl.craft.maglib.MagnetView
Sets the layout algorithm that will be used by the this MagnetView.
setMagnetModel(MagnetModel) - Method in class ch.epfl.craft.maglib.MagnetView
Sets the model that will be used by the this MagnetView.
setMagnetModel(MagnetModel) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Set the model that the layout is in charge of updating.
setMagnetModel(MagnetModel) - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayout
Set the model that the layout is in charge of updating.
setMouseOverArea(Dimension) - Method in class ch.epfl.craft.maglib.MagnetView
Sets the size of the virtual rectangle area around the mouse cursor such that nodes will be considered near the mouse.
setNumberOfVisibleNodes(int) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Sets the number of visible nodes drawn by the view that this layouter controls
setNumberOfVisibleNodes(int) - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayout
Sets the number of visible nodes drawn by the view that this layouter controls
setOrigin(Point) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Sets the orgin of this MagnetNode instance.
setOrigin(Point) - Method in interface ch.epfl.craft.maglib.magnet.MagnetNode
Sets the orgin of this MagnetNode instance.
setSimilarityMatrix(MatrixType) - Static method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Sets the similarity matrix for this class.
setTargetOrigin(Point) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Sets the target orgin of this MagnetNode instance.
setTargetOrigin(Point) - Method in interface ch.epfl.craft.maglib.magnet.MagnetNode
Sets the target orgin of this MagnetNode instance.
setUI(ListUI) - Method in class ch.epfl.craft.magmap.MagMapMainFrame.MyList
 
setUserObject(Object) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Resets the user object of the receiver to object.
setUserObject(Object) - Method in interface ch.epfl.craft.maglib.magnet.MagnetNode
Resets the user object of the receiver to object.
similarities - Variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The Similarity matrix under hashmap form (faster): it can already have a computed blog-blog or topic-topic similarity inside.
similaritiesMatrix - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The Similarity matrix
similarityMatrix - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The Similarity matrix
springs - Variable in class ch.epfl.craft.maglib.magnet.SpringLayout
 
start() - Method in class ch.epfl.craft.magmap.MagMap
Should start the code used by the applet MagMap.
startedAsApplet - Static variable in class ch.epfl.craft.magmap.MagMap
 
stateChanged(ChangeEvent) - Method in class ch.epfl.craft.maglib.MagnetView
Invoked when the target of the listener has changed its state.
stateChanged(ChangeEvent) - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetLayout
Invoked when the numberOfNodesSlider Slider in MagMapMainFrame has changed
stop() - Method in class ch.epfl.craft.magmap.MagMap
Should stop the code used by the applet version of MagMap.
stopUpdatingPositions() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Tells the receiver to stop updating the nodes positions in the model.
stopUpdatingPositions() - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayout
Tells the receiver to stop updating the nodes positions in the model.

T

TOPIC - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
The topic kind of node
tail - Variable in class ch.epfl.craft.maglib.magnet.Spring
 
tailForce() - Method in class ch.epfl.craft.maglib.magnet.Spring
 
targetOrigin - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
The point where the node should be.
toString() - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
Returns the result of sending toString() to this node's user object, or null if this node has no user object.
toString() - Method in class ch.epfl.craft.maglib.magnet.Spring
 
toString() - Method in class ch.epfl.craft.maglib.magnet.Vector2D
 
toString() - Method in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Returns the title (subject of the content) of the node data
toggleDisplayForceField_actionPerformed(ActionEvent) - Method in class ch.epfl.craft.magmap.MagMapMainFrame
Toggle Force Field visibility
topicToRowMap - Static variable in class ch.epfl.craft.magmap.magnet.MagMapMagnetNode
Mapping from topic (instance) to row number in the similarity matrix

U

UpdateEvent - class ch.epfl.craft.maglib.event.UpdateEvent.
This kind of event indicates that a change has occured in the state of this application that requires an update of the MagnetNodes positions.
UpdateEvent(Object, int) - Constructor for class ch.epfl.craft.maglib.event.UpdateEvent
Instantiates a new UpdateEvent object with a given kind.
updatePositions(UpdateEvent) - Method in class ch.epfl.craft.maglib.magnet.DefaultMagnetLayout
Tells the receiver to update the nodes positions in the model.
updatePositions(UpdateEvent) - Method in interface ch.epfl.craft.maglib.magnet.MagnetLayout
Tells the receiver to update the nodes positions in the model.
updateUI() - Method in class ch.epfl.craft.magmap.JMultiLineToolTip
 
userObject - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetNode
The core data of this node

V

Vector2D - class ch.epfl.craft.maglib.magnet.Vector2D.
 
Vector2D(double, double) - Constructor for class ch.epfl.craft.maglib.magnet.Vector2D
 
Vector2D(Point2D, Point2D) - Constructor for class ch.epfl.craft.maglib.magnet.Vector2D
 
Vector2D() - Constructor for class ch.epfl.craft.maglib.magnet.Vector2D
 
valueChanged(ListSelectionEvent) - Method in class ch.epfl.craft.magmap.MagMapDebugFrame
Called whenever the value of the selection in list1OfMagnets changes.
visibleNodes - Variable in class ch.epfl.craft.maglib.magnet.DefaultMagnetModel
 

A B C D E F G H I J K L M N O P R S T U V

Copyright © CRAFT EPFL. All Rights Reserved.