-
Couldn't load subscription status.
- Fork 18
Open
Description
Over a long period of time many Classes, constructors and methods have been deprecated in WComponents. When an API is deprecated it's a sign to users that it should not be used. How can we expect users to not use them if the framework itself and provided examples use them. I have listed below APIs that are used with WComponents, or examples, that should be updated to remove that usage.
- Replace usage of
WBeanContainerclass withWContainerRemove usage of WBeanContainer from framework and examples #1733 - Replace usage of
WHeading.TITLEand other constant based heading levels withHeadingLevelvalues Ensure consistent usage of HeadingLevel #1734 - Remove usage of deprecated
intbasedFlowLayoutconstructors and replace withSizebased constructors Deprecated FlowLayout constructors must not be used #1735 - Remove usage of deprecated
intbasedColumnLayoutconstructors and replace withSizebased constructors Removed usage of deprecated ColumnLayout constructors #1736 - Remove usage of
SelectModeAPIs. Replace with newSelectionModeAPIs. Remove usage of SelectMode from examples #1741 - Remove usage of deprecated
intbasedMarginconstructors and replace withSizebased constructors Replace usage of int Margins with Size margins #1739 - Remove usage of
WProgressBar.UnitTypefrom examples. Remove usage of progressbar UnitType from examples #1750 - Remove usage of
BorderLayoutit is deprecated and should not be used. Removed usage of BorderLayout from the examples #1788 - Remove usage of
WComponent::getTagandWComponent::setTagfromWDefinitionListRemove usage of the getTag and setTag methods #1740 - Remove usage of
WMenu::getSelectedItem,WMenu::getSelectedItemsandWMenu::clearSelectedItemsfrom examples and replace withWMenu::getSelectedMenuItem,WMenu::getSelectedMenuItemsandWMenu::clearSelectedMenuItems. Remove usage of WMenu deprecated methods from examples #1789