[
https://issues.apache.org/jira/browse/PIVOT-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300604#comment-17300604
]
Roger Lee Whitcomb commented on PIVOT-1053:
-------------------------------------------
Initial submission:
Sending demos/src/org/apache/pivot/demos/colors/Colors.java
Sending wtk/src/org/apache/pivot/wtk/Component.java
Transmitting file data ..done
Committing transaction...
Committed revision 1887551.
> Add "putStyle" methods to Component to make setting styles less verbose
> -----------------------------------------------------------------------
>
> Key: PIVOT-1053
> URL: https://issues.apache.org/jira/browse/PIVOT-1053
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Roger Lee Whitcomb
> Assignee: Roger Lee Whitcomb
> Priority: Minor
> Fix For: 2.1.0
>
>
> The normal code right now is:
> {{getStyles().put(...)}}
> whereas with this method we get:
> {{putStyle(...)}}
> which is both shorter and cleaner, and more clear as to what is going on.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)