com.vaadin.v7.client.ui.calendar.schedule.WeekLabel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-compatibility-client Show documentation
Show all versions of vaadin-compatibility-client Show documentation
Vaadin 7 compatibility package for Vaadin 8
/*
* Copyright (C) 2000-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.v7.client.ui.calendar.schedule;
import com.google.gwt.user.client.ui.Label;
/**
* A label in the {@link SimpleWeekToolbar}.
*
* @since 7.1
*/
public class WeekLabel extends Label {
private int week;
private int year;
public WeekLabel(String string, int week2, int year2) {
super(string);
setStylePrimaryName("v-calendar-week-number");
week = week2;
year = year2;
}
public int getWeek() {
return week;
}
public void setWeek(int week) {
this.week = week;
}
public int getYear() {
return year;
}
public void setYear(int year) {
this.year = year;
}
}