Package open.dolphin.infomodel

Examples of open.dolphin.infomodel.TextStampModel


     * @return ModuleModel
     */
    @Override
    public Object getValue() {
        ModuleModel model = new ModuleModel();
        TextStampModel stamp = new TextStampModel();
        ModuleInfoBean info = new ModuleInfoBean();

        info.setStampName(titleField.getText().trim());
        info.setEntity(entity);
        info.setStampRole(IInfoModel.ROLE_TEXT);
        stamp.setText(textPane.getText());

        model.setModel(stamp);
        model.setModuleInfo(info);

        return model;
View Full Code Here


     * @param val ModuleModel
     */
    @Override
    public void setValue(Object val) {
        ModuleModel model = (ModuleModel) val;
        TextStampModel stamp = (TextStampModel) model.getModel();
        textPane.setText(stamp.getText());
        titleField.setText(model.getModuleInfo().getStampName());
       
        textPane.requestFocusInWindow();
    }
View Full Code Here

TOP

Related Classes of open.dolphin.infomodel.TextStampModel

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.