jv.geom
Class PgPointSet_Menu
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
|
+--jv.objectGui.PsMethodMenu
|
+--jv.project.PgGeometry_Menu
|
+--jv.geom.PgPointSet_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
- Direct Known Subclasses:
- PgElementSet_Menu, PgPolygon_Menu, PgPolygonSet_Menu, PgTetraSet_Menu
- public class PgPointSet_Menu
- extends PgGeometry_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
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
|
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. |
boolean |
update(java.lang.Object event)
Update this menu if the parent object has changed.
|
| 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 java.util.List |
iterator, listIterator, listIterator |
MTHD_PRINT_CENTER
public static final int MTHD_PRINT_CENTER
MTHD_PRINT_BNDBOX
public static final int MTHD_PRINT_BNDBOX
MTHD_REMOVE_VECTOR_FIELDS
public static final int MTHD_REMOVE_VECTOR_FIELDS
MTHD_MOVE_TO_ORIGIN
public static final int MTHD_MOVE_TO_ORIGIN
MTHD_PROJECT_TO_SPHERE
public static final int MTHD_PROJECT_TO_SPHERE
MTHD_FLIP_ORIENTATION
public static final int MTHD_FLIP_ORIENTATION
MTHD_SHOW_VECTOR_ARROWS
public static final int MTHD_SHOW_VECTOR_ARROWS
MTHD_MARK_VERTICES
public static final int MTHD_MARK_VERTICES
MTHD_UNMARK_VERTICES
public static final int MTHD_UNMARK_VERTICES
MTHD_REMOVE_MARKED_VERTICES
public static final int MTHD_REMOVE_MARKED_VERTICES
MTHD_SHOW_MARKED_VERTICES
public static final int MTHD_SHOW_MARKED_VERTICES
MTHD_SHOW_TITLE
public static final int MTHD_SHOW_TITLE
MTHD_SHOW_VERTEX_LABELS
public static final int MTHD_SHOW_VERTEX_LABELS
MTHD_ENABLE_DEFAULT_LABEL
public static final int MTHD_ENABLE_DEFAULT_LABEL
MTHD_SHOW_GLOBAL_VERTEX_COLOR
public static final int MTHD_SHOW_GLOBAL_VERTEX_COLOR
MTHD_VERTEX_COLOR_FROM_VECTOR
public static final int MTHD_VERTEX_COLOR_FROM_VECTOR
MTHD_VERTEX_COLOR_FROM_XYZ
public static final int MTHD_VERTEX_COLOR_FROM_XYZ
MTHD_VERTEX_COLOR_FROM_Z
public static final int MTHD_VERTEX_COLOR_FROM_Z
MTHD_VERTEX_COLOR_FROM_Z_HUE
public static final int MTHD_VERTEX_COLOR_FROM_Z_HUE
MTHD_SHOW_VERTEX_NORMAL_ARROW
public static final int MTHD_SHOW_VERTEX_NORMAL_ARROW
MTHD_MAKE_VERTEX_TEXTURE_BND
public static final int MTHD_MAKE_VERTEX_TEXTURE_BND
m_pointSetMethod
public static final java.lang.String[] m_pointSetMethod
m_pointSet
protected PgPointSet m_pointSet
PgPointSet_Menu
public PgPointSet_Menu()
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 PgGeometry_Menu
- Following copied from class:
jv.objectGui.PsMethodMenu
- Parameters:
argument - used by subclasses to specify object on which action shall be executed.
update
public boolean update(java.lang.Object event)
- Update this menu if the parent object has changed.
Set the state of CheckboxMenuItems depending on the states of the parent geometry.
- Overrides:
update in class PsMethodMenu
- Following copied from interface:
jv.object.PsUpdateIf
- Parameters:
event - carries a lot of information- Returns:
- true if event has been handled, otherwise false
- See Also:
PsObject,
PsUpdateIf.getFather(),
PsUpdateIf.setParent(PsUpdateIf)
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 PgGeometry_Menu
The software JavaView® is copyright protected. All Rights Reserved.