maspack.widgets
Class ViewerPopupManager

java.lang.Object
  extended by maspack.widgets.ViewerPopupManager
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ViewerPopupManager
extends java.lang.Object
implements java.awt.event.ActionListener

This class implements a number of commands that are convenient for controlling a GLViewer, particularly from a pull-down menu.


Constructor Summary
ViewerPopupManager(GLViewer viewer)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Should be overridden as needed by subclasses.
 PropertyDialog createPropertyDialog(java.lang.String controlStr)
           
 GLViewer getViewer()
           
 void registerDialog(PropertyDialog dialog)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewerPopupManager

public ViewerPopupManager(GLViewer viewer)
Method Detail

getViewer

public GLViewer getViewer()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Should be overridden as needed by subclasses.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

registerDialog

public void registerDialog(PropertyDialog dialog)

createPropertyDialog

public PropertyDialog createPropertyDialog(java.lang.String controlStr)