JavaView® v2.00.008

jv.geom
Class PgTetraSet_Menu

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--jv.objectGui.PsMethodMenu
                          |
                          +--jv.project.PgGeometry_Menu
                                |
                                +--jv.geom.PgPointSet_Menu
                                      |
                                      +--jv.geom.PgTetraSet_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 PgTetraSet_Menu
extends PgPointSet_Menu

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

Version:
1.00, 30 Sep 1999, created.
Author:
Samy Khadem-Al-Charieh
See Also:
Serialized Form

Field Summary
protected  PgTetraSet m_tetraSet
           
static java.lang.String[] m_tetraSetMethod
           
static int MTHD_AREA
           
static int MTHD_CHECK_NEIGHBOUR
           
static int MTHD_MAKE_NEIGHBOUR
           
static int MTHD_REMOVE_UNUSED_VERTICES
           
static int MTHD_VOLUME
           
 
Fields inherited from class jv.geom.PgPointSet_Menu
m_pointSet, m_pointSetMethod, MTHD_ENABLE_DEFAULT_LABEL, MTHD_FLIP_ORIENTATION, MTHD_MAKE_VERTEX_TEXTURE_BND, MTHD_MARK_VERTICES, MTHD_MOVE_TO_ORIGIN, MTHD_PRINT_BNDBOX, MTHD_PRINT_CENTER, MTHD_PROJECT_TO_SPHERE, MTHD_REMOVE_MARKED_VERTICES, MTHD_REMOVE_VECTOR_FIELDS, MTHD_SHOW_GLOBAL_VERTEX_COLOR, MTHD_SHOW_MARKED_VERTICES, MTHD_SHOW_TITLE, MTHD_SHOW_VECTOR_ARROWS, MTHD_SHOW_VERTEX_LABELS, MTHD_SHOW_VERTEX_NORMAL_ARROW, MTHD_UNMARK_VERTICES, MTHD_VERTEX_COLOR_FROM_VECTOR, MTHD_VERTEX_COLOR_FROM_XYZ, MTHD_VERTEX_COLOR_FROM_Z, MTHD_VERTEX_COLOR_FROM_Z_HUE
 
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
PgTetraSet_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.geom.PgPointSet_Menu
update
 
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
 
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
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

MTHD_CHECK_NEIGHBOUR

public static final int MTHD_CHECK_NEIGHBOUR

MTHD_AREA

public static final int MTHD_AREA

MTHD_VOLUME

public static final int MTHD_VOLUME

MTHD_MAKE_NEIGHBOUR

public static final int MTHD_MAKE_NEIGHBOUR

MTHD_REMOVE_UNUSED_VERTICES

public static final int MTHD_REMOVE_UNUSED_VERTICES

m_tetraSetMethod

public static final java.lang.String[] m_tetraSetMethod

m_tetraSet

protected PgTetraSet m_tetraSet
Constructor Detail

PgTetraSet_Menu

public PgTetraSet_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 PgPointSet_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 PgPointSet_Menu

JavaView® v2.00.008

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