|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--flatscape.editor.Editor
|
+--flatscape.editor.ModifierEditor
Editor for military symbol modifiers.
Copyright (c) 2001 Rutgers, The State University of New Jersey
| Field Summary | |
protected java.lang.String |
affiliation_
Present affiliation |
protected java.lang.String |
image_file
|
protected boolean |
menu_off_flag
|
protected java.util.ArrayList |
mod_forest
|
protected java.lang.String |
modifiers_
The selected modifiers |
protected java.util.ArrayList |
mods_
|
protected java.lang.String |
path_num
|
protected SymbolDB |
symbols_
Symbol database |
protected javax.swing.JMenu |
the_menu
|
protected javax.swing.JPopupMenu |
the_popup_menu
|
protected java.lang.String |
unittype_
Present unit type |
| Fields inherited from class flatscape.editor.Editor |
component_, description_, height_, model_, name_, parent_ |
| Constructor Summary | |
ModifierEditor()
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
protected javax.swing.JMenu |
build_menu(ModTreeNode tree_x)
|
java.lang.Object |
config(java.lang.Object parent,
org.w3c.dom.Element config)
Loads the configuration |
java.lang.Object |
getPropertyValue()
|
void |
init(EditorModel model)
Initializing the editor. |
void |
propertyUpdated(java.lang.String name,
java.lang.Object value)
Called by EditorPanel, when a property has been updated. |
void |
setPropertyValue(java.lang.Object value)
Sets the value of the property |
protected void |
setup_menu()
|
void |
update()
|
| Methods inherited from class flatscape.editor.Editor |
getComponent, getDescription, getHeight, getName, isVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String affiliation_
protected java.lang.String unittype_
protected java.lang.String modifiers_
protected SymbolDB symbols_
protected java.util.ArrayList mods_
protected java.lang.String image_file
protected java.lang.String path_num
protected java.util.ArrayList mod_forest
protected javax.swing.JMenu the_menu
protected javax.swing.JPopupMenu the_popup_menu
protected boolean menu_off_flag
| Constructor Detail |
public ModifierEditor()
| Method Detail |
public java.lang.Object config(java.lang.Object parent,
org.w3c.dom.Element config)
throws java.lang.Exception
config in interface Configurableconfig in class Editorparent - The argument passed into the FConfig.getList methodconfig - The DOM element representing the XML element that
loaded this class.
java.lang.Exception - Thrown if there is any problem configuring this class.public void init(EditorModel model)
Editorinit method is called.
init in class Editorpublic java.lang.Object getPropertyValue()
getPropertyValue in class Editorpublic void setPropertyValue(java.lang.Object value)
setPropertyValue in class Editorprotected void setup_menu()
protected javax.swing.JMenu build_menu(ModTreeNode tree_x)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void update()
public void propertyUpdated(java.lang.String name,
java.lang.Object value)
propertyUpdated in class Editor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||