com.im.ijc.core/1 5.9.4

com.im.ijc.core.wizards.newdfitem
Class NewDFItemWizardIterator<T extends DFItem>

java.lang.Object
  extended by com.im.ijc.core.wizards.newdfitem.NewDFItemWizardIterator<T>
All Implemented Interfaces:
WizardDescriptor.Iterator
Direct Known Subclasses:
ConvertDFFieldWizardIterator

public class NewDFItemWizardIterator<T extends DFItem>
extends Object
implements WizardDescriptor.Iterator


Nested Class Summary
static class NewDFItemWizardIterator.WizardType
           
 
Field Summary
static String MSG_DFITEM_CREATED
           
static String MSG_NEW_ITEM
           
static String MSG_PANEL1_NAME
           
static String MSG_PROGRESS_TITLE
           
static String MSG_SELECT_DFITEM_TYPE
           
static String MSG_SETTINGS_TITLED_BORDER
           
static String MSG_TYPE_NOT_SELECTED
           
static String MSG_WIZARD_TITLE
           
static String[] MSGS_KEYS_ARR
           
static String PROP_DFITEM
           
 
Method Summary
 void addChangeListener(ChangeListener l)
           
 void addExtraPanel(WizardDescriptor.Panel panel)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
protected  Map<String,String> createMessages(NewDFItemWizardIterator.WizardType type)
           
protected  WizardDescriptor.Panel[] createPanels()
           
 WizardDescriptor.Panel current()
           
 Task getCreationTask()
           
 T getDFItem()
           
protected  String getMsg(String key)
           
 T getNewItem()
           
 WizardDescriptor getWizardDescriptor()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 String name()
           
 void nextPanel()
           
 void previousPanel()
           
 void removeChangeListener(ChangeListener l)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
protected  void setMsgs(Map<String,String> msgs)
           
protected  void setWizardDescriptor(WizardDescriptor wizardDescriptor)
           
static
<T2 extends DFItem>
NewDFItemWizardIterator
showWizard(DFItem parent, List<DFNewType<T2>> newTypes, DFNewType<T2> selectedNewType, Map<Object,Object> customizerProperties, NewDFItemWizardIterator.WizardType type)
          Presents the Wizard, and returns the Iterator so the caller may query it for the results.
static
<T2 extends DFItem>
NewDFItemWizardIterator
showWizard(DFItem parent, List<DFNewType<T2>> newTypes, DFNewType<T2> selectedNewType, NewDFItemWizardIterator.WizardType type)
          Presents the Wizard, and returns the Iterator so the caller may query it for the results.
static
<T2 extends DFItem>
NewDFItemWizardIterator
showWizard(DFItem parent, List<DFNewType<T2>> newTypes, DFNewType<T2> selectedNewType, NewDFItemWizardIterator.WizardType type, List<WizardDescriptor.Panel> extraPanels, Dimension size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_DFITEM

public static final String PROP_DFITEM
See Also:
Constant Field Values

MSG_WIZARD_TITLE

public static final String MSG_WIZARD_TITLE
See Also:
Constant Field Values

MSG_NEW_ITEM

public static final String MSG_NEW_ITEM
See Also:
Constant Field Values

MSG_SETTINGS_TITLED_BORDER

public static final String MSG_SETTINGS_TITLED_BORDER
See Also:
Constant Field Values

MSG_PANEL1_NAME

public static final String MSG_PANEL1_NAME
See Also:
Constant Field Values

MSG_PROGRESS_TITLE

public static final String MSG_PROGRESS_TITLE
See Also:
Constant Field Values

MSG_SELECT_DFITEM_TYPE

public static final String MSG_SELECT_DFITEM_TYPE
See Also:
Constant Field Values

MSG_TYPE_NOT_SELECTED

public static final String MSG_TYPE_NOT_SELECTED
See Also:
Constant Field Values

MSG_DFITEM_CREATED

public static final String MSG_DFITEM_CREATED
See Also:
Constant Field Values

MSGS_KEYS_ARR

public static final String[] MSGS_KEYS_ARR
Method Detail

createMessages

protected Map<String,String> createMessages(NewDFItemWizardIterator.WizardType type)

getDFItem

public T getDFItem()

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)

showWizard

public static <T2 extends DFItem> NewDFItemWizardIterator showWizard(DFItem parent,
                                                                     List<DFNewType<T2>> newTypes,
                                                                     DFNewType<T2> selectedNewType,
                                                                     NewDFItemWizardIterator.WizardType type)
Presents the Wizard, and returns the Iterator so the caller may query it for the results.

Returns:
The wizard iterator

showWizard

public static <T2 extends DFItem> NewDFItemWizardIterator showWizard(DFItem parent,
                                                                     List<DFNewType<T2>> newTypes,
                                                                     DFNewType<T2> selectedNewType,
                                                                     NewDFItemWizardIterator.WizardType type,
                                                                     List<WizardDescriptor.Panel> extraPanels,
                                                                     Dimension size)

showWizard

public static <T2 extends DFItem> NewDFItemWizardIterator showWizard(DFItem parent,
                                                                     List<DFNewType<T2>> newTypes,
                                                                     DFNewType<T2> selectedNewType,
                                                                     Map<Object,Object> customizerProperties,
                                                                     NewDFItemWizardIterator.WizardType type)
Presents the Wizard, and returns the Iterator so the caller may query it for the results.

Returns:
The wizard iterator

getNewItem

public T getNewItem()

getCreationTask

public Task getCreationTask()
Returns:
The creation Task handle

setMsgs

protected void setMsgs(Map<String,String> msgs)

getMsg

protected String getMsg(String key)

addExtraPanel

public void addExtraPanel(WizardDescriptor.Panel panel)

createPanels

protected WizardDescriptor.Panel[] createPanels()

current

public WizardDescriptor.Panel current()
Specified by:
current in interface WizardDescriptor.Iterator

name

public String name()
Specified by:
name in interface WizardDescriptor.Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface WizardDescriptor.Iterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface WizardDescriptor.Iterator

nextPanel

public void nextPanel()
Specified by:
nextPanel in interface WizardDescriptor.Iterator

setWizardDescriptor

protected void setWizardDescriptor(WizardDescriptor wizardDescriptor)

getWizardDescriptor

public WizardDescriptor getWizardDescriptor()

previousPanel

public void previousPanel()
Specified by:
previousPanel in interface WizardDescriptor.Iterator

addChangeListener

public void addChangeListener(ChangeListener l)
Specified by:
addChangeListener in interface WizardDescriptor.Iterator

removeChangeListener

public void removeChangeListener(ChangeListener l)
Specified by:
removeChangeListener in interface WizardDescriptor.Iterator

com.im.ijc.core/1 5.9.4