com.partnersoft.v3x.gui
Class MixedCollectionEditor

java.lang.Object
  extended by 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.


Constructor Summary
MixedCollectionEditor()
           
 
Method Summary
 Editor getEditor()
           
 javax.swing.JComponent getGUI()
           
 boolean getNoAddRemove()
           
 java.util.ArrayList getTypes()
           
 java.lang.String getTypeTemplate()
           
 void setNoAddRemove(boolean tizit)
           
 void setTypes(java.util.ArrayList newTypes)
           
 void setTypeTemplate(java.lang.String newTemplate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MixedCollectionEditor

public MixedCollectionEditor()
Method Detail

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)