Package com.nexirius.jnex.example.layout

Source Code of com.nexirius.jnex.example.layout.MediaArrayLayout

package com.nexirius.jnex.example.layout;

import com.nexirius.framework.layout.TableLayoutItem;
import com.nexirius.framework.layout.TableColumnLayoutItem;
import com.nexirius.jnex.example.datamodel.MediaModel;

public class MediaArrayLayout extends TableLayoutItem {
    public MediaArrayLayout() {
        append(new TableColumnLayoutItem(MediaModel.FIELD_index, MediaModel.FIELD_index, 50));
        append(new TableColumnLayoutItem(MediaModel.FIELD_medium, MediaModel.FIELD_medium, 50));
        append(new TableColumnLayoutItem(MediaModel.FIELD_title, MediaModel.FIELD_title, 300));
    }
}
TOP

Related Classes of com.nexirius.jnex.example.layout.MediaArrayLayout

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.