diff options
Diffstat (limited to 'compatibility-client')
4 files changed, 16 insertions, 16 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java index bd1740d0fa..819248787b 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendarPanel.java @@ -238,7 +238,7 @@ public class VCalendarPanel extends FocusableFlexTable implements * one of the days currently visible. */ private void focusDay(Date date) { - // Only used when calender body is present + // Only used when calendar body is present if (resolution.getCalendarField() > Resolution.MONTH .getCalendarField()) { if (focusedDay != null) { @@ -1632,7 +1632,7 @@ public class VCalendarPanel extends FocusableFlexTable implements } /** - * TimeSelector is a widget consisting of list boxes that modifie the Date + * TimeSelector is a widget consisting of list boxes that modify the Date * object that is given for. * */ @@ -1955,7 +1955,7 @@ public class VCalendarPanel extends FocusableFlexTable implements /** * The submit listener is called when the user selects a value from the - * calender either by clicking the day or selects it by keyboard. + * calendar either by clicking the day or selects it by keyboard. * * @param submitListener * The listener to trigger diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java index 50a24f1387..dca367ee22 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java @@ -98,7 +98,7 @@ public class VPopupCalendar extends VTextualDate private Label selectedDate; - private Element descriptionForAssisitveDevicesElement; + private Element descriptionForAssistiveDevicesElement; public VPopupCalendar() { super(); @@ -129,15 +129,15 @@ public class VPopupCalendar extends VTextualDate add(calendarToggle); - // Description of the usage of the widget for assisitve device users - descriptionForAssisitveDevicesElement = DOM.createDiv(); - descriptionForAssisitveDevicesElement.setInnerText( + // Description of the usage of the widget for assistive device users + descriptionForAssistiveDevicesElement = DOM.createDiv(); + descriptionForAssistiveDevicesElement.setInnerText( PopupDateFieldState.DESCRIPTION_FOR_ASSISTIVE_DEVICES); - AriaHelper.ensureHasId(descriptionForAssisitveDevicesElement); + AriaHelper.ensureHasId(descriptionForAssistiveDevicesElement); Roles.getTextboxRole().setAriaDescribedbyProperty(text.getElement(), - Id.of(descriptionForAssisitveDevicesElement)); + Id.of(descriptionForAssistiveDevicesElement)); AriaHelper.setVisibleForAssistiveDevicesOnly( - descriptionForAssisitveDevicesElement, true); + descriptionForAssistiveDevicesElement, true); calendar = GWT.create(VCalendarPanel.class); calendar.setParentField(this); @@ -207,13 +207,13 @@ public class VPopupCalendar extends VTextualDate protected void onAttach() { super.onAttach(); DOM.appendChild(RootPanel.get().getElement(), - descriptionForAssisitveDevicesElement); + descriptionForAssistiveDevicesElement); } @Override protected void onDetach() { super.onDetach(); - descriptionForAssisitveDevicesElement.removeFromParent(); + descriptionForAssistiveDevicesElement.removeFromParent(); closeCalendarPanel(); } @@ -571,7 +571,7 @@ public class VPopupCalendar extends VTextualDate */ public void setDescriptionForAssistiveDevices( String descriptionForAssistiveDevices) { - descriptionForAssisitveDevicesElement + descriptionForAssistiveDevicesElement .setInnerText(descriptionForAssistiveDevices); } @@ -582,7 +582,7 @@ public class VPopupCalendar extends VTextualDate * @return String with the description */ public String getDescriptionForAssistiveDevices() { - return descriptionForAssisitveDevicesElement.getInnerText(); + return descriptionForAssistiveDevicesElement.getInnerText(); } /** diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java index b8e2c483e8..65ab2b4a71 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java @@ -284,7 +284,7 @@ public class Escalator extends Widget // todo comments legend /* * [[optimize]]: There's an opportunity to rewrite the code in such a way - * that it _might_ perform better (rememeber to measure, implement, + * that it _might_ perform better (remember to measure, implement, * re-measure) */ /* diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java index 65d9adc3c1..980745eac9 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java @@ -6882,7 +6882,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, } /** - * Gets the {@link Escalator} used by this Grid instnace. + * Gets the {@link Escalator} used by this Grid instance. * * @return the escalator instance, never <code>null</code> */ |