|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--flatscape.editor.Editor
|
+--flatscape.editor.TextEditor
|
+--flatscape.editor.UnitTypeEditor
Editor for unit type property
Copyright (c) 2001 Rutgers, The State University of New Jersey
| Field Summary | |
protected java.lang.String |
affiliation_
Present affiliation |
protected org.w3c.dom.Element |
config_
The configuration element |
protected javax.swing.JPopupMenu |
menu_
HashMap holding the menus |
protected SymbolDB |
symbols_
|
| Fields inherited from class flatscape.editor.TextEditor |
text_ |
| Fields inherited from class flatscape.editor.Editor |
component_, description_, height_, model_, name_, parent_ |
| Constructor Summary | |
UnitTypeEditor()
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
java.lang.Object |
config(java.lang.Object parent,
org.w3c.dom.Element config)
Loads the configuration |
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 |
setUnitIcon()
|
| Methods inherited from class flatscape.editor.TextEditor |
getPropertyValue |
| 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 javax.swing.JPopupMenu menu_
protected org.w3c.dom.Element config_
protected SymbolDB symbols_
| Constructor Detail |
public UnitTypeEditor()
| 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 TextEditorparent - 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 Editorprotected void setUnitIcon()
public void setPropertyValue(java.lang.Object value)
TextEditor
setPropertyValue in class TextEditorpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class TextEditor
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 | |||||||||