JavaView® v2.00.008

jvx.geom
Class PgElementSet_Menu

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--jv.objectGui.PsMethodMenu
                          |
                          +--jvx.geom.PgPointSet_Menu
                                |
                                +--jvx.geom.PgElementSet_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 PgElementSet_Menu
extends PgPointSet_Menu

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

Version:
26.09.00, 1.10 revised (kp) Superclass change to jvx.geom.PgPointSet_Menu from PsMethodMenu.
16.04.00, 1.00 created (kp) Derived by splitting jv.geom.PgElementSet_Menu.
Author:
Konrad Polthier
See Also:
PgGeometry_Menu, Serialized Form

Field Summary
protected  PgElementSet m_elementSet
           
static java.lang.String[] m_elementSetMethod
           
static int MTHD_CELLOPERATOR
           
static int MTHD_CLIP
           
static int MTHD_CONFORMING
           
static int MTHD_CONFORMING_TO_FULL
           
static int MTHD_EXPLODE
           
static int MTHD_GAUSS_CURVATURE
           
static int MTHD_HODGE_SPLIT
           
static int MTHD_IDENTIFY_CLOSE_VERTICES
           
static int MTHD_IDENTIFY_EQUAL_VERTICES
           
static int MTHD_MAKE_LIC
           
static int MTHD_MEAN_CURVATURE_NORMALS
           
static int MTHD_MODEL_VECTOR_FIELD
           
static int MTHD_MODELING
           
static int MTHD_NON_CONFORMING
           
static int MTHD_NON_CONFORMING_TO_FULL
           
static int MTHD_NON_CONFORMING_TO_QUARTER
           
static int MTHD_ORIENTATE
           
static int MTHD_PRINCIPAL_CURVATURE
           
static int MTHD_PRINCIPAL_CURVATURE_ANGLE
           
static int MTHD_PRINCIPAL_CURVATURE_AREA
           
static int MTHD_REMOVE_DEGENERATE_ELEMENTS
           
static int MTHD_REMOVE_UNUSED_VERTICES
           
static int MTHD_RIVARA_BISECTION
           
static int MTHD_SHORTEST_GEODESIC
           
static int MTHD_SIMPLIFY
           
 
Fields inherited from class jvx.geom.PgPointSet_Menu
m_pointSet, m_pointSetMethod, MTHD_EVOLVE
 
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
PgElementSet_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 java.util.List
iterator, listIterator, listIterator
 

Field Detail

MTHD_GAUSS_CURVATURE

public static final int MTHD_GAUSS_CURVATURE

MTHD_MEAN_CURVATURE_NORMALS

public static final int MTHD_MEAN_CURVATURE_NORMALS

MTHD_PRINCIPAL_CURVATURE

public static final int MTHD_PRINCIPAL_CURVATURE

MTHD_PRINCIPAL_CURVATURE_AREA

public static final int MTHD_PRINCIPAL_CURVATURE_AREA

MTHD_PRINCIPAL_CURVATURE_ANGLE

public static final int MTHD_PRINCIPAL_CURVATURE_ANGLE

MTHD_NON_CONFORMING

public static final int MTHD_NON_CONFORMING

MTHD_CONFORMING

public static final int MTHD_CONFORMING

MTHD_CONFORMING_TO_FULL

public static final int MTHD_CONFORMING_TO_FULL

MTHD_NON_CONFORMING_TO_FULL

public static final int MTHD_NON_CONFORMING_TO_FULL

MTHD_NON_CONFORMING_TO_QUARTER

public static final int MTHD_NON_CONFORMING_TO_QUARTER

MTHD_MODELING

public static final int MTHD_MODELING

MTHD_CELLOPERATOR

public static final int MTHD_CELLOPERATOR

MTHD_RIVARA_BISECTION

public static final int MTHD_RIVARA_BISECTION

MTHD_SIMPLIFY

public static final int MTHD_SIMPLIFY

MTHD_CLIP

public static final int MTHD_CLIP

MTHD_REMOVE_DEGENERATE_ELEMENTS

public static final int MTHD_REMOVE_DEGENERATE_ELEMENTS

MTHD_REMOVE_UNUSED_VERTICES

public static final int MTHD_REMOVE_UNUSED_VERTICES

MTHD_IDENTIFY_CLOSE_VERTICES

public static final int MTHD_IDENTIFY_CLOSE_VERTICES

MTHD_IDENTIFY_EQUAL_VERTICES

public static final int MTHD_IDENTIFY_EQUAL_VERTICES

MTHD_ORIENTATE

public static final int MTHD_ORIENTATE

MTHD_MAKE_LIC

public static final int MTHD_MAKE_LIC

MTHD_MODEL_VECTOR_FIELD

public static final int MTHD_MODEL_VECTOR_FIELD

MTHD_SHORTEST_GEODESIC

public static final int MTHD_SHORTEST_GEODESIC

MTHD_HODGE_SPLIT

public static final int MTHD_HODGE_SPLIT

MTHD_EXPLODE

public static final int MTHD_EXPLODE

m_elementSetMethod

public static final java.lang.String[] m_elementSetMethod

m_elementSet

protected PgElementSet m_elementSet
Constructor Detail

PgElementSet_Menu

public PgElementSet_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.