2019-11-24 17:48:40 +00:00
|
|
|
package it.unisannio.ding.ids.wedroid.wrapper.entity;
|
2019-11-10 11:02:53 +00:00
|
|
|
|
2019-11-10 12:55:50 +00:00
|
|
|
/**
|
|
|
|
* Describes the properties of the new label.
|
|
|
|
*/
|
2019-11-10 11:02:53 +00:00
|
|
|
public class LabelPrototype {
|
|
|
|
private Label label;
|
|
|
|
|
2019-11-10 12:55:50 +00:00
|
|
|
/**
|
|
|
|
* @param name The name of the new label
|
|
|
|
* @param color The color of the new label
|
|
|
|
*/
|
2019-11-12 10:09:43 +00:00
|
|
|
public LabelPrototype(String name, Color color) {
|
2019-11-10 11:02:53 +00:00
|
|
|
label = new Label(null, name, color);
|
|
|
|
}
|
|
|
|
}
|