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

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

This should be solved by the changes for PIVOT-1056 to reduce the number of 
skin "setter" methods, and now there is a standard method in ComponentSkin 
("colorFromObject") which supports all the possible ways colors can be 
specified.

> For complete support of the new CSSColor type every place that accepts a 
> Color value should accept a CSSColor and convert
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-1055
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1055
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk, wtk-terra
>            Reporter: Roger Lee Whitcomb
>            Assignee: Roger Lee Whitcomb
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Many/most/all of the "setColor", "setBackgroundColor", etc. methods in the 
> skins (which corresponds to "styles" of the Component) have overrides which 
> accept a String, a theme color index, and a regular Java Color value.  There 
> should be one additional method that accepts a CSSColor as well.
> This would involve hundreds of changes... just saying.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to