public class MenuBarHandler extends java.lang.Object implements java.awt.event.ActionListener, ValueChangeListener, SchedulerListener, RenderListener, ModelActionListener
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(ModelActionEvent 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 |
detachToolbar() |
void |
detachViewerToolbar(javax.swing.JPanel panel) |
void |
disableShowPlay() |
void |
enableShowPlay() |
GLViewer |
getMainViewer() |
void |
initToolbar() |
ArtisynthModelMenu |
readDemoMenu(java.lang.String filename)
Reads the demo menu stuff
|
void |
renderOccurred(RendererEvent e)
A render occurred
|
void |
runScript(java.lang.String scriptName) |
void |
runScript(java.lang.String scriptName,
java.lang.String[] args) |
void |
schedulerActionPerformed(Scheduler.Action action) |
void |
setBackgroundColor() |
void |
setSelectionColor() |
void |
setSelectionColorEnabled(boolean enable) |
void |
setTimelineVisible(boolean visible) |
void |
updateHistoryMenu() |
void |
updateWidgets() |
void |
valueChange(ValueChangeEvent e) |
public static final int MAX_MENU_ROWS
public void initToolbar()
public void createMenus()
public ArtisynthModelMenu readDemoMenu(java.lang.String filename)
public void updateHistoryMenu()
public void valueChange(ValueChangeEvent e)
valueChange
in interface ValueChangeListener
public void actionPerformed(ModelActionEvent event)
actionPerformed
in interface ModelActionListener
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public void runScript(java.lang.String scriptName)
public void runScript(java.lang.String scriptName, java.lang.String[] args)
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 GLViewer getMainViewer()
public void setBackgroundColor()
public void setSelectionColor()
public void setSelectionColorEnabled(boolean enable)
public void updateWidgets()
public void setTimelineVisible(boolean visible)
public void schedulerActionPerformed(Scheduler.Action action)
schedulerActionPerformed
in interface SchedulerListener
public void renderOccurred(RendererEvent e)
RenderListener
renderOccurred
in interface RenderListener