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
ConstructorDescriptionDisplayWizardModel
(Object contextID, DisplayDescriptor descriptor, ContextData rootContext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
containsProjectionType
(String type) boolean
boolean
boolean
getTypeDescriptor
(String type) void
setDescriptor
(DisplayDescriptor descriptor) void
wizardCancelled
(org.pietschy.wizard.WizardEvent wizardEvent) void
wizardClosed
(org.pietschy.wizard.WizardEvent wizardEvent) Methods inherited from class org.pietschy.wizard.models.DynamicModel
add, add, allStepsComplete, isLastStep, lastStep, nextStep, previousStep, refreshModelState, reset, stepIterator
Methods 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:
wizardCancelled
in interfaceorg.pietschy.wizard.WizardListener
-
wizardClosed
public void wizardClosed(org.pietschy.wizard.WizardEvent wizardEvent) - Specified by:
wizardClosed
in 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
-