| Package | Description |
|---|---|
| net.sf.jtreemap.swing |
JTreeMap main package.
|
| net.sf.jtreemap.swing.example |
This package contains the demo for jtreemap applet and
application.
|
| net.sf.jtreemap.swing.provider |
This package contains some colour/color providers and the zoom
menu.
|
| Modifier and Type | Method and Description |
|---|---|
TreeMapNode |
TreeMapNodeBuilder.buildBranch(String label,
TreeMapNode parent)
Add a branch to the tree.
|
TreeMapNode |
TreeMapNodeBuilder.buildLeaf(String label,
double weight,
Value value,
TreeMapNode parent)
add a leaf to the tree.
|
TreeMapNode |
JTreeMap.getActiveLeaf()
get the active leaf (the one under the mouse).
|
TreeMapNode |
TreeMapNode.getActiveLeaf(int xParam,
int yParam)
get the active leaf.
null if the passed position is not in this tree. |
TreeMapNode |
TreeMapNode.getChild(int xParam,
int yParam)
get the first child which fits the position.
null if the passed position is not in this tree. |
TreeMapNode |
JTreeMap.getDisplayedRoot()
get the displayed root.
|
TreeMapNode |
TreeMapNodeBuilder.getRoot()
get the build tree.
|
TreeMapNode |
JTreeMap.getRoot()
get the root.
|
| Modifier and Type | Method and Description |
|---|---|
List<TreeMapNode> |
TreeMapNode.getChildren()
get a List with the children.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeMapNode.add(TreeMapNode newChild)
add a new child to the node.
|
TreeMapNode |
TreeMapNodeBuilder.buildBranch(String label,
TreeMapNode parent)
Add a branch to the tree.
|
TreeMapNode |
TreeMapNodeBuilder.buildLeaf(String label,
double weight,
Value value,
TreeMapNode parent)
add a leaf to the tree.
|
void |
SplitStrategy.calculatePositions(TreeMapNode root)
calculate the positions for all the elements of the root.
|
protected void |
JTreeMap.draw(Graphics g,
TreeMapNode item)
draw the item.
|
protected void |
JTreeMap.drawLabel(Graphics g,
TreeMapNode item)
write the label in the middle of the item.
|
protected void |
JTreeMap.drawLabels(Graphics g,
TreeMapNode item)
Draw all the labels to draw.
|
protected void |
JTreeMap.reveal(Graphics g,
TreeMapNode item)
reveal the item.
|
void |
JTreeMap.setActiveLeaf(TreeMapNode newActiveLeaf)
set the active leaf.
|
void |
JTreeMap.setDisplayedRoot(TreeMapNode newDisplayedRoot)
set the displayed root.
|
void |
JTreeMap.setRoot(TreeMapNode newRoot)
set the new root.
|
void |
JTreeMap.zoom(TreeMapNode dest)
Zoom the JTreeMap to the dest node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SplitBySlice.calculatePositionsRec(int x0,
int y0,
int w0,
int h0,
double weight0,
List<TreeMapNode> v) |
protected void |
SplitStrategy.calculatePositionsRec(int x0,
int y0,
int w0,
int h0,
double weight0,
List<TreeMapNode> v) |
protected void |
SplitSquarified.calculatePositionsRec(int x0,
int y0,
int w0,
int h0,
double weight0,
List<TreeMapNode> v) |
protected void |
SplitStrategy.sortList(List<TreeMapNode> v)
Sort the elements by descending weight.
|
void |
SplitByWeight.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitByWeight.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitByWeight.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitByNumber.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitByNumber.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitByNumber.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitBySlice.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitBySlice.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitBySlice.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
abstract void |
SplitStrategy.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2)
split the elements of a JTreeMap.
|
abstract void |
SplitStrategy.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2)
split the elements of a JTreeMap.
|
abstract void |
SplitStrategy.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2)
split the elements of a JTreeMap.
|
void |
SplitSquarified.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitSquarified.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitSquarified.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitBySortedWeight.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitBySortedWeight.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
void |
SplitBySortedWeight.splitElements(List<TreeMapNode> v,
List<TreeMapNode> v1,
List<TreeMapNode> v2) |
static void |
SplitBySlice.splitInSlice(int x0,
int y0,
int w0,
int h0,
List<TreeMapNode> v,
double sumWeight)
Calculate the dimension of the elements of the List.
|
double |
SplitByNumber.sumWeight(List<TreeMapNode> v) |
double |
SplitStrategy.sumWeight(List<TreeMapNode> v)
Sum the weight of elements.
|
protected void |
SplitStrategy.workOutWeight(List<TreeMapNode> v1,
List<TreeMapNode> v2,
List<TreeMapNode> vClone,
double sumWeight) |
protected void |
SplitStrategy.workOutWeight(List<TreeMapNode> v1,
List<TreeMapNode> v2,
List<TreeMapNode> vClone,
double sumWeight) |
protected void |
SplitStrategy.workOutWeight(List<TreeMapNode> v1,
List<TreeMapNode> v2,
List<TreeMapNode> vClone,
double sumWeight) |
| Constructor and Description |
|---|
JTreeMap(TreeMapNode root)
Constructor of JTreeMap.
|
JTreeMap(TreeMapNode root,
JTree treeView)
Constructor of JTreeMap.
|
JTreeMap(TreeMapNode root,
SplitStrategy strategy,
JTree treeView,
String weightPrefix,
String valuePrefix,
boolean showWeight)
Constructor of JTreeMap.
|
JTreeMap(TreeMapNode root,
SplitStrategy strategy,
String weightPrefix,
String valuePrefix,
boolean showWeight)
Constructor of JTreeMap.
|
| Modifier and Type | Method and Description |
|---|---|
static TreeMapNode |
DemoUtil.buildDemoRoot()
This method build a default TreeMap root.
|
TreeMapNode |
BuilderTM3.getRoot()
get the build root.
|
TreeMapNode |
BuilderXML.getRoot()
get the build root
|
| Constructor and Description |
|---|
ZoomAction(JTreeMap jTreeMap,
TreeMapNode node,
Icon icon)
Constructor
|
Copyright © 2005–2019 Appendium - Portfolio Financing Platform. All rights reserved.