Class DisplayWizardModel
java.lang.Object
org.pietschy.wizard.AbstractWizardModel
org.pietschy.wizard.models.DynamicModel
repast.simphony.visualization.gui.DisplayWizardModel
- All Implemented Interfaces:
EventListener,org.pietschy.wizard.WizardListener,org.pietschy.wizard.WizardModel
public class DisplayWizardModel
extends org.pietschy.wizard.models.DynamicModel
implements org.pietschy.wizard.WizardListener
Wizard model for configuring displays.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class org.pietschy.wizard.models.DynamicModel
TRUE_CONDITION -
Constructor Summary
ConstructorsConstructorDescriptionDisplayWizardModel(Object contextID, DisplayDescriptor descriptor, ContextData rootContext) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancontainsProjectionType(String type) booleanbooleanbooleangetTypeDescriptor(String type) voidsetDescriptor(DisplayDescriptor descriptor) voidwizardCancelled(org.pietschy.wizard.WizardEvent wizardEvent) voidwizardClosed(org.pietschy.wizard.WizardEvent wizardEvent) Methods inherited from class org.pietschy.wizard.models.DynamicModel
add, add, allStepsComplete, isLastStep, lastStep, nextStep, previousStep, refreshModelState, reset, stepIteratorMethods inherited from class org.pietschy.wizard.AbstractWizardModel
addCompleteListener, addPropertyChangeListener, addPropertyChangeListener, getActiveStep, isLastAvailable, isLastVisible, isNextAvailable, isPreviousAvailable, removePropertyChangeListener, removePropertyChangeListener, setActiveStep, setCancelAvailable, setLastAvailable, setLastVisible, setNextAvailable, setPreviousAvailable
-
Constructor Details
-
DisplayWizardModel
-
-
Method Details
-
wizardCancelled
public void wizardCancelled(org.pietschy.wizard.WizardEvent wizardEvent) - Specified by:
wizardCancelledin interfaceorg.pietschy.wizard.WizardListener
-
wizardClosed
public void wizardClosed(org.pietschy.wizard.WizardEvent wizardEvent) - Specified by:
wizardClosedin interfaceorg.pietschy.wizard.WizardListener
-
getDescriptor
-
getTypeDescriptor
-
getDefaultStyle
-
contextContainsOnlyProjectionType
- Parameters:
type- the type of projection (e.g. Network)- Returns:
- true if this contains only projections of the specified type otherwise false
-
contextContainsProjectionType
- Parameters:
type-- Returns:
- true if the current list of projections contains the specified type.
-
containsOnlyProjectionType
- Parameters:
type- the type of projection (e.g. SNetwork)- Returns:
- true if this contains only projections of the specified type otherwise false
-
containsProjectionType
- Parameters:
type-- Returns:
- true if the current list of projections contains the specified type.
-
containsValueLayer
public boolean containsValueLayer() -
getContext
-
setDescriptor
-