Package org.zkoss.zul

Examples of org.zkoss.zul.Label


            @Override
            protected void afterShowAction() {
                breadcrumbs.getChildren().clear();
                breadcrumbs.appendChild(new Image(BREADCRUMBS_SEPARATOR));
                breadcrumbs.appendChild(new Label(getSchedulingLabel()));
                breadcrumbs.appendChild(new Image(BREADCRUMBS_SEPARATOR));
                breadcrumbs.appendChild(new Label(_("Resources Load")));
                breadcrumbs.appendChild(new Image(BREADCRUMBS_SEPARATOR));
                Order currentOrder = mode.getOrder();
                resourceLoadController
                        .setPlanningControllerEntryPoints(orderPlanningGate);
                resourceLoadController.filterBy(currentOrder);
                resourceLoadController.reload();
                breadcrumbs.appendChild(new Label(currentOrder.getName()));
            }
        };
    }
View Full Code Here


                resourceLoadControllerGlobal.reload();
                if (breadcrumbs.getChildren() != null) {
                    breadcrumbs.getChildren().clear();
                }
                breadcrumbs.appendChild(new Image(BREADCRUMBS_SEPARATOR));
                breadcrumbs.appendChild(new Label(getSchedulingLabel()));
                breadcrumbs.appendChild(new Image(BREADCRUMBS_SEPARATOR));
                breadcrumbs.appendChild(new Label(_("Resources Load")));
            }
        };
    }
View Full Code Here

            row.appendChild(pessimisticDuration(task));
            row.appendChild(pessimisticDurationPercentage(task));
        }

        private Label taskName(final MonteCarloTask task) {
            return new Label(task.getTaskName());
        }
View Full Code Here

            return new Label(task.getTaskName());
        }

        private Label duration(final MonteCarloTask task) {
            Double duration = Double.valueOf(task.getDuration().doubleValue());
            return new Label(duration.toString());
        }
View Full Code Here

        Component breadcrumbs = comp.getPage().getFellow("breadcrumbs");
        if (breadcrumbs.getChildren() != null) {
            breadcrumbs.getChildren().clear();
        }
        breadcrumbs.appendChild(new Image(BREADCRUMBS_SEPARATOR));
        breadcrumbs.appendChild(new Label(_("Planning")));
        breadcrumbs.appendChild(new Image(BREADCRUMBS_SEPARATOR));
        breadcrumbs.appendChild(new Label(_("Templates")));
    }
View Full Code Here

                    }
                }
            });

            Hbox hbox = new Hbox();
            hbox.appendChild(new Label(_("From") + ":"));
            hbox.appendChild(startBox);
            hbox.appendChild(new Label(_("To") + ":"));
            hbox.appendChild(endBox);
            hbox.setAlign("center");
            return hbox;
        }
View Full Code Here

    /**
     * Appends the <code>text</code> as a {@link Label} into the specified
     * {@link Row}.
     */
    public static void appendLabel(Row row, String text) {
        row.appendChild(new Label(text));
    }
View Full Code Here

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

                final UserRole role = (UserRole) data;
                row.appendChild(new Label(role.getDisplayName()));

                final Textbox tempTextbox = new Textbox();
                Textbox textbox = Util.bind(tempTextbox, new Util.Getter<String>() {
                    @Override
                    public String get() {
View Full Code Here

                    public void onEvent(Event event) {
                                goToEditForm(machine);
                            }
                        });

                row.appendChild(new Label(machine.getName()));
                row.appendChild(new Label(machine.getDescription()));
                row.appendChild(new Label(machine.getCode()));
                row.appendChild(new Label((Boolean.TRUE.equals(machine
                        .isLimitingResource())) ? _("yes") : _("no")));

                Hbox hbox = new Hbox();
                hbox.appendChild(Util.createEditButton(new EventListener() {
                    @Override
View Full Code Here

                    }
                });
            }

            private void appendUnitTypeName(Row row, UnitType unitType) {
                row.appendChild(new Label(unitType.getMeasure()));
            }

            private void appendOperations(Row row, final UnitType unitType) {
                Hbox hbox = new Hbox();
View Full Code Here

TOP

Related Classes of org.zkoss.zul.Label

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.