EaTzUrFaCe / surfaceplotter

Automatically exported from code.google.com/p/surfaceplotter
0 stars 0 forks source link

provide setters for ColorModelSet lightColor, boxColor and JSurfacePanel.title (bg) color #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In cases where the panel is part of an application with different look-and-feel 
it would be nice to have a simple way of adapting colors appropriately. For the 
ColorModelSet.lightColor and .boxColor this can be achieved with an overriding 
trick (thx Eric to point me to it :-) by extending ColorModelSet and 
SurfaceModel. However this is a bit tricky and should be made easier.
However the color of the title cannot be overridden that way since 
JSurfacePanel.title is private. 
Setters for these and similar attributes would make life a lot easier.

Original issue reported on code.google.com by camillo...@gmail.com on 5 Jun 2012 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by e...@ericaro.net on 14 Jun 2012 at 5:53