Ejemplo n.º 1
0
class Event_Monitor_Document:
    """ This is a place where you put everything that it is yours logic and GUI """
    def __init__(self):
        self.event_monitor_window = null
        #----  Controllers ----------------------
        self.monitor_controller = Monitor_Controller(self)
        self.config_controller = Config_Controller(self)
        self.app_mane_panel = self.monitor_controller.getMainPanel()

    def setWindow(self, event_monitor_window):
        self.event_monitor_window = event_monitor_window
        self.event_monitor_window.getMainPanel().add(self.app_mane_panel)

    def getWindow(self):
        return self.event_monitor_window

    def getMessageTextField(self):
        if (self.event_monitor_window != null):
            return self.event_monitor_window.getMessageTextField()
        else:
            return null
Ejemplo n.º 2
0
class Event_Monitor_Document:
    """ This is a place where you put everything that it is yours logic and GUI """

    def __init__(self):
        self.event_monitor_window = null
        # ----  Controllers ----------------------
        self.monitor_controller = Monitor_Controller(self)
        self.config_controller = Config_Controller(self)
        self.app_mane_panel = self.monitor_controller.getMainPanel()

    def setWindow(self, event_monitor_window):
        self.event_monitor_window = event_monitor_window
        self.event_monitor_window.getMainPanel().add(self.app_mane_panel)

    def getWindow(self):
        return self.event_monitor_window

    def getMessageTextField(self):
        if self.event_monitor_window != null:
            return self.event_monitor_window.getMessageTextField()
        else:
            return null
Ejemplo n.º 3
0
 def __init__(self):
     self.event_monitor_window = null
     #----  Controllers ----------------------
     self.monitor_controller = Monitor_Controller(self)
     self.config_controller = Config_Controller(self)
     self.app_mane_panel = self.monitor_controller.getMainPanel()
Ejemplo n.º 4
0
 def __init__(self):
     self.event_monitor_window = null
     # ----  Controllers ----------------------
     self.monitor_controller = Monitor_Controller(self)
     self.config_controller = Config_Controller(self)
     self.app_mane_panel = self.monitor_controller.getMainPanel()