public class MenuBarHandler extends java.lang.Object implements java.awt.event.ActionListener, ValueChangeListener, SchedulerListener, GLViewerListener
Modifier and Type | Field and Description |
---|---|
static int |
MAX_MENU_ROWS |
Constructor and Description |
---|
MenuBarHandler(Main parent,
MainFrame theFrame) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
action performed to process all the menu and button actions in this class
|
void |
attachModeSelectionToolbar(javax.swing.JPanel panel) |
void |
attachToolbar() |
void |
attachViewerToolbar(javax.swing.JPanel panel)
author: andreio create a camera toolbar to control the view of the camera
on the GlViewer
|
void |
createMenus()
creates menu items
|
void |
detachToolbar() |
void |
detachViewerToolbar(javax.swing.JPanel panel) |
void |
disableShowPlay() |
void |
enableShowPlay() |
GLViewer |
getMainViewer() |
void |
initToolbar() |
void |
renderOccurred(GLViewerEvent e)
A render occurred on the viewer.
|
void |
runScript(java.lang.String scriptName) |
void |
schedulerActionPerformed(Scheduler.Action action) |
void |
setBackgroundColor() |
void |
setTimelineVisible(boolean visible) |
void |
updateWidgets() |
void |
valueChange(ValueChangeEvent e) |
public static final int MAX_MENU_ROWS
public void initToolbar()
public void createMenus()
public void valueChange(ValueChangeEvent e)
valueChange
in interface ValueChangeListener
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public void runScript(java.lang.String scriptName)
public void enableShowPlay()
public void disableShowPlay()
public void detachToolbar()
public void attachToolbar()
public void attachModeSelectionToolbar(javax.swing.JPanel panel)
public void attachViewerToolbar(javax.swing.JPanel panel)
public void detachViewerToolbar(javax.swing.JPanel panel)
public GLViewer getMainViewer()
public void setBackgroundColor()
public void updateWidgets()
public void setTimelineVisible(boolean visible)
public void schedulerActionPerformed(Scheduler.Action action)
schedulerActionPerformed
in interface SchedulerListener
public void renderOccurred(GLViewerEvent e)
GLViewerListener
renderOccurred
in interface GLViewerListener