|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.plugin.fibheap.FibNodeObj
public class FibNodeObj
Relevance: Animation programmer
Since: 0.951, version 0.99rc1
Implementation of the LabelledNodeItem interface (which is a
sub-interface of NodeItem).
A NodeObj consists of an OvalObj and three TextObj instances: the node visualizer and three different labels, one to the left, one in the center and one at the right of the node.
FibNodeObj instances do not have any other properties than these labels, especially don't they have a value or a balance.
NodeItem,
LabelledNodeItem,
SearchNodeObj| Constructor Summary | |
|---|---|
FibNodeObj(jedas.DPair pos)
Relevance: Animation programmer Since: 0.951, version 0.99rc1 Create a NodeObj instance with the given parameters. |
|
FibNodeObj(jedas.DPair pos,
java.lang.String c)
Relevance: Animation programmer Since: 0.951, version 0.99rc1 Create a NodeObj instance with the given parameters. |
|
FibNodeObj(jedas.DPair pos,
java.lang.String c,
java.lang.String l,
java.lang.String r)
Relevance: Animation programmer Since: 0.951, version 0.99rc1 Create a NodeObj instance with the given parameters. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCenterLabel()
Relevance: Animation programmer Since: 0.951, version 0.99rc1 |
java.awt.Color |
getFillColor()
|
int |
getHeight()
Relevance: Since: 0.951, version 0.99rc1 |
double |
getLeftDistance()
Relevance: Lib programmer Since: 0.951, version 0.99rc1 |
java.lang.String |
getLeftLabel()
Relevance: Animation programmer Since: 0.951, version 0.99rc1 |
double |
getRightDistance()
Relevance: Lib programmer Since: 0.951, version 0.99rc1 |
java.lang.String |
getRightLabel()
Relevance: Animation programmer Since: 0.951, version 0.99rc1 |
jedas.trees.TreeNode |
getTreeNode()
Relevance: Lib programmer Since: 0.99rc1, version 0.99rc1 |
boolean |
isFilled()
|
void |
setCenterLabel(java.lang.String c)
Relevance: Animation programmer Since: 0.951, version 0.99rc1 Set the text of the center label. |
void |
setFillColor(java.awt.Color color)
|
void |
setFillColorTrans(java.awt.Color color)
|
void |
setFilled(boolean b)
|
void |
setFilledTrans(boolean b)
|
void |
setHighlight(boolean b)
Relevance: Animation programmer Since: 0.951, version 0.99rc1 Highlight the NodeObj. |
void |
setLeftLabel(java.lang.String l)
Relevance: Animation programmer Since: 0.951, version 0.99rc1 Set the text of the left label. |
void |
setRightLabel(java.lang.String r)
Relevance: Animation programmer Since: 0.951, version 0.99rc1 Set the text of the left label. |
void |
setTreeNode(jedas.trees.TreeNode treeNode)
Relevance: Lib internal Since: 0.99rc1, version 0.99rc1 Set the TreeNode instance this object is a visualizer for. |
java.lang.String |
toString()
Relevance: Debugging Since: 0.951, version 0.99rc1 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FibNodeObj(jedas.DPair pos)
pos - the position of the object
public FibNodeObj(jedas.DPair pos,
java.lang.String c)
pos - the position of the objectc - the String for the center label
public FibNodeObj(jedas.DPair pos,
java.lang.String c,
java.lang.String l,
java.lang.String r)
pos - the position of the objectc - the String for the center labell - the String for the left labelr - the String for the right label| Method Detail |
|---|
public double getLeftDistance()
NodeItem.getLeftDistance()public double getRightDistance()
NodeItem.getRightDistance()public void setLeftLabel(java.lang.String l)
l - the String for the left labelpublic java.lang.String getLeftLabel()
public void setCenterLabel(java.lang.String c)
c - the String for the center labelpublic java.lang.String getCenterLabel()
public void setRightLabel(java.lang.String r)
r - the String for the right labelpublic java.lang.String getRightLabel()
public void setHighlight(boolean b)
b - if true, the color is set to light red (0xffaaaa),
otherwise Color.whitepublic int getHeight()
NodeItem.getHeight()public void setTreeNode(jedas.trees.TreeNode treeNode)
public jedas.trees.TreeNode getTreeNode()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setFillColor(java.awt.Color color)
public void setFillColorTrans(java.awt.Color color)
public java.awt.Color getFillColor()
public void setFilled(boolean b)
public void setFilledTrans(boolean b)
public boolean isFilled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||