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