/******************************************************************************* * Copyright (c) 2012 Association for Decentralized Information Management in * Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * VTT Technical Research Centre of Finland - initial API and implementation *******************************************************************************/ package org.simantics.modeling.template2d.ui.function; import org.simantics.databoard.annotations.Optional; import org.simantics.databoard.util.Bean; import org.simantics.datatypes.literal.Font; import org.simantics.datatypes.literal.RGB; import org.simantics.db.Resource; public class MonitorInfo extends Bean { private Font font = new Font("Arial", 10, "Normal"); private RGB.Integer color = new RGB.Integer(0,0,0); private String text = new String(""); private double[] transform = new double[]{1.0,0,0,1.0,0,0}; @Optional private Resource resource = null; public Resource getResource() { return resource; } public void setResource(Resource resource) { this.resource = resource; } public String getText() { return text; } public void setText(String text) { this.text = text; } public Font getFont() { return font; } public void setFont(Font dataFont) { this.font = dataFont; } public RGB.Integer getColor() { return color; } public void setColor(RGB.Integer color) { this.color = color; } public double[] getTransform() { return transform; } public void setTransform(double[] transform) { this.transform = transform; } }