@Deprecated public class TopicTreeRendrer extends Object
Modifier and Type | Field and Description |
---|---|
protected Collection<TopicIF> |
bnscope
Deprecated.
|
protected TopicIF |
current
Deprecated.
|
protected Graphics2D |
g2d
Deprecated.
|
protected int |
height
Deprecated.
|
protected TopicTreeNode |
root
Deprecated.
|
protected Function<TopicIF,String> |
str
Deprecated.
|
protected String |
title
Deprecated.
|
protected Collection<TopicIF> |
vnscope
Deprecated.
|
protected int |
x
Deprecated.
|
protected int |
xmargin
Deprecated.
|
protected int |
xoffset
Deprecated.
|
protected int |
xtextmargin
Deprecated.
|
protected int |
y
Deprecated.
|
protected int |
ymargin
Deprecated.
|
protected int |
yoffset
Deprecated.
|
protected int |
ytextmargin
Deprecated.
|
Constructor and Description |
---|
TopicTreeRendrer(TopicTreeNode root,
TopicIF current)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g2d)
Deprecated.
|
protected int |
drawNode(TopicTreeNode node)
Deprecated.
|
protected int |
getBottom(int y)
Deprecated.
|
protected int |
getLeft(int x)
Deprecated.
|
int |
getMaxX()
Deprecated.
|
protected int |
getMaxX(TopicTreeNode node,
int x)
Deprecated.
|
int |
getMaxY()
Deprecated.
|
protected int |
getMaxY(TopicTreeNode node,
int y)
Deprecated.
|
protected int |
getMiddle(int y)
Deprecated.
|
protected int |
getRight(int x,
String title)
Deprecated.
|
protected int |
getTextStart(int x)
Deprecated.
|
protected int |
getTextTop(int y)
Deprecated.
|
protected String |
getTitle(TopicTreeNode node)
Deprecated.
|
protected int |
getTop(int y)
Deprecated.
|
protected int |
getWidth(String title)
Deprecated.
|
BufferedImage |
renderImage()
Deprecated.
|
void |
setTitle(String title)
Deprecated.
|
void |
setTopicNameScope(Collection<TopicIF> bnscope)
Deprecated.
|
void |
setVariantScope(Collection<TopicIF> vnscope)
Deprecated.
|
protected TopicTreeNode root
protected TopicIF current
protected Graphics2D g2d
protected String title
protected Collection<TopicIF> bnscope
protected Collection<TopicIF> vnscope
protected int x
protected int y
protected int xmargin
protected int ymargin
protected int xoffset
protected int yoffset
protected int xtextmargin
protected int ytextmargin
protected int height
public TopicTreeRendrer(TopicTreeNode root, TopicIF current)
public void draw(Graphics2D g2d)
public BufferedImage renderImage()
public void setTitle(String title)
public int getMaxX()
public int getMaxY()
public void setTopicNameScope(Collection<TopicIF> bnscope)
public void setVariantScope(Collection<TopicIF> vnscope)
protected int drawNode(TopicTreeNode node)
protected int getLeft(int x)
protected int getRight(int x, String title)
protected int getWidth(String title)
protected int getTop(int y)
protected int getMiddle(int y)
protected int getBottom(int y)
protected int getTextStart(int x)
protected int getTextTop(int y)
protected int getMaxX(TopicTreeNode node, int x)
protected int getMaxY(TopicTreeNode node, int y)
protected String getTitle(TopicTreeNode node)