Skip to content

Commit ff55a4d

Browse files
committed
Deprecate methods for removal in future releases
1 parent 53fc021 commit ff55a4d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ To see the demo, navigate to http://localhost:8080/
3838
- **Version 1.0.5** Added support for: setting the header title and height, and configuring the header behavior on scroll, the drawer swipe-open behavior, and disabling menu items.
3939
- **Version 1.0.6** Added support for: making the menu list scrollable and support for image-based icons. API enhancements and fixes.
4040
- **Version 1.0.7** Added abstract RouterLayout and style mouse pointer as a hand.
41+
- **Version 1.0.8** Deprecate methods for removal in future releases.
4142

4243
## Roadmap
4344

src/main/java/com/flowingcode/addons/applayout/menu/MenuItem.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,18 @@ public MenuItem(String label, Command command) {
8686
this.setCommand(command);
8787
}
8888

89-
/** Create a new instance of {@code MenuItem} with a label, an icon, and left-button command. */
89+
/** Create a new instance of {@code MenuItem} with a label, an icon, and left-button command.
90+
@deprecated (for removal) Use fluent API */
91+
@Deprecated
9092
public MenuItem(String label, String icon, Command command) {
9193
setLabel(label);
9294
setCommand(command);
9395
setIcon(icon);
9496
}
9597

98+
/** Create a new instance of {@code MenuItem} with a label, an image, and left-button command.
99+
* @deprecated (for removal) Use fluent API */
100+
@Deprecated
96101
public MenuItem(String label, URL image, Command command) {
97102
this.label = label;
98103
this.command = command;

0 commit comments

Comments
 (0)