JavaView® v2.00.008

jvx.numeric
Class PnEnergyMinimizer_Menu

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--jv.objectGui.PsMethodMenu
                          |
                          +--jv.project.PgGeometry_Menu
                                |
                                +--jvx.numeric.PnEnergyMinimizer_Menu
All Implemented Interfaces:
java.awt.event.ActionListener, java.lang.Cloneable, java.util.Collection, java.util.EventListener, java.awt.event.ItemListener, java.util.List, PsUpdateIf, java.io.Serializable

public class PnEnergyMinimizer_Menu
extends PgGeometry_Menu

Add specific menu items to 'method' menu in control panel to invoke methods from menu.

Version:
18.07.99, 2.00 revised (kp) Method calls changed and PsMenu replaced with standard java.awt.Menu.
00.00.98, 1.00 created (kp)
Author:
Konrad Polthier
See Also:
PgGeometry_Menu, Serialized Form

Field Summary
protected  PnEnergyMinimizer m_energyMinimizer
           
static java.lang.String[] m_energyMinimizerMethod
           
static int MTHD_PRINT_EIGEN
           
static int MTHD_PRINT_HESSIAN
           
static int MTHD_TEST_EIGENVALUES
           
 
Fields inherited from class jv.project.PgGeometry_Menu
m_geometry, m_geometryMethod, MTHD_PRINT_ALL, MTHD_UPDATE
 
Fields inherited from class jv.objectGui.PsMethodMenu
m_language, m_name
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
PnEnergyMinimizer_Menu()
           
 
Method Summary
 boolean applyMethod(java.lang.String aMethod)
          Invoke action determined by current string.
 void init(PsObject anObject)
          Register the target geometry, and subclasses should register all menu items and submenus.
 
Methods inherited from class jv.objectGui.PsMethodMenu
actionPerformed, addMenu, addMenu, addMenuItem, addMenuItem, clone, getFather, getIndexOfMethod, getLanguage, getMenu, getMenuItem, getName, hasMenu, hasMenuItem, itemStateChanged, removeMenu, removeMenuItem, setName, setParent, update
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jv.object.PsUpdateIf
getFather, getName, setParent, update
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

MTHD_PRINT_HESSIAN

public static final int MTHD_PRINT_HESSIAN

MTHD_PRINT_EIGEN

public static final int MTHD_PRINT_EIGEN

MTHD_TEST_EIGENVALUES

public static final int MTHD_TEST_EIGENVALUES

m_energyMinimizerMethod

public static final java.lang.String[] m_energyMinimizerMethod

m_energyMinimizer

protected PnEnergyMinimizer m_energyMinimizer
Constructor Detail

PnEnergyMinimizer_Menu

public PnEnergyMinimizer_Menu()
Method Detail

init

public void init(PsObject anObject)
Description copied from class: PsMethodMenu
Register the target geometry, and subclasses should register all menu items and submenus.
Overrides:
init in class PgGeometry_Menu
Following copied from class: jv.objectGui.PsMethodMenu
Parameters:
argument - used by subclasses to specify object on which action shall be executed.

applyMethod

public boolean applyMethod(java.lang.String aMethod)
Description copied from class: PsMethodMenu
Invoke action determined by current string. This method returns false, and should be overwritten by subclasses.
Overrides:
applyMethod in class PgGeometry_Menu

JavaView® v2.00.008

The software JavaView® is copyright protected. All Rights Reserved.