pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Martini (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIVOT-896) do not allow to set text to null in Labels
Date Fri, 22 Feb 2013 10:58:12 GMT
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

Mime
View raw message