Logo Search packages:      
Sourcecode: javamorph version File versions  Download package

javamorph::CPopupMenuDecorator Class Reference

Inheritance diagram for javamorph::CPopupMenuDecorator:

javamorph::IDecorator

List of all members.


Detailed Description

Version:
1.1
Author:
claus.erhard.wimmer@googlemail.com
Program: JavaMorph V 1.1.
Class: CPopupMenuDecorator.
License: GPLv2.
Description: Handles the user's pop up menu.
Hint: Draw the hint symbol & process the menu commands.

Definition at line 23 of file CPopupMenuDecorator.java.


Public Member Functions

void actionPerformed (ActionEvent e)
 CPopupMenuDecorator (CFrame parent)
void mouseClicked (MouseEvent e)
void mouseEntered (MouseEvent e)
void mouseExited (MouseEvent e)
void mousePressed (MouseEvent e)
void mouseReleased (MouseEvent e)
void paint (Graphics g)

Static Public Attributes

static final Color BUTTON = new Color(0, 0, 255, 100)
static final Color CABLE = new Color(0, 128, 0, 200)
static final Color FRAME = new Color(0, 0, 0, 200)
static final Color MOUSE = new Color(255, 0, 0, 150)

Private Attributes

ButtonGroup g_mesh_buttons = new ButtonGroup()
ButtonGroup g_polygon_buttons = new ButtonGroup()
ButtonGroup g_radio_buttons = new ButtonGroup()
JMenuItem m_about = new JMenuItem("Help about?")
JRadioButtonMenuItem m_add_mesh_points
JRadioButtonMenuItem m_add_polygon_points
JMenuItem m_delete_mesh = new JMenuItem("Delete Mesh X")
JMenuItem m_delete_polygon = new JMenuItem("Delete Polygon X")
JMenuItem m_edit_config = new JMenuItem("Edit Config ->")
JRadioButtonMenuItem m_edit_mesh
JRadioButtonMenuItem m_edit_polygon
JMenuItem m_morph = new JMenuItem("Morph!")
JRadioButtonMenuItem m_off_mesh_points
JRadioButtonMenuItem m_off_polygon_points
JRadioButtonMenuItem m_sub_mesh_points
JRadioButtonMenuItem m_sub_polygon_points
JMenu mesh_menu = new JMenu("Mesh Points /")
CFrame parent
JMenu polygon_menu = new JMenu("Polygon Points /")
JPopupMenu popup_menu = new JPopupMenu()

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index