Package event_manager.controllers

Examples of event_manager.controllers.EventsController


    private void submit() {
        client = (Client) clientComboBox.getSelectedItem();
        event.setClientId(client.get("id"));
        event.setTime(timeField.getText());
        if(ValidationHelper.validate(bindingGroup) && new EventsController().save(view, event)) {
            dispose();
        }
    }
View Full Code Here


    private void newTab(final String panelName, int panelId) {
        Component panel = null;
        switch(panelId) {
            case ViewHelper.LIST_EVENT:
                panel = new ListPanel(new EventsController(), new Event(), this);
                break;
            case ViewHelper.LIST_STAFF:
                panel = new ListPanel(new StaffsController(), new Staff(), this);
                break;
            case ViewHelper.LIST_CLIENT:
View Full Code Here

        }
    }

    // View to controller mapping functions
    private void listEvents() {
        new EventsController().index(this);
    }
View Full Code Here

    private void listClients() {
        new ClientsController().index(this);
    }

    private void newEvent() {
        new EventsController().createNew(this);
    }
View Full Code Here

TOP

Related Classes of event_manager.controllers.EventsController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.