Constructor and Description |
---|
TimeModelController(Project project)
Instantiates a new time model controller.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndexPositionOfTimeModelTab()
Gets the index position of time model tab.
|
JPanel4TimeModelConfiguration |
getJPanel4TimeModelConfiguration()
Returns the JPanel for the time model configuration.
|
TimeModel |
getTimeModel()
Returns the current time model.
|
TimeModel |
getTimeModelCopy()
Returns, if available, a copy of the current TimeModel.
|
void |
saveTimeModelToSimulationSetup()
Save the current TimeModel to the current simulation setup.
|
void |
setIndexPositionOfTimeModelTab(int newIndexPosistion)
Sets the index position of time model tab.
|
void |
setTimeModel(TimeModel newTimeModel)
Sets the time model.
|
void |
update(java.util.Observable observable,
java.lang.Object updateObject) |
public TimeModelController(Project project)
public void setTimeModel(TimeModel newTimeModel)
newTimeModel
- the new time modelpublic TimeModel getTimeModel()
public TimeModel getTimeModelCopy()
public void saveTimeModelToSimulationSetup()
public JPanel4TimeModelConfiguration getJPanel4TimeModelConfiguration()
public int getIndexPositionOfTimeModelTab()
public void setIndexPositionOfTimeModelTab(int newIndexPosistion)
newIndexPosistion
- the new index position of time model tabpublic void update(java.util.Observable observable, java.lang.Object updateObject)
update
in interface java.util.Observer