public class MenuBarHandler extends java.lang.Object implements java.awt.event.ActionListener, ValueChangeListener, SchedulerListener, RenderListener, ModelScriptActionListener
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 |
actionPerformed(ModelScriptActionEvent 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 |
clearClipPlaneControls() |
void |
createMenus()
creates menu items
|
void |
createScriptMenu(javax.swing.JMenu menu) |
void |
detachToolbar() |
void |
detachViewerToolbar(javax.swing.JPanel panel) |
void |
disableShowPlay() |
void |
enableShowPlay() |
Viewer |
getMainViewer() |
javax.swing.JMenuBar |
getMenuBar()
For debugging only
|
void |
initToolbar() |
void |
renderOccurred(RendererEvent e)
A render occurred
|
void |
schedulerActionPerformed(Scheduler.Action action) |
void |
setSelectionColorEnabled(boolean enable) |
void |
updateWidgets() |
void |
valueChange(ValueChangeEvent e) |
public static final int MAX_MENU_ROWS
public void initToolbar()
public void createMenus()
public javax.swing.JMenuBar getMenuBar()
public void createScriptMenu(javax.swing.JMenu menu)
public void valueChange(ValueChangeEvent e)
valueChange
in interface ValueChangeListener
public void actionPerformed(ModelScriptActionEvent event)
actionPerformed
in interface ModelScriptActionListener
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
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 clearClipPlaneControls()
public void detachViewerToolbar(javax.swing.JPanel panel)
public Viewer getMainViewer()
public void setSelectionColorEnabled(boolean enable)
public void updateWidgets()
public void schedulerActionPerformed(Scheduler.Action action)
schedulerActionPerformed
in interface SchedulerListener
public void renderOccurred(RendererEvent e)
RenderListener
renderOccurred
in interface RenderListener