JavaView® v2.12

jvx.geom
Class PgPolygon_Menu

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

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

Version:
15.09.01, 1.10 revised (ur) Reorganisation of all Method Menus.
30.05.01, 1.00 created (ur) copied from jv.geom to jvx.geom.
Author:
Konrad Polthier
See Also:
PgGeometry_Menu, Serialized Form

Field Summary
static java.lang.String[] m_polygonMethod
           
static int MTHD_GET_TUBE
           
static int MTHD_RESOLUTION
           
 
Fields inherited from class jvx.geom.PgPointSet_Menu
m_pointSetMethod, MTHD_EVOLVE
 
Constructor Summary
PgPolygon_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, 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 java.util.List
iterator, listIterator, listIterator
 

Field Detail

MTHD_RESOLUTION

public static final int MTHD_RESOLUTION

MTHD_GET_TUBE

public static final int MTHD_GET_TUBE

m_polygonMethod

public static final java.lang.String[] m_polygonMethod
Constructor Detail

PgPolygon_Menu

public PgPolygon_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.12

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