TreeMap Java Library
A B C D F G H I L M N P R S T U V

A

addAlgorithm(TMAlgorithm, String) - Method in class treemap.TMView
Adds a treemap algorithm to this view.
addChild(TMFileNode) - Method in class treemap.demo.TMFileNode
Add child to the node.
addChild(Object, Object) - Method in interface treemap.TMModelUpdater
To be called when the user node has a new child.
addChild(TMNode, TMNode) - Method in interface treemap.TMUpdater
To be called when the user node has a new child.

B

border - Variable in class treemap.TMAlgorithm
 
borderLimit - Variable in class treemap.TMAlgorithm
 
borderSize - Variable in class treemap.TMAlgorithm
 
buildTree(TMFileNode.ProgressStatus) - Method in class treemap.demo.TMFileNode
Builds the tree hierarchie of a TMFileNode.

C

changeTMComputeDraw(TMComputeDraw) - Method in class treemap.TMView
Changes the TMComputeDraw object used to compute the drawings of TMNodes.
changeTMComputeSize(TMComputeSize) - Method in class treemap.TMView
Changes the TMComputeSize object used to compute the sizings of TMNodes.
children(Object) - Method in class treemap.demo.TMFileModelNode
Returns the children of this node in an Enumeration.
children - Variable in class treemap.demo.TMFileNode
 
children() - Method in class treemap.demo.TMFileNode
Returns the children of this node in an Enumeration.
children(Object) - Method in interface treemap.TMModelNode
Returns the children of the given node in an Enumeration.
children() - Method in interface treemap.TMNode
Returns the children of this node in an Enumeration.
CLASSIC - Static variable in class treemap.TMView
 
computeCushionData(TMNodeModel, Rectangle, short) - Method in class treemap.TMAlgorithm
Compute node's cushion data.
cushion - Variable in class treemap.TMAlgorithm
 
cushionData - Variable in class treemap.TMNodeAdapter
 

D

date - Variable in class treemap.demo.TMFileNode
 
delay - Variable in class treemap.demo.TMFileNode
 
Demo - Class in treemap.demo
The Demo class implements a demo for Treemap.
Demo() - Constructor for class treemap.demo.Demo
 
DemoModel - Class in treemap.demo
The DemoModel class implements a demo for Treemap.
DemoModel() - Constructor for class treemap.demo.DemoModel
 
dontDrawNodesTitles() - Method in class treemap.TMAlgorithm
Don't draws the nodes titles.
drawChildren(Graphics2D, TMNodeModelComposite, short, int) - Method in class treemap.TMAlgorithm
Draws the children of a node, by setting their drawing area first, dependant of the algorithm used.
drawChildren(Graphics2D, TMNodeModelComposite, short, int) - Method in class treemap.TMAlgorithmClassic
Draws the children of a node, by setting their drawing area first, dependant of the algorithm used.
drawChildren(Graphics2D, TMNodeModelComposite, short, int) - Method in class treemap.TMAlgorithmSquarified
Draws the children of a node, by setting their drawing area first, dependant of the algorithm used.
drawNodes(Graphics2D, TMNodeModel, short, int) - Method in class treemap.TMAlgorithm
Draws the node and recurses the drawing on its children.
drawNodesTitles() - Method in class treemap.TMAlgorithm
Draws the nodes titles.
DrawTitles(boolean) - Method in class treemap.TMView
Sets the drawing or not of the nodes titles.

F

f - Variable in class treemap.TMAlgorithm
 
file - Variable in class treemap.demo.TMFileNode
 
fillCushionNode(Graphics2D, TMNodeModel, int, TMCushionData) - Method in class treemap.TMAlgorithm
 
fillNode(Graphics2D, TMNodeModel, int) - Method in class treemap.TMAlgorithm
Fills the node.

G

get(String) - Method in class treemap.TMPatternFactory
Returns the pattern whose name is given in parameter.
getAlgorithm() - Method in class treemap.TMView
Returns the current algorithm of this view.
getAlgorithmsNames() - Method in class treemap.TMView
Returns the set of registered names of algorithms.
getBorderSize() - Method in class treemap.TMAlgorithm
Returns the border size.
getColorTitleOfObject(Object) - Method in class treemap.demo.TMFileModelDraw
 
getColorTitleOfObject(Object) - Method in class treemap.TMComputeDrawAdapter
TO BE IMPLEMENTED.
getConfiguringView() - Method in class treemap.TMAlgorithm
Returns a view for configuring this algorithm.
getCushionData() - Method in class treemap.TMNodeAdapter
 
getDate() - Method in class treemap.demo.TMFileNode
Returns the last modification date.
getFilling(TMNodeAdapter) - Method in class treemap.demo.TMFileDraw
Returns the filling of the node.
getFilling(TMNodeAdapter) - Method in class treemap.demo.TMFileDrawPattern
Returns the filling of the node.
getFilling(TMNodeAdapter) - Method in interface treemap.TMComputeDraw
Returns the filling of the node.
getFilling(TMNodeAdapter) - Method in class treemap.TMComputeDrawAdapter
DO NOT OVERLOAD.
getFillingOfObject(Object) - Method in class treemap.demo.TMFileModelDraw
 
getFillingOfObject(Object) - Method in class treemap.TMComputeDrawAdapter
TO BE IMPLEMENTED.
getFullName() - Method in class treemap.demo.TMFileNode
Returns the full name of the file.
getInstance() - Static method in class treemap.TMPatternFactory
Returns the running instance of TMPatternFactory.
getName() - Method in class treemap.demo.TMFileNode
Returns the name of the file.
getNode() - Method in class treemap.TMNodeAdapter
Returns the TMNode encapsulated.
getPatternsNames() - Method in class treemap.TMPatternFactory
Returns an Enumeration of patterns names.
getRoot() - Method in class treemap.demo.TMFileModelNode
Returns the root of the tree.
getRoot() - Method in interface treemap.TMModelNode
Returns the root of the tree.
getSize() - Method in class treemap.demo.TMFileNode
Returns the size of the node.
getSize(TMNode) - Method in class treemap.demo.TMFileSize
Returns the size of the node.
getSize(TMNode) - Method in class treemap.demo.TMFileSizeDate
Returns the size of the node.
getSize(TMNode) - Method in interface treemap.TMComputeSize
Returns the size of the TMNode.
getSize(TMNode) - Method in class treemap.TMComputeSizeAdapter
DO NOT OVERLOAD.
getSize() - Method in class treemap.TMNodeAdapter
Returns the size of the TMNode encapsulated.
getSizeOfObject(Object) - Method in class treemap.demo.TMFileModelSize
Returns the size of the node.
getSizeOfObject(Object) - Method in class treemap.TMComputeSizeAdapter
TO BE IMPLEMENTED.
getStatusView() - Method in class treemap.TMView
Gets the status view.
getTitle(TMNodeAdapter) - Method in class treemap.demo.TMFileDraw
Returns the title of the node.
getTitle(TMNodeAdapter) - Method in interface treemap.TMComputeDraw
Returns the title of the node.
getTitle(TMNodeAdapter) - Method in class treemap.TMComputeDrawAdapter
DO NOT OVERLOAD.
getTitleColor(TMNodeAdapter) - Method in class treemap.demo.TMFileDraw
Returns the color of the title of the node.
getTitleColor(TMNodeAdapter) - Method in interface treemap.TMComputeDraw
Returns the color of the title of the node.
getTitleColor(TMNodeAdapter) - Method in class treemap.TMComputeDrawAdapter
DO NOT OVERLOAD.
getTitleOfObject(Object) - Method in class treemap.demo.TMFileModelDraw
 
getTitleOfObject(Object) - Method in class treemap.TMComputeDrawAdapter
TO BE IMPLEMENTED.
getTooltip(TMNodeAdapter) - Method in class treemap.demo.TMFileDraw
Returns the tooltip of the node.
getTooltip(TMNodeAdapter) - Method in interface treemap.TMComputeDraw
Returns the tooltip of the node.
getTooltip(TMNodeAdapter) - Method in class treemap.TMComputeDrawAdapter
DO NOT OVERLOAD.
getTooltipOfObject(Object) - Method in class treemap.demo.TMFileModelDraw
 
getTooltipOfObject(Object) - Method in class treemap.TMComputeDrawAdapter
TO BE IMPLEMENTED.
getToolTipText(MouseEvent) - Method in class treemap.TMView
Returns the tooltip to be displayed.
getUserData() - Method in class treemap.TMNodeAdapter
Returns the user data.
getView(TMComputeSize, TMComputeDraw) - Method in class treemap.TreeMap
Returns a view of the treemap with the given renderers.

H

h - Variable in class treemap.TMAlgorithm
 
hasChanged() - Method in class treemap.demo.TMFileNode
Checks if something has changed.
HORIZONTAL - Static variable in class treemap.TMAlgorithm
 

I

initialize(TMNodeModel, TMView) - Method in class treemap.TMAlgorithm
Initialize the algorithm.
IS - Variable in class treemap.TMAlgorithm
 
isCompatibleWith(TMNode) - Method in class treemap.demo.TMFileDraw
Test if this TMComputeDraw could be used with the kind of TMNode passed in parameter.
isCompatibleWith(TMNode) - Method in class treemap.demo.TMFileSize
Test if this TMComputeSize could be used with the kind of TMNode passed in parameter.
isCompatibleWith(TMNode) - Method in class treemap.demo.TMFileSizeDate
Test if this TMComputeSize could be used with the kind of TMNode passed in parameter.
isCompatibleWith(TMNode) - Method in interface treemap.TMComputeDraw
Test if this TMComputeDraw could be used with the kind of TMNode passed in parameter.
isCompatibleWith(TMNode) - Method in class treemap.TMComputeDrawAdapter
DO NOT OVERLOAD.
isCompatibleWith(TMNode) - Method in interface treemap.TMComputeSize
Test if this TMComputeSize could be used with the kind of TMNode passed in parameter.
isCompatibleWith(TMNode) - Method in class treemap.TMComputeSizeAdapter
DO NOT OVERLOAD.
isCompatibleWithObject(Object) - Method in class treemap.demo.TMFileModelDraw
 
isCompatibleWithObject(Object) - Method in class treemap.demo.TMFileModelSize
 
isCompatibleWithObject(Object) - Method in class treemap.TMComputeDrawAdapter
TO BE IMPLEMENTED.
isCompatibleWithObject(Object) - Method in class treemap.TMComputeSizeAdapter
TO BE IMPLEMENTED.
isDrawingTitle() - Method in class treemap.TMView
 
isDrawingTitles() - Method in class treemap.TMAlgorithm
 
isLeaf(Object) - Method in class treemap.demo.TMFileModelNode
Returns true if this node is not a directory.
isLeaf() - Method in class treemap.demo.TMFileNode
Returns true if this node is not a directory.
isLeaf(Object) - Method in interface treemap.TMModelNode
Checks if the given node is a leaf or not.
isLeaf() - Method in interface treemap.TMNode
Checks if this node is a leaf or not.

L

LX - Variable in class treemap.TMAlgorithm
 
LY - Variable in class treemap.TMAlgorithm
 
LZ - Variable in class treemap.TMAlgorithm
 

M

main(String[]) - Static method in class treemap.demo.Demo
Display a demo TreeMap.
main(String[]) - Static method in class treemap.demo.DemoModel
Display a demo TreeMap.
main(String[]) - Static method in class treemap.TMPatternFactory
Display the differents patterns.

N

name - Variable in class treemap.demo.TMFileNode
 
nodesTitles - Variable in class treemap.TMAlgorithm
 

P

paintComponent(Graphics) - Method in class treemap.TMView
Paint the component.
parent - Variable in class treemap.demo.TMFileNode
 

R

removeChild(TMFileNode) - Method in class treemap.demo.TMFileNode
Removes a child from the node.
removeChild(Object, Object) - Method in interface treemap.TMModelUpdater
To be called when the user node removes a child.
removeChild(TMNode, TMNode) - Method in interface treemap.TMUpdater
To be called when the user node removes a child.
root - Variable in class treemap.TMAlgorithm
 

S

setAlgorithm(String) - Method in class treemap.TMView
Sets the algorithm of the treemap.
setBorderSize(int) - Method in class treemap.TMAlgorithm
Sets the border size.
setUp() - Method in class treemap.TestTMUpdater
Setup the fixture.
setUpdater(TMModelUpdater) - Method in class treemap.demo.TMFileModelNode
Sets the updater for this node.
setUpdater(TMUpdater) - Method in class treemap.demo.TMFileNode
Sets the updater for this node.
setUpdater(TMModelUpdater) - Method in interface treemap.TMModelNode
Called by the TMModelUpdater constructor.
setUpdater(TMUpdater) - Method in interface treemap.TMNode
Called by the TMUpdater constructor.
setUserData(Object) - Method in class treemap.TMNodeAdapter
Sets the user data.
size - Variable in class treemap.demo.TMFileNode
 
SQUARIFIED - Static variable in class treemap.TMView
 
suite() - Static method in class treemap.TestAllTM
Suite of the whole set of tests.
suite() - Static method in class treemap.TestTMUpdater
TestSuite.
switchAxis(short) - Method in class treemap.TMAlgorithm
Switch the axis and return the new axis.

T

TestAllTM - Class in treemap
The TestAllTM class launch the whole set of JUnit test for the treemap package.
TestAllTM() - Constructor for class treemap.TestAllTM
 
testSettingOfUpdater() - Method in class treemap.TestTMUpdater
Tests the setting of the TMUpdater in every TMNodes.
TestTMUpdater - Class in treemap
The TestTMUpdater is a JUnit test class for testing the setting of TestTMUpdater in TMNode classes.
TestTMUpdater(String) - Constructor for class treemap.TestTMUpdater
Constructor.
TMAlgorithm - Class in treemap
The TMAlgorithm abstract class represent the algorithm of the TreeMap.
TMAlgorithm() - Constructor for class treemap.TMAlgorithm
 
TMAlgorithmClassic - Class in treemap
The TMAlgorithmClassic class implements a classic treemap drawing algorithm.
TMAlgorithmClassic() - Constructor for class treemap.TMAlgorithmClassic
 
TMAlgorithmSquarified - Class in treemap
The TMAlgorithmSquarified class implements a squarified treemap drawing algorithm.
TMAlgorithmSquarified() - Constructor for class treemap.TMAlgorithmSquarified
 
TMComputeDraw - Interface in treemap
The TMDrawManager interface should be implemented by every class that implements algorithms for drawing TMNode.
TMComputeDrawAdapter - Class in treemap
The TMComputeDrawAdapter class implements a adapter for the TMComputeDraw interface for users of the TMModelNode interface.
TMComputeDrawAdapter() - Constructor for class treemap.TMComputeDrawAdapter
 
TMComputeSize - Interface in treemap
The TMComputeSize interface should be implemented by every class that implements algorithms for computing size of TMNode.
TMComputeSizeAdapter - Class in treemap
The TMComputeSizeAdapter class implements a adapter for the TMComputeSize interface for users of the TMModelNode interface.
TMComputeSizeAdapter() - Constructor for class treemap.TMComputeSizeAdapter
 
TMExceptionBadTMNodeKind - Exception in treemap
The TMExceptionBadTMNodeKind exception is raised when a TMComputeSize or TMComputeDraw receive a incompatible kind of TMNode.
TMExceptionBadTMNodeKind(TMComputeSize, TMNode) - Constructor for exception treemap.TMExceptionBadTMNodeKind
Constructor.
TMExceptionBadTMNodeKind(TMComputeDraw, TMNode) - Constructor for exception treemap.TMExceptionBadTMNodeKind
Constructor.
TMExceptionLeafTMNode - Exception in treemap
The TMExceptionLeafTMNode exception is raised when a TMNodeModelRoot received a TMEventUpdate event for adding or removing a child to a TMNode that is a leaf.
TMExceptionLeafTMNode(TMNode) - Constructor for exception treemap.TMExceptionLeafTMNode
Constructor.
TMExceptionNullParameter - Exception in treemap
The TMExceptionNullParameter exception is raised when a null parameter is passed where it should not.
TMExceptionNullParameter(String) - Constructor for exception treemap.TMExceptionNullParameter
Constructor.
TMExceptionUnknownTMNode - Exception in treemap
The TMExceptionUnknownTMNode exception is raised when a TMNodeModelRoot received a TMEventUpdate event with a reference to an unknown TMNode.
TMExceptionUnknownTMNode(TMNode) - Constructor for exception treemap.TMExceptionUnknownTMNode
Constructor.
TMFileDraw - Class in treemap.demo
The TMFileDraw class implements an example of a TMComputeDraw for a TMFileNode.
TMFileDraw() - Constructor for class treemap.demo.TMFileDraw
 
TMFileDrawPattern - Class in treemap.demo
The TMFileDrawPattern implements a example of renderer for TMFileNode.
TMFileDrawPattern() - Constructor for class treemap.demo.TMFileDrawPattern
Constructor.
TMFileModelDraw - Class in treemap.demo
The TMFileModelDraw class implements an example of a TMComputeDrawAdapter for a TMFileModelNode.
TMFileModelDraw() - Constructor for class treemap.demo.TMFileModelDraw
 
TMFileModelNode - Class in treemap.demo
The TMFileModelNode implements an example of TMModelNode encapsulating Files.
TMFileModelNode(File) - Constructor for class treemap.demo.TMFileModelNode
Constructor.
TMFileModelSize - Class in treemap.demo
The TMFileModelSize class implements an example of a TMComputeSizeAdapter for a TMFileModelNode.
TMFileModelSize() - Constructor for class treemap.demo.TMFileModelSize
 
TMFileNode - Class in treemap.demo
The TMFileNode implements an example of TMNode encapsulating a File.
TMFileNode(File) - Constructor for class treemap.demo.TMFileNode
Constructor.
TMFileNode(File, TMFileNode, TMFileNode.ProgressStatus) - Constructor for class treemap.demo.TMFileNode
Constructor.
TMFileSize - Class in treemap.demo
The TMFileSize class implements an example of a TMComputeSize for a TMFileNode.
TMFileSize() - Constructor for class treemap.demo.TMFileSize
 
TMFileSizeDate - Class in treemap.demo
The TMFileSizeDate class implements an example of a TMComputeSize for a TMFileNode.
TMFileSizeDate() - Constructor for class treemap.demo.TMFileSizeDate
Constructor.
TMModelNode - Interface in treemap
The TMModelNode interface should be implemented by object that are model of nodes of the tree that want to be displayed in the TreeMap.
TMModelUpdater - Interface in treemap
The TMModelUpdater interface represents the object that a TMModelNode should call to notify the treemap that something has changed : size, state, numers of childs, ...
TMNode - Interface in treemap
The TMNode interface should be implemented by object that are node of the tree that want to be displayed in the TreeMap.
TMNodeAdapter - Class in treemap
The TMNodeAdapter abstract class encapsulate a TMNode for a TMComputeDraw.
TMNodeAdapter() - Constructor for class treemap.TMNodeAdapter
 
TMPatternFactory - Class in treemap
The TMPatternFactory is a utility to get filling patterns.
TMPatternFactory() - Constructor for class treemap.TMPatternFactory
Constructor.
TMUpdater - Interface in treemap
The TMUpdater interface represents the object that a TMNode should call to notify the treemap that something has changed : size, state, numers of childs, ...
TMView - Class in treemap
The TMView class implements a view of the TreeMap.
toString() - Method in class treemap.demo.TMFileNode
Returns the node in a String form : return the name.
treemap - package treemap
 
TreeMap - Class in treemap
The TreeMap class implements a tree map representation for data.
TreeMap(TMNode) - Constructor for class treemap.TreeMap
Constructor.
TreeMap(TMModelNode) - Constructor for class treemap.TreeMap
Constructor.
treemap.demo - package treemap.demo
 

U

update(Observable, Object) - Method in class treemap.TMView
Called when a TMUpdater has its data changed.
updater - Variable in class treemap.demo.TMFileNode
 
updateSize(Object) - Method in interface treemap.TMModelUpdater
To be called when the user node has its size changed.
updateSize(TMNode) - Method in interface treemap.TMUpdater
To be called when the user node has its size changed.
updateState(Object) - Method in interface treemap.TMModelUpdater
To be called when the user node has its state changed.
updateState(TMNode) - Method in interface treemap.TMUpdater
To be called when the user node has its state changed.

V

VERTICAL - Static variable in class treemap.TMAlgorithm
 
view - Variable in class treemap.TMAlgorithm
 

A B C D F G H I L M N P R S T U V
TreeMap Java Library

TreeMap Java Library - www.bouthier.net - treemap.sf.net - 2001