Public Member Functions | |
VisText (Node n, Vector3f pos) | |
VisText (Node n, Vector3f pos, int width) | |
void | renderSelf () |
Package Functions | |
void | showUI () |
void | spillKeywords () |
Package Attributes | |
final int | MINWIDTH = 34 |
final float | ASPECT = 0.8f |
String[] | words |
GLTextPanel | tp |
int | dl |
VisNode | explodeButton |
Classes | |
class | SmallButton |
the text is truncated to MAXLENGTH caracters, then layouted to a panel of MINWIDTH width as long as the panels width targets below MINWIDTH*ASPECT. If this doesn't hold, the panel is grown with constant ASPECT to match the area of the text.
Created on 15.04.2008
Definition at line 31 of file VisText.java.
org.hfbk.vis.visnode.VisText.VisText | ( | Node | n, | |
Vector3f | pos | |||
) |
creates a text plane.
node | the text node to show on the plane | |
pos | the position of the plane |
Definition at line 45 of file VisText.java.
References org.hfbk.vis.visnode.VisText.ASPECT, org.dronus.graph.Node.getSubNodeText(), org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisText.MINWIDTH, org.hfbk.vis.visnode.VisNode.radius, org.dronus.graph.Node.text, org.hfbk.vis.visnode.VisNode.url, and org.hfbk.vis.visnode.VisNodeMousable.w.
Here is the call graph for this function:
org.hfbk.vis.visnode.VisText.VisText | ( | Node | n, | |
Vector3f | pos, | |||
int | width | |||
) |
creates a text plane with given width.
width | the width of this textpanel |
Definition at line 69 of file VisText.java.
References org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisNode.radius, and org.hfbk.vis.visnode.VisNodeMousable.w.
void org.hfbk.vis.visnode.VisText.showUI | ( | ) | [package] |
Definition at line 81 of file VisText.java.
References org.hfbk.vis.visnode.VisNode.add(), org.hfbk.vis.visnode.VisText.explodeButton, org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisNodeDraggable.handleEvent(), org.hfbk.vis.visnode.VisNode.parent, org.hfbk.vis.visnode.VisNode.remove(), org.hfbk.vis.visnode.VisText.spillKeywords(), and org.hfbk.vis.visnode.VisNodeMousable.w.
Referenced by org.hfbk.vis.visnode.VisText.renderSelf().
Here is the call graph for this function:
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisText.spillKeywords | ( | ) | [package] |
Definition at line 111 of file VisText.java.
References org.hfbk.vis.visnode.VisNode.add(), org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisNode.layoutLocked, and org.hfbk.vis.visnode.VisText.words.
Referenced by org.hfbk.vis.visnode.VisText.showUI().
Here is the call graph for this function:
Here is the caller graph for this function:
void org.hfbk.vis.visnode.VisText.renderSelf | ( | ) | [virtual] |
render this text plane.
if we have keywords attached, those are layouted.
Implements org.hfbk.vis.visnode.VisNode.
Definition at line 138 of file VisText.java.
References org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisText.dl, org.dronus.gl.GLTextPanel.h, org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisNodeMousable.isHoovered, org.hfbk.vis.visnode.VisNode.node, org.hfbk.vis.visnode.VisNode.radius, org.hfbk.vis.visnode.VisNode.remove(), org.dronus.gl.GLTextPanel.render(), org.hfbk.vis.visnode.VisText.showUI(), org.dronus.graph.Node.text, org.hfbk.vis.visnode.VisText.tp, and org.hfbk.vis.visnode.VisNodeMousable.w.
Here is the call graph for this function:
final int org.hfbk.vis.visnode.VisText.MINWIDTH = 34 [package] |
final float org.hfbk.vis.visnode.VisText.ASPECT = 0.8f [package] |
String [] org.hfbk.vis.visnode.VisText.words [package] |
Definition at line 35 of file VisText.java.
Referenced by org.hfbk.vis.visnode.VisText.spillKeywords().
GLTextPanel org.hfbk.vis.visnode.VisText.tp [package] |
Definition at line 37 of file VisText.java.
Referenced by org.hfbk.vis.visnode.VisText.renderSelf().
int org.hfbk.vis.visnode.VisText.dl [package] |
Definition at line 38 of file VisText.java.
Referenced by org.hfbk.vis.visnode.VisText.renderSelf().