wyvern.kernel.properties
Class ArchetypeEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended bywyvern.kernel.properties.ArchetypeEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class ArchetypeEditor
extends java.beans.PropertyEditorSupport

Renders the archetype in the map editor. I tried doing this as an inner class of Archetype.java, but kept getting an InstantiationException (dammit), probably because there was no enclosing Archetype object. So we have this standalone class.

Version:
1.0, Aug 02, 1999
Author:
Steve Yegge

Constructor Summary
ArchetypeEditor()
           
 
Method Summary
 java.lang.String getAsText()
          Returns the name (i.e. path) of the archetype.
 void setValue(java.lang.Object value)
          Sets the value (an Archetype).
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchetypeEditor

public ArchetypeEditor()
Method Detail

getAsText

public java.lang.String getAsText()
Returns the name (i.e. path) of the archetype.


setValue

public void setValue(java.lang.Object value)
Sets the value (an Archetype).