JavaView® v2.00.008

jv.geom
Class PgPolygonSet_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.PgPolygonSet_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 PgPolygonSet_Menu
extends PgPointSet_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  PgPolygonSet m_polygonSet
           
static java.lang.String[] m_polygonSetMethod
           
static int MTHD_ASSURE_DIM_OF_POLYGONS
           
static int MTHD_COMPRESS
           
static int MTHD_LENGTH
           
static int MTHD_MAKE_NORMALS
           
static int MTHD_POLYGON_COLOR_FROM_XYZ
           
static int MTHD_POLYGON_COLOR_FROM_Z
           
static int MTHD_POLYGON_COLOR_FROM_Z_HUE
           
static int MTHD_SHOW_EDGE_LABELS
           
static int MTHD_SHOW_GLOBAL_POLYGON_COLOR
           
static int MTHD_SHOW_POLYGON_END_ARROW
           
static int MTHD_SHOW_POLYGON_LABELS
           
static int MTHD_SHOW_POLYGON_NORMAL_ARROW
           
static int MTHD_SHOW_POLYGON_START_ARROW
           
 
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
PgPolygonSet_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_ASSURE_DIM_OF_POLYGONS

public static final int MTHD_ASSURE_DIM_OF_POLYGONS

MTHD_MAKE_NORMALS

public static final int MTHD_MAKE_NORMALS

MTHD_LENGTH

public static final int MTHD_LENGTH

MTHD_COMPRESS

public static final int MTHD_COMPRESS

MTHD_SHOW_POLYGON_START_ARROW

public static final int MTHD_SHOW_POLYGON_START_ARROW

MTHD_SHOW_POLYGON_END_ARROW

public static final int MTHD_SHOW_POLYGON_END_ARROW

MTHD_SHOW_GLOBAL_POLYGON_COLOR

public static final int MTHD_SHOW_GLOBAL_POLYGON_COLOR

MTHD_POLYGON_COLOR_FROM_XYZ

public static final int MTHD_POLYGON_COLOR_FROM_XYZ

MTHD_POLYGON_COLOR_FROM_Z

public static final int MTHD_POLYGON_COLOR_FROM_Z

MTHD_POLYGON_COLOR_FROM_Z_HUE

public static final int MTHD_POLYGON_COLOR_FROM_Z_HUE

MTHD_SHOW_EDGE_LABELS

public static final int MTHD_SHOW_EDGE_LABELS

MTHD_SHOW_POLYGON_LABELS

public static final int MTHD_SHOW_POLYGON_LABELS

MTHD_SHOW_POLYGON_NORMAL_ARROW

public static final int MTHD_SHOW_POLYGON_NORMAL_ARROW

m_polygonSetMethod

public static final java.lang.String[] m_polygonSetMethod

m_polygonSet

protected PgPolygonSet m_polygonSet
Constructor Detail

PgPolygonSet_Menu

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