CSSBuilder update - No Fluff Just Stuff

CSSBuilder update

Posted by: Andres Almiray on June 11, 2009

Here is the scoop on the latest developments regarding CSSBuilder:
  • Added the full range of CSS2 colors.
  • Support for additional CSS properties: border-color, border-width, border-top-width, border-left-width, border-bottom-width, border-right-width, padding, padding-top, padding-left, padding-bottom, padding-right, width, height, min-width, min-height, max-width, max-height
  • Added pref-width and pref-height (matching Swing's setPreferredSize())
  • Added swing specific properties: swing-halign (maps to setHorizontalAlignment()), swing-valign (maps to setVerticalAlignment()), swing-client-property (takes a Map literal as value).
Here is a small example that illustrates the new properties



This is the stylesheet that was applied to the application
And this is the view script
Keep on Groovying!
Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »