Package org.zkoss.zul

Examples of org.zkoss.zul.RowRenderer


    protected void delete(Profile profile) throws InstanceNotFoundException {
        profileModel.confirmRemove(profile);
    }

    public RowRenderer getRolesRenderer() {
        return new RowRenderer() {
            @Override
            public void render(Row row, Object data) throws Exception {
                final UserRole role = (UserRole) data;

                row.appendChild(new Label(_(role.getDisplayName())));
View Full Code Here


    public void setLdapConfiguration(LDAPConfiguration ldapConfiguration) {
        configurationModel.setLdapConfiguration(ldapConfiguration);
    }

    public RowRenderer getAllUserRolesRenderer() {
        return new RowRenderer() {
            @Override
            public void render(Row row, Object data) throws Exception {

                final UserRole role = (UserRole) data;
                row.appendChild(new Label(role.getDisplayName()));
View Full Code Here

        }
        return selectedConnector.getProperties();
    }

    public RowRenderer getConnectorPropertriesRenderer() {
        return new RowRenderer() {
            @Override
            public void render(Row row, Object data) {
                ConnectorProperty property = (ConnectorProperty) data;
                row.setValue(property);
View Full Code Here

                    _("Machine was already removed"));
        }
    }

    public RowRenderer getMachinesRenderer() {
        return new RowRenderer() {

            @Override
            public void render(Row row, Object data) {
                final Machine machine = (Machine) data;
                row.setValue(machine);
View Full Code Here

        }
        return _("Regular");
    }

    public RowRenderer getExpenseSheetsRenderer() {
        return new RowRenderer() {

            @Override
            public void render(Row row, Object data) throws Exception {
                final ExpenseSheet expenseSheet = (ExpenseSheet) data;
                row.setValue(expenseSheet);
View Full Code Here

        return unitTypeModel.getUnitTypes();
    }

    public RowRenderer getUnitTypeRenderer() {

        return new RowRenderer() {
            @Override
            public void render(Row row, Object data) {
                final UnitType unitType = (UnitType) data;

                appendUnitTypeName(row, unitType);
View Full Code Here

                .asList(CalculationTypeRadio.values())));
        calculationTypesGrid.setRowRenderer(getCalculationTypesRenderer());
    }

    private RowRenderer getCalculationTypesRenderer() {
        return new RowRenderer() {

            @Override
            public void render(Row row, Object data) throws Exception {
                CalculationTypeRadio type = (CalculationTypeRadio) data;
View Full Code Here

    public boolean getLdapUserRolesLdapConfiguration() {
        return (isLdapUser() && userModel.isLDAPRolesBeingUsed());
    }

    public RowRenderer getRolesRenderer() {
        return new RowRenderer() {
            @Override
            public void render(Row row, Object data) throws Exception {
                final UserRole role = (UserRole) data;

                row.appendChild(new Label(_(role.getDisplayName())));
View Full Code Here

    public void setMessagesForUserComponent(IMessagesForUser component) {
        messagesForUser = component;
    }

    public RowRenderer getOrderAuthorizationRenderer() {
        return new RowRenderer() {

            @Override
            public void render(Row row, Object data) {
                final ProfileOrderAuthorization profileOrderAuthorization = (ProfileOrderAuthorization) data;
View Full Code Here

    /**
     * renders job scheduling and returns {@link RowRenderer}
     */
    public RowRenderer getJobSchedulingRenderer() {
        return new RowRenderer() {

            @Override
            public void render(Row row, Object data) {
                final JobSchedulerConfiguration jobSchedulerConfiguration = (JobSchedulerConfiguration) data;
                row.setValue(data);
View Full Code Here

TOP

Related Classes of org.zkoss.zul.RowRenderer

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.