org.hfbk.vis.visnode.VisText Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisText:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.VisText:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

a vertical text panel in 3d space, aligned to the x, y plane.

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

Author:
student

Definition at line 31 of file VisText.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisText.VisText ( Node  n,
Vector3f  pos 
)

creates a text plane.

Parameters:
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.

See also:
VisText(Node,Vector3f)
Parameters:
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.


Member Function Documentation

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:


Member Data Documentation

final int org.hfbk.vis.visnode.VisText.MINWIDTH = 34 [package]

Definition at line 33 of file VisText.java.

Referenced by org.hfbk.vis.visnode.VisText.VisText().

final float org.hfbk.vis.visnode.VisText.ASPECT = 0.8f [package]

Definition at line 34 of file VisText.java.

Referenced by org.hfbk.vis.visnode.VisText.VisText().

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().

VisNode org.hfbk.vis.visnode.VisText.explodeButton [package]

Definition at line 79 of file VisText.java.

Referenced by org.hfbk.vis.visnode.VisText.showUI().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 18:00:06 2009 for visclient by  doxygen 1.5.1