Package pt.ist.fenixWebFramework.renderers.layouts

Examples of pt.ist.fenixWebFramework.renderers.layouts.Layout


public class ContactListRenderer extends AbstractContactRenderer {
    private String itemClasses;

    @Override
    protected Layout getLayout(Object unfiltered, Class type) {
        return new Layout() {
            @Override
            public HtmlComponent createComponent(Object unfiltered, Class type) {
                List<MetaObject> contacts = getFilteredContacts((Collection<PartyContact>) unfiltered);
                if (contacts.isEmpty()) {
                    return new HtmlText();
View Full Code Here


    }

    @Override
    protected Layout getLayout(Object object, Class type) {

        return new Layout() {

            @Override
            public HtmlComponent createComponent(Object object, Class type) {
                MetaSlot slot = (MetaSlot) getContext().getMetaObject();
View Full Code Here

        setFormat(DEFAULT_FORMAT);
    }

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            @Override
            public HtmlComponent createComponent(Object object, Class type) {
                if (object != null) {
                    final Number number = ((Money) object).getAmount();
View Full Code Here

public class ExecutionPeriodRenderer extends OutputRenderer {

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            @Override
            public HtmlComponent createComponent(Object object, Class type) {
                ExecutionSemester executionSemester = (ExecutionSemester) object;
                StringBuilder text = new StringBuilder();
View Full Code Here

        this.moduleRelative = moduleRelative;
    }

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            @Override
            public HtmlComponent createComponent(Object object, Class type) {

                final HtmlBlockContainer blockContainer = new HtmlBlockContainer();
View Full Code Here

public class GroupRenderer extends OutputRenderer {

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            private HtmlComponent processUnionGroup(UnionGroup object) {
                HtmlContainer container = new HtmlInlineContainer();
                container.setIndented(false);
View Full Code Here

public class SummaryPlainRenderer extends OutputRenderer {

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            @Override
            public HtmlComponent createComponent(Object object, Class type) {
                if (object == null) {
                    return new HtmlText();
View Full Code Here

    }

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            @Override
            public HtmlComponent createComponent(Object object, Class type) {
                Collection<UnitFileTag> tags =
                        (getSortBy() != null) ? RenderUtils.sortCollectionWithCriteria((Collection<UnitFileTag>) object,
View Full Code Here

    private String gradeScaleClasses;

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            @Override
            public HtmlComponent createComponent(Object object, Class type) {
                Grade grade = (Grade) object;
                if (grade == null || grade.isEmpty()) {
View Full Code Here

public class LessonPlainRenderer extends OutputRenderer {

    @Override
    protected Layout getLayout(Object object, Class type) {
        return new Layout() {

            @Override
            public HtmlComponent createComponent(Object object, Class type) {

                if (object == null) {
View Full Code Here

TOP

Related Classes of pt.ist.fenixWebFramework.renderers.layouts.Layout

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.