jvx.geom
Class PgPointSet_Menu
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector
-
- jv.objectGui.PsMethodMenu
-
- jv.project.PgGeometry_Menu
-
- jvx.geom.PgPointSet_Menu
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.ItemListener, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.EventListener, java.util.List, java.util.RandomAccess, PsUpdateIf
- Direct Known Subclasses:
- PgElementSet_Menu, PgPolygon_Menu, PgPolygonSet_Menu
public class PgPointSet_Menu extends PgGeometry_Menu
Add specific menu items to 'method' menu in control panel to invoke methods from menu.- See Also:
PgGeometry_Menu, Serialized Form- Author:
- Konrad Polthier
- Version:
- 11.11.02, 2.00 revised (kp) Superclass changed to PgGeometry_Menu from PsMethodMenu.
16.01.02, 1.60 revised (ep) Internationalization.
28.12.01, 1.50 revised (kp) Full revision when incorporating the new workshop handling.
21.12.01, 1.22 revised (ur) Identify Vertices moved here from PgElementSet_Menu.
15.09.01, 1.10 revised (ur) Reorganisation of all Method Menus.
16.04.00, 1.00 created (kp) Derived by splitting jv.geom.PgPointSet_Menu.
-
-
Field Summary
Fields Modifier and Type Field and Description java.lang.String[]m_pointSetMethodstatic intMTHD_EVOLVEstatic intMTHD_IDENTIFY_VERTICESstatic intMTHD_MARK_WITH_SPHEREstatic intMTHD_MODEL_VECTOR_FIELDstatic intMTHD_NOISEstatic intMTHD_NORMALIZE_VECTOR_FIELDstatic intMTHD_ROTATE_VECTOR_FIELDstatic intMTHD_TRANSFORM-
Fields inherited from class jv.project.PgGeometry_Menu
m_geometryMethod, MTHD_PRINT_ALL, MTHD_PRINT_BNDBOX, MTHD_PRINT_CENTER, MTHD_SHOW_BNDBOX, MTHD_SHOW_CENTER, MTHD_SHOW_NAME, MTHD_UPDATE
-
-
Constructor Summary
Constructors Constructor and Description PgPointSet_Menu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanapplyMethod(java.lang.String aMethod)Invoke action determined by current string.voidinit(PsObject anObject)Register the target geometry, and subclasses should register all menu items and submenus.-
Methods inherited from class jv.project.PgGeometry_Menu
getViewer, setViewer, update
-
Methods inherited from class jv.objectGui.PsMethodMenu
actionPerformed, addMenu, addMenu, addMenuItem, addMenuItem, addMenuItem, clone, getFather, getLanguage, getMenu, getMenuItem, getName, getPanelVersion, 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, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
-
-
-
-
Field Detail
-
MTHD_EVOLVE
public static final int MTHD_EVOLVE
- See Also:
- Constant Field Values
-
MTHD_IDENTIFY_VERTICES
public static final int MTHD_IDENTIFY_VERTICES
- See Also:
- Constant Field Values
-
MTHD_NOISE
public static final int MTHD_NOISE
- See Also:
- Constant Field Values
-
MTHD_MODEL_VECTOR_FIELD
public static final int MTHD_MODEL_VECTOR_FIELD
- See Also:
- Constant Field Values
-
MTHD_MARK_WITH_SPHERE
public static final int MTHD_MARK_WITH_SPHERE
- See Also:
- Constant Field Values
-
MTHD_TRANSFORM
public static final int MTHD_TRANSFORM
- See Also:
- Constant Field Values
-
MTHD_ROTATE_VECTOR_FIELD
public static final int MTHD_ROTATE_VECTOR_FIELD
- See Also:
- Constant Field Values
-
MTHD_NORMALIZE_VECTOR_FIELD
public static final int MTHD_NORMALIZE_VECTOR_FIELD
- See Also:
- Constant Field Values
-
m_pointSetMethod
public java.lang.String[] m_pointSetMethod
-
-
Method Detail
-
init
public void init(PsObject anObject)
Description copied from class:PsMethodMenuRegister the target geometry, and subclasses should register all menu items and submenus.- Overrides:
initin classPgGeometry_Menu- Parameters:
anObject- 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:PsMethodMenuInvoke action determined by current string. This method returnsfalse, and should be overwritten by subclasses.- Overrides:
applyMethodin classPgGeometry_Menu
-
-
"