public interface EomController
ScheduleController
, an OptionModelController
or a GroupController
as a controller that is used within the application of the Energy Option Model.Modifier and Type | Method and Description |
---|---|
java.io.File |
getCurrentFile()
Has to return the file object that is currently open in the controller.
|
boolean |
isClosable(java.awt.Component parentComponent)
Checks and return if the current controller and its open file is closable.
|
void |
setChangedAndNotifyObservers(java.lang.Object notification)
Sets the current state to changed and notifies all observers in one step.
|
java.io.File getCurrentFile()
boolean isClosable(java.awt.Component parentComponent)
parentComponent
- the parent component that has the current focus (for user requests)void setChangedAndNotifyObservers(java.lang.Object notification)
notification
- the new changed and notify observers