Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addSelectionChangeListener(ISelectionChangeListener<N>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Adds the given listener for selection change events.
- aspectRatio(int, int) - Method in class de.engehausen.treemap.swing.impl.LabelRenderer
-
Compute the aspect ratio.
B
- BorderRenderer<N> - Class in de.engehausen.treemap.swing.impl
-
A rectangle renderer which only renders non-leaf rectangles.
- BorderRenderer(IRectangleRenderer<N, Graphics2D, Color>) - Constructor for class de.engehausen.treemap.swing.impl.BorderRenderer
- buildControl - Variable in class de.engehausen.treemap.swing.TreeMap
C
- changeCursorOnRecalculate - Variable in class de.engehausen.treemap.swing.TreeMap
-
Indicates whether the mouse cursor should be changed to
Cursor.WAIT_CURSORduring recalculation. - colorMappingColor - Variable in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- colorMappingRGB - Variable in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- colorProvider - Variable in class de.engehausen.treemap.swing.TreeMap
- colors - Variable in class de.engehausen.treemap.swing.impl.DefaultColorProvider
- COLORS - Static variable in class de.engehausen.treemap.swing.impl.DefaultColorProvider
- createColorRange(Color) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- createCushion(IRectangle<N>, int[], int, int) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- currentRoot - Variable in class de.engehausen.treemap.swing.TreeMap
- CushionRectangleRenderer<N> - Class in de.engehausen.treemap.swing.impl
-
Rectangle renderer that attempts to produce a "cushion effect" for the rectangles.
- CushionRectangleRenderer(int) - Constructor for class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
-
TODO puh, maybe don't offer the size option
- CushionRectangleRendererEx<N> - Class in de.engehausen.treemap.swing.impl
-
Rectangle renderer that attempts to produce a "cushion effect" for the rectangles.
- CushionRectangleRendererEx(int) - Constructor for class de.engehausen.treemap.swing.impl.CushionRectangleRendererEx
D
- de.engehausen.treemap.swing - package de.engehausen.treemap.swing
-
The Swing version of the tree map.
- de.engehausen.treemap.swing.impl - package de.engehausen.treemap.swing.impl
-
Swing-specific implementations for some tree map UI interfaces.
- DefaultColorProvider<N> - Class in de.engehausen.treemap.swing.impl
-
The default color provider uses a set of colors mapped to nodes by their hash code (this may appear a little random, but makes them distinguishable a bit better).
- DefaultColorProvider() - Constructor for class de.engehausen.treemap.swing.impl.DefaultColorProvider
-
Create a color provider with blue pastel colors.
- DefaultColorProvider(Color[]) - Constructor for class de.engehausen.treemap.swing.impl.DefaultColorProvider
-
Creates the color provider with the given colors.
- defaultInstance() - Static method in class de.engehausen.treemap.swing.impl.DefaultRectangleRenderer
- DefaultRectangleRenderer<N> - Class in de.engehausen.treemap.swing.impl
-
The default rectangle renderer simply renders the given rectangle using the color provided by the color provider.
- DefaultRectangleRenderer() - Constructor for class de.engehausen.treemap.swing.impl.DefaultRectangleRenderer
- drawBusy(Graphics2D) - Method in class de.engehausen.treemap.swing.TreeMap
-
Called when the tree map is busy during rendering.
F
- findRectangle(int, int) - Method in class de.engehausen.treemap.swing.TreeMap
-
Find the smallest rectangle in the model containing the given coordinates.
- font - Variable in class de.engehausen.treemap.swing.impl.LabelRenderer
- font - Variable in class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
G
- gc - Variable in class de.engehausen.treemap.swing.TreeMap
- getColor(ITreeModel<IRectangle<N>>, IRectangle<N>) - Method in class de.engehausen.treemap.swing.impl.DefaultColorProvider
- getColor(ITreeModel<IRectangle<N>>, IRectangle<N>) - Method in class de.engehausen.treemap.swing.impl.MonoColorProvider
- getColorProvider() - Method in class de.engehausen.treemap.swing.TreeMap
-
Returns the color provider the tree map uses.
- getColorRange(Color) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- getCurrentTreeModel() - Method in class de.engehausen.treemap.swing.TreeMap
-
Returns the model currently being used by the tree map.
- getDarker(Color) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- getLabelProvider() - Method in class de.engehausen.treemap.swing.TreeMap
-
Returns the currently active label provider of this tree map.
- getRectangleRenderer() - Method in class de.engehausen.treemap.swing.TreeMap
-
Returns the rectangle renderer used by the tree map.
- getTreeModel() - Method in class de.engehausen.treemap.swing.TreeMap
-
Deprecated.
H
- highlight - Variable in class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
- highlight(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.BorderRenderer
- highlight(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- highlight(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.DefaultRectangleRenderer
- highlight(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.LabelRenderer
- highlight(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
- highlightParents(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- highlightParents(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRendererEx
I
L
- labelProvider - Variable in class de.engehausen.treemap.swing.TreeMap
- LabelRenderer<N> - Class in de.engehausen.treemap.swing.impl
-
Renders labels for rectangles.
- LabelRenderer(Font) - Constructor for class de.engehausen.treemap.swing.impl.LabelRenderer
-
Create the renderer using the given font.
- LabelRenderer(Font, boolean) - Constructor for class de.engehausen.treemap.swing.impl.LabelRenderer
-
Create the renderer using the given font.
- layout - Variable in class de.engehausen.treemap.swing.TreeMap
- leafRenderer - Variable in class de.engehausen.treemap.swing.impl.BorderRenderer
- len - Variable in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- listeners - Variable in class de.engehausen.treemap.swing.TreeMap
M
- model - Variable in class de.engehausen.treemap.swing.TreeMap
- MonoColorProvider<N> - Class in de.engehausen.treemap.swing.impl
-
Assigns all nodes the same color (light gray).
- MonoColorProvider() - Constructor for class de.engehausen.treemap.swing.impl.MonoColorProvider
- mouseClicked(MouseEvent) - Method in class de.engehausen.treemap.swing.TreeMapMouseController
- mouseDragged(MouseEvent) - Method in class de.engehausen.treemap.swing.TreeMapMouseController
- mouseEntered(MouseEvent) - Method in class de.engehausen.treemap.swing.TreeMapMouseController
- mouseExited(MouseEvent) - Method in class de.engehausen.treemap.swing.TreeMapMouseController
- mouseMoved(MouseEvent) - Method in class de.engehausen.treemap.swing.TreeMapMouseController
- mousePressed(MouseEvent) - Method in class de.engehausen.treemap.swing.TreeMapMouseController
- mouseReleased(MouseEvent) - Method in class de.engehausen.treemap.swing.TreeMapMouseController
N
- normal - Variable in class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
P
- paintComponent(Graphics) - Method in class de.engehausen.treemap.swing.TreeMap
- paintCushion(Graphics2D, Color, IRectangle<N>) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
R
- rebuildImage(int, int, ITreeModel<IRectangle<N>>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Rebuilds the image buffer used for rendering the tree map quickly.
- recalculate() - Method in class de.engehausen.treemap.swing.TreeMap
-
Recalculates the rectangle tree model and internal image in a separated thread.
- rectangles - Variable in class de.engehausen.treemap.swing.TreeMap
- refresh() - Method in class de.engehausen.treemap.swing.TreeMap
-
Force a refresh of the paint buffer; this may be needed if the colors provided by the
IColorProviderhave changed. - removeSelectionChangeListener(ISelectionChangeListener<N>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Removes the given change event listener.
- render(Graphics2D, ITreeModel<IRectangle<N>>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Renders the rectangles of the tree map.
- render(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>) - Method in class de.engehausen.treemap.swing.TreeMap
- render(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.BorderRenderer
- render(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- render(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.DefaultRectangleRenderer
- render(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.LabelRenderer
- render(Graphics2D, ITreeModel<IRectangle<N>>, IRectangle<N>, IColorProvider<N, Color>, ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
- render(Graphics2D, String, Color, IRectangle<N>) - Method in class de.engehausen.treemap.swing.impl.LabelRenderer
-
Renders a label for the given rectangle if possible.
- render(Graphics2D, String, Color, IRectangle<N>) - Method in class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
-
Renders a label for the given rectangle.
- renderer - Variable in class de.engehausen.treemap.swing.TreeMap
- renderSlow(BufferedImage, int, int, int[]) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
S
- ScalingLabelRenderer<N> - Class in de.engehausen.treemap.swing.impl
-
Renders labels for rectangles scaled to fit the rectangles, keeping proportion of the font used.
- ScalingLabelRenderer(Font, Color, Color) - Constructor for class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
-
Create the renderer using the given font and label colors.
- ScalingLabelRenderer(Font, Color, Color, boolean) - Constructor for class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
-
Create the renderer using the given font and label colors.
- selected - Variable in class de.engehausen.treemap.swing.TreeMap
- selectRectangle(int, int) - Method in class de.engehausen.treemap.swing.TreeMap
-
Try to select a rectangle at the given coordinates (which are relative to the widget).
- setColorProvider(IColorProvider<N, Color>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Sets the color provider the tree map will use during rendering.
- setLabelProvider(ILabelProvider<N>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Sets the label provider the tree map will use during rendering.
- setRectangleRenderer(IRectangleRenderer<N, Graphics2D, Color>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Sets the rectangle renderer the tree map will use.
- setTreeMapLayout(ITreeMapLayout<N>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Sets the layout for the tree map.
- setTreeModel(IGenericWeightedTreeModel<N, T>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Sets the model to use in this tree map.
- setTreeModel(IWeightedTreeModel<N>) - Method in class de.engehausen.treemap.swing.TreeMap
-
Sets the model to use in this tree map.
- setupGraphics(Graphics2D) - Method in class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
-
Sets up the graphics object for rendering the text.
- showRoot - Variable in class de.engehausen.treemap.swing.impl.LabelRenderer
- showRoot - Variable in class de.engehausen.treemap.swing.impl.ScalingLabelRenderer
T
- toRGB(float, float, float) - Method in class de.engehausen.treemap.swing.impl.CushionRectangleRenderer
- treemap - Variable in class de.engehausen.treemap.swing.TreeMapMouseController
- TreeMap<N> - Class in de.engehausen.treemap.swing
-
Tree map UI widget.
- TreeMap() - Constructor for class de.engehausen.treemap.swing.TreeMap
-
Create the tree map (supporting navigation).
- TreeMap(boolean) - Constructor for class de.engehausen.treemap.swing.TreeMap
-
Creates the tree map.
- TreeMap(boolean, boolean) - Constructor for class de.engehausen.treemap.swing.TreeMap
-
Creates the tree map.
- TreeMapMouseController<N> - Class in de.engehausen.treemap.swing
-
This class registers mouse and mouse motion listeners with the tree map to be able to handle desired mouse events (i.e mouse move for tooltips & highlighting, mouse released and so on).
- TreeMapMouseController(TreeMap<N>) - Constructor for class de.engehausen.treemap.swing.TreeMapMouseController
-
Creates a controller object that will register the mouse and mouse motion listeners to the treemap.
All Classes and Interfaces|All Packages|Serialized Form
TreeMap.getCurrentTreeModel()instead Returns the model currently being used by the tree map.