com.partnersoft.v3x.gui
Class MixedCollectionEditor
java.lang.Object
com.partnersoft.v3x.gui.MixedCollectionEditor
- All Implemented Interfaces:
- EditorControl
public class MixedCollectionEditor
- extends java.lang.Object
- implements EditorControl
An EditorControl for non-homogenous collections. Allows different
EditorControls to be used for different kinds of objects. A template is used
to distinguish objects - this can be used to distinguish by class or by other
properties. Each type also has a prototype that is cloned when that type is
added to the collection.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MixedCollectionEditor
public MixedCollectionEditor()
getGUI
public javax.swing.JComponent getGUI()
- Specified by:
getGUI in interface EditorControl
getEditor
public Editor getEditor()
- Specified by:
getEditor in interface EditorControl
getTypes
public java.util.ArrayList getTypes()
setTypes
public void setTypes(java.util.ArrayList newTypes)
getTypeTemplate
public java.lang.String getTypeTemplate()
setTypeTemplate
public void setTypeTemplate(java.lang.String newTemplate)
getNoAddRemove
public boolean getNoAddRemove()
setNoAddRemove
public void setNoAddRemove(boolean tizit)