1 /*******************************************************************************
2 * Copyright (c) 2012 Association for Decentralized Information Management in
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.modeling.template2d.ui.function;
14 import org.simantics.databoard.annotations.Optional;
15 import org.simantics.databoard.util.Bean;
16 import org.simantics.datatypes.literal.Font;
17 import org.simantics.datatypes.literal.RGB;
18 import org.simantics.db.Resource;
20 public class MonitorInfo extends Bean {
21 private Font font = new Font("Arial", 10, "Normal");
22 private RGB.Integer color = new RGB.Integer(0,0,0);
23 private String text = new String("");
24 private double[] transform = new double[]{1.0,0,0,1.0,0,0};
27 private Resource resource = null;
29 public Resource getResource() {
33 public void setResource(Resource resource) {
34 this.resource = resource;
37 public String getText() {
41 public void setText(String text) {
45 public Font getFont() {
49 public void setFont(Font dataFont) {
53 public RGB.Integer getColor() {
57 public void setColor(RGB.Integer color) {
61 public double[] getTransform() {
65 public void setTransform(double[] transform) {
66 this.transform = transform;