org.hfbk.vis.visnode.VisImagefield Class Reference

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisImagefield (Node n, Vector3f position)
void add (VisNode node)

Package Functions

void setLayout (int mode)
float frac (float x)
void computeLayout ()
void renderSelf ()
void handleEvent (VisMouseEvent evt)
void propagateLayout (int mode)
void fetchMore ()

Package Attributes

final float LAYOUT_TIME = 3
final int LAYOUT_STACK = 0
final int LAYOUT_PLANE = 1
final int LAYOUT_SPIRAL = 2
final int LAYOUT_CLOUD = 3
final int LAYOUTS_END = 4
Vector3f[] targetPos
float layoutEta = LAYOUT_TIME
int layoutMode = LAYOUT_PLANE
VisNode morebutton = null

Classes

class  MoreButton

Detailed Description

container class for VisImages, adding some UI to toggle between different layouts with animated transition.

Definition at line 19 of file VisImagefield.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisImagefield.VisImagefield ( Node  n,
Vector3f  position 
)

Definition at line 27 of file VisImagefield.java.

References org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisNode.layoutLocked, org.hfbk.vis.visnode.VisNode.radius, and org.hfbk.vis.visnode.VisNodeMousable.w.


Member Function Documentation

void org.hfbk.vis.visnode.VisImagefield.setLayout ( int  mode  )  [package]

Definition at line 40 of file VisImagefield.java.

References org.hfbk.vis.visnode.VisImagefield.LAYOUT_TIME, org.hfbk.vis.visnode.VisImagefield.layoutEta, org.hfbk.vis.visnode.VisNode.layoutLocked, org.hfbk.vis.visnode.VisImagefield.layoutMode, and org.hfbk.vis.visnode.VisImagefield.targetPos.

Referenced by org.hfbk.vis.visnode.VisImagefield.handleEvent(), org.hfbk.vis.visnode.VisImagefield.propagateLayout(), and org.hfbk.vis.visnode.VisDir.renderSelf().

Here is the caller graph for this function:

float org.hfbk.vis.visnode.VisImagefield.frac ( float  x  )  [package]

Definition at line 50 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.computeLayout().

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisImagefield.computeLayout (  )  [package]

generate some of our nifty layouts

Definition at line 58 of file VisImagefield.java.

References org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisImagefield.frac(), org.hfbk.vis.visnode.VisImagefield.LAYOUT_CLOUD, org.hfbk.vis.visnode.VisImagefield.LAYOUT_PLANE, org.hfbk.vis.visnode.VisImagefield.LAYOUT_SPIRAL, org.hfbk.vis.visnode.VisImagefield.LAYOUT_STACK, org.hfbk.vis.visnode.VisImagefield.layoutMode, and org.hfbk.vis.visnode.VisImagefield.targetPos.

Referenced by org.hfbk.vis.visnode.VisImagefield.renderSelf().

Here is the call graph for this function:

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisImagefield.renderSelf (  )  [package, virtual]

do layout

Implements org.hfbk.vis.visnode.VisNode.

Reimplemented in org.hfbk.vis.visnode.VisDir.

Definition at line 124 of file VisImagefield.java.

References org.hfbk.vis.visnode.VisImagefield.add(), org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisRoot.client, org.hfbk.vis.visnode.VisImagefield.computeLayout(), org.hfbk.vis.VisClient.dt, org.hfbk.vis.visnode.VisNode.getRoot(), org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisNodeMousable.isHoovered, org.hfbk.vis.visnode.VisImagefield.layoutEta, org.hfbk.vis.visnode.VisNode.layoutLocked, org.hfbk.vis.visnode.VisImagefield.morebutton, org.hfbk.vis.visnode.VisImagefield.targetPos, org.hfbk.vis.visnode.VisNode.url, and org.hfbk.vis.visnode.VisNodeMousable.w.

Here is the call graph for this function:

void org.hfbk.vis.visnode.VisImagefield.handleEvent ( VisMouseEvent  evt  )  [package]

toggle one step through the layout modes.

right mouse button enforces layout to all further imagefields

Reimplemented from org.hfbk.vis.visnode.VisNodeDraggable.

Definition at line 178 of file VisImagefield.java.

References org.hfbk.vis.visnode.VisImagefield.layoutMode, org.hfbk.vis.visnode.VisImagefield.LAYOUTS_END, and org.hfbk.vis.visnode.VisImagefield.setLayout().

Here is the call graph for this function:

void org.hfbk.vis.visnode.VisImagefield.propagateLayout ( int  mode  )  [package]

Definition at line 193 of file VisImagefield.java.

References org.hfbk.vis.visnode.VisNode.children, and org.hfbk.vis.visnode.VisImagefield.setLayout().

Referenced by org.hfbk.vis.visnode.VisImagefield.add().

Here is the call graph for this function:

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisImagefield.add ( VisNode  node  ) 

we add incoming imagefields to the head instead the end of our children list. this enables new fetched things to use the last position when layouted.

Reimplemented from org.hfbk.vis.visnode.VisNode.

Definition at line 205 of file VisImagefield.java.

References org.hfbk.vis.visnode.VisNode.children, org.hfbk.vis.visnode.VisImagefield.layoutMode, org.hfbk.vis.visnode.VisNode.node, and org.hfbk.vis.visnode.VisImagefield.propagateLayout().

Referenced by org.hfbk.vis.visnode.VisImagefield.renderSelf(), and org.hfbk.vis.visnode.VisDir.renderSelf().

Here is the call graph for this function:

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisImagefield.fetchMore (  )  [package]

do a fetch with increase start parameter to assemble a new field of further hits.

Definition at line 218 of file VisImagefield.java.

References org.hfbk.vis.visnode.VisRoot.fetch(), org.hfbk.vis.visnode.VisNode.getRoot(), and org.hfbk.vis.visnode.VisNode.url.

Referenced by org.hfbk.vis.visnode.VisImagefield.MoreButton.handleClick().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

final float org.hfbk.vis.visnode.VisImagefield.LAYOUT_TIME = 3 [package]

Definition at line 21 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.setLayout().

final int org.hfbk.vis.visnode.VisImagefield.LAYOUT_STACK = 0 [package]

Definition at line 22 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.computeLayout().

final int org.hfbk.vis.visnode.VisImagefield.LAYOUT_PLANE = 1 [package]

Definition at line 22 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.computeLayout().

final int org.hfbk.vis.visnode.VisImagefield.LAYOUT_SPIRAL = 2 [package]

Definition at line 22 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.computeLayout().

final int org.hfbk.vis.visnode.VisImagefield.LAYOUT_CLOUD = 3 [package]

Definition at line 22 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.computeLayout().

final int org.hfbk.vis.visnode.VisImagefield.LAYOUTS_END = 4 [package]

Definition at line 22 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.handleEvent().

Vector3f [] org.hfbk.vis.visnode.VisImagefield.targetPos [package]

Definition at line 24 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.computeLayout(), org.hfbk.vis.visnode.VisImagefield.renderSelf(), and org.hfbk.vis.visnode.VisImagefield.setLayout().

float org.hfbk.vis.visnode.VisImagefield.layoutEta = LAYOUT_TIME [package]

Definition at line 34 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.renderSelf(), and org.hfbk.vis.visnode.VisImagefield.setLayout().

int org.hfbk.vis.visnode.VisImagefield.layoutMode = LAYOUT_PLANE [package]

Definition at line 36 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.add(), org.hfbk.vis.visnode.VisImagefield.computeLayout(), org.hfbk.vis.visnode.VisImagefield.handleEvent(), org.hfbk.vis.visnode.VisDir.renderSelf(), and org.hfbk.vis.visnode.VisImagefield.setLayout().

VisNode org.hfbk.vis.visnode.VisImagefield.morebutton = null [package]

Definition at line 38 of file VisImagefield.java.

Referenced by org.hfbk.vis.visnode.VisImagefield.renderSelf().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:59:20 2009 for visclient by  doxygen 1.5.1