Ticket #1846 (closed enhancement: fixed)

Opened 5 months ago

Last modified 5 months ago

Rename methods in Scrollable interface

Reported by: Matti Tahvonen Owned by: Matti Tahvonen
Priority: major Milestone: User Interface Library 5.2.5
Component: Server-side framework Version: 5.2.4
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description

Currently methods are like this:

getScrollOffsetY()

Change them (for consistency with GWT and other GUI frameworks) to be like this:

getScrollTop()

As Panel is the only known implementing class, we can do this API change safely and leave old function names as deprecated.

Change History

Changed 5 months ago by Marc Englund

Deprecating methods in interfaces is not very convenient; deprecated methods still have to be implemented AND it breaks implementing classes.

Changed 5 months ago by Matti Tahvonen

  • status changed from new to closed
  • resolution set to fixed

in [4942].

Didn't mean to deprecate them in interface, but in Panel where they are most commonly called.

Changed 5 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5 stable to User Interface Library 5.2.5
Note: See TracTickets for help on using tickets.