JavaView© v3.95.000

jvx.geom
Class PgPolygonSet_Menu

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byjv.objectGui.PsMethodMenu
                  extended byjv.project.PgGeometry_Menu
                      extended byjvx.geom.PgPointSet_Menu
                          extended byjvx.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.util.RandomAccess, 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.

See Also:
PgGeometry_Menu, Serialized Form

Field Summary
 java.lang.String[] m_polygonSetMethod
           
static int MTHD_GET_TUBE
           
static int MTHD_JOIN_EDGES
           
static int MTHD_RESOLUTION
           
 
Fields inherited from class jvx.geom.PgPointSet_Menu
m_pointSetMethod, MTHD_EVOLVE, MTHD_IDENTIFY_VERTICES, MTHD_MARK_WITH_SPHERE, MTHD_MODEL_VECTOR_FIELD, MTHD_NOISE, MTHD_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
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.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, 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, 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
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_RESOLUTION

public static final int MTHD_RESOLUTION
See Also:
Constant Field Values

MTHD_GET_TUBE

public static final int MTHD_GET_TUBE
See Also:
Constant Field Values

MTHD_JOIN_EDGES

public static final int MTHD_JOIN_EDGES
See Also:
Constant Field Values

m_polygonSetMethod

public java.lang.String[] m_polygonSetMethod
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

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© v3.95.000

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