org.hfbk.vis.visnode.VisMenu Class Reference

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

Inheritance graph
Collaboration diagram for org.hfbk.vis.visnode.VisMenu:

Collaboration graph
List of all members.

Package Functions

 VisMenu (List< String > items, VisMenuListener listener)
void handleEvent (VisMouseEvent evt)
void renderSelf ()

Package Attributes

List< String > items
GLTextPanel itemText
VisMenuListener listener


interface  VisMenuListener

Detailed Description

a simple text popup menu. this is used by the keyword upon click and hides itself on a click.

the clicked source is then fetched by the client with respect to the keyword this menu is attached on

Definition at line 28 of file

Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisMenu.VisMenu ( List< String >  items,
VisMenuListener  listener 
) [package]

items string array of menu items.

Definition at line 43 of file

References org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisMenu.itemText, org.hfbk.vis.visnode.VisMenu.listener, org.hfbk.vis.visnode.VisNode.position, org.hfbk.vis.visnode.VisNode.radius, and org.hfbk.vis.visnode.VisNodeMousable.w.

Member Function Documentation

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

on click we tell client to fetch the selected source

Definition at line 60 of file

References org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisMenu.items, org.hfbk.vis.visnode.VisMenu.listener, org.hfbk.vis.visnode.VisMenu.VisMenuListener.menuAction(), org.hfbk.vis.visnode.VisNode.parent, and org.hfbk.vis.visnode.VisNode.remove().

Here is the call graph for this function:

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

implement this to actually render this node itself. also used to update a node's state.

things not seen also do not update. this is sometimes akward, sometimes useful, eg. a movie not seen does not advance

Implements org.hfbk.vis.visnode.VisNode.

Definition at line 72 of file

References org.hfbk.vis.visnode.VisNodeMousable.h, org.hfbk.vis.visnode.VisMenu.items, org.hfbk.vis.visnode.VisMenu.itemText,, and org.hfbk.vis.visnode.VisNodeMousable.w.

Here is the call graph for this function:

Member Data Documentation

List<String> org.hfbk.vis.visnode.VisMenu.items [package]

Definition at line 31 of file

Referenced by org.hfbk.vis.visnode.VisMenu.handleEvent(), and org.hfbk.vis.visnode.VisMenu.renderSelf().

GLTextPanel org.hfbk.vis.visnode.VisMenu.itemText [package]

Definition at line 32 of file

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

VisMenuListener org.hfbk.vis.visnode.VisMenu.listener [package]

Definition at line 33 of file

Referenced by org.hfbk.vis.visnode.VisMenu.handleEvent(), and org.hfbk.vis.visnode.VisMenu.VisMenu().

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