Package jgl.glut

Class glut_menu

java.lang.Object
jgl.glut.glut_menu
All Implemented Interfaces:
ActionListener, EventListener

public class glut_menu extends Object implements ActionListener
glut_menu is menu object of the GLUT class of jGL 2.4.
Version:
0.2, 20 May 2003
Author:
Robin Bing-Yu Chen
  • Constructor Details

    • glut_menu

      public glut_menu(String func, int id, Component comp)
    • glut_menu

      public glut_menu()
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • glutAddMenuEntry

      public void glutAddMenuEntry(String label, int value)
    • glutAddSubMenu

      public void glutAddSubMenu(String label, glut_menu submenu)
    • glutChangeToMenuEntry

      public void glutChangeToMenuEntry(int item, String label, int value)
    • glutChangeToSubMenu

      public void glutChangeToSubMenu(int item, String label, glut_menu submenu)
    • glutRemoveMenuItem

      public void glutRemoveMenuItem(int item)
    • glutDestroyMenu

      public void glutDestroyMenu()
    • glutGetMenuID

      public int glutGetMenuID()
    • glutSetMenuID

      public void glutSetMenuID(int id)
    • glutGetMenu

      public PopupMenu glutGetMenu()
    • glutDupPopupMenu

      public PopupMenu glutDupPopupMenu(PopupMenu pm)
    • glutDupMenu

      public glut_menu glutDupMenu()