Package pt.ist.fenixWebFramework.renderers.components

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlBlockContainer.addChild()


                    HtmlBlockContainer courseContainer = new HtmlBlockContainer();
                    HtmlText groupName = new HtmlText(group.getPresentationName());
                    if (getGroupNameClasses() != null) {
                        groupName.setClasses(getGroupNameClasses());
                    }
                    courseContainer.addChild(groupName);
                    HtmlTable table = new HtmlTable();
                    for (CompetenceCourse course : group.getCurrentOrFutureCompetenceCourses()) {
                        if (course.getCurricularStage().equals(stage)) {
                            HtmlTableRow courseRow = table.createRow();
                            HtmlComponent coursePresentation =
View Full Code Here


                                cell.setBody(getLinks(course));
                                cell.setClasses("aright");
                            }
                        }
                    }
                    courseContainer.addChild(table);
                    if (getTableClasses() != null) {
                        table.setClasses(getTableClasses());
                    }

                    item.setBody(courseContainer);
View Full Code Here

                }
                listContainer.addChild(areaName);
                listContainer.addChild(list);
            }
            HtmlBlockContainer container = new HtmlBlockContainer();
            container.addChild(getCaptionPresentation());
            container.addChild(listContainer);

            return container;
        }
View Full Code Here

                listContainer.addChild(areaName);
                listContainer.addChild(list);
            }
            HtmlBlockContainer container = new HtmlBlockContainer();
            container.addChild(getCaptionPresentation());
            container.addChild(listContainer);

            return container;
        }

        protected HtmlComponent getLinks(CompetenceCourse course) {
View Full Code Here

            if (isFutureDepartmentMessageShown() || isFutureGroupMessageShown() || isFutureTransferMessageShown()
                    || isOldDepartmentMessageShown()) {
                HtmlText caption = new HtmlText(BundleUtil.getString(Bundle.BOLONHA, "caption"));
                caption.setClasses(CAPTION_CLASSES);
                caption.setFace(Face.STRONG);
                container.addChild(caption);
                HtmlList list = new HtmlList();
                if (isOldDepartmentMessageShown()) {
                    HtmlListItem item = list.createItem();
                    HtmlInlineContainer messageLine = new HtmlInlineContainer();
                    HtmlText message = new HtmlText(BundleUtil.getString(Bundle.BOLONHA, "current.department") + ":");
View Full Code Here

                    message.setFace(Face.EMPHASIS);
                    messageLine.addChild(message);
                    messageLine.addChild(new HtmlText(BundleUtil.getString(Bundle.BOLONHA, "future.transfer.caption")));
                    item.addChild(messageLine);
                }
                container.addChild(list);
            }
            return container;
        }

        private HtmlComponent getStage(CurricularStage curricularStage) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.