You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2013/02/22 11:58:12 UTC
[jira] [Created] (PIVOT-896) do not allow to set text to null in
Labels
Sandro Martini created PIVOT-896:
------------------------------------
Summary: do not allow to set text to null in Labels
Key: PIVOT-896
URL: https://issues.apache.org/jira/browse/PIVOT-896
Project: Pivot
Issue Type: Improvement
Components: wtk, wtk-terra
Reporter: Sandro Martini
Assignee: Sandro Martini
To have Label more aligned with other existing classes (TextInput, TextArea, etc) now it will not be possible to set a text null in Label instances.
Note that existing applications (usually custom renderers) could need to check for not null before calling the Label setText(text) now, for example:
label.setText(text != null ? text : "");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira