diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-22 11:44:16 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-22 12:44:16 +0300 |
commit | 23718371f820fb3babca2c57072a62137aa2c01d (patch) | |
tree | 3946a0bcde21d517bcc8b57921cae505f297d81a /compatibility-client/src | |
parent | b07fc07ce90c12a191e0d425ae7a90f2ba690d3e (diff) | |
download | vaadin-framework-23718371f820fb3babca2c57072a62137aa2c01d.tar.gz vaadin-framework-23718371f820fb3babca2c57072a62137aa2c01d.zip |
Remove unused methods. (#10058)
Diffstat (limited to 'compatibility-client/src')
4 files changed, 0 insertions, 57 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java index b78ad3928b..74c88d9c52 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java @@ -659,20 +659,6 @@ public class VFilterSelect extends Composite } } - private void scroll(double deltaY) { - boolean scrollActive = menu.isScrollActive(); - - debug("VFS.SP: scroll() scrollActive: " + scrollActive); - - if (!scrollActive) { - if (deltaY > 0d) { - lazyPageScroller.scrollDown(); - } else { - lazyPageScroller.scrollUp(); - } - } - } - @Override public void onBrowserEvent(Event event) { debug("VFS.SP: onBrowserEvent()"); diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java index 04bb24f0b9..f0f05ff476 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java @@ -6648,18 +6648,6 @@ public class VScrollTable extends FlowPanel return paintableId; } - private int getColIndexOf(Widget child) { - com.google.gwt.dom.client.Element widgetCell = child - .getElement().getParentElement().getParentElement(); - NodeList<TableCellElement> cells = rowElement.getCells(); - for (int i = 0; i < cells.getLength(); i++) { - if (cells.getItem(i) == widgetCell) { - return i; - } - } - return -1; - } - public Widget getWidgetForPaintable() { return this; } diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTreeTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTreeTable.java index db691b3785..903b611ff3 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTreeTable.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTreeTable.java @@ -271,16 +271,6 @@ public class VTreeTable extends VScrollTable { } } - private int getHierarchyAndIconWidth() { - int consumedSpace = treeSpacer.getOffsetWidth(); - if (treeSpacer.getParentElement().getChildCount() > 2) { - // icon next to tree spacer - consumedSpace += ((com.google.gwt.dom.client.Element) treeSpacer - .getNextSibling()).getOffsetWidth(); - } - return consumedSpace; - } - @Override protected void setCellWidth(int cellIx, int width) { if (cellIx == getHierarchyColumnIndex()) { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/schedule/DateCellDayEvent.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/schedule/DateCellDayEvent.java index 65b49b8434..7ba6d3f0a2 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/schedule/DateCellDayEvent.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/calendar/schedule/DateCellDayEvent.java @@ -565,27 +565,6 @@ public class DateCellDayEvent extends FocusableHTML return DateConstants.MINUTEINMILLIS * 30; } - /** - * Build the string for sending resize events to server - * - * @param event - * @return - */ - private String buildResizeString(CalendarEvent event) { - StringBuilder buffer = new StringBuilder(); - buffer.append(event.getIndex()); - buffer.append(","); - buffer.append(DateUtil.formatClientSideDate(event.getStart())); - buffer.append("-"); - buffer.append(DateUtil.formatClientSideTime(event.getStartTime())); - buffer.append(","); - buffer.append(DateUtil.formatClientSideDate(event.getEnd())); - buffer.append("-"); - buffer.append(DateUtil.formatClientSideTime(event.getEndTime())); - - return buffer.toString(); - } - private Date getTargetDateByCurrentPosition(int left) { DateCell newParent = (DateCell) weekGrid.content .getWidget((left / getDateCellWidth()) + 1); |