[ 
https://issues.apache.org/jira/browse/PIVOT-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300619#comment-17300619
 ] 

Roger Lee Whitcomb commented on PIVOT-1053:
-------------------------------------------

Also adding "getStyle" and "getStyleXXX" methods for use:

Sending        wtk/src/org/apache/pivot/wtk/Component.java
Transmitting file data .done
Committing transaction...
Committed revision 1887554.

> 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)

Reply via email to