From Documentation

Jump to: navigation, search



  • Demonstration: Style
  • Java API: Style
  • JavaScript API: Style
  • Style Guide: N/A


The style component used to specify CSS styles for the owner desktop.


  • a style component can appear anywhere in a ZUML page, but it affects all components in the same desktop.
  • getContent() simply get the string that is set by setContent(). If you call setSrc() or call the constructor of Style(), getContent() still gets null.


ZKComRef Style Example.png

<style> a{ color:red; }</style>

Supported Events

Event Type
None None

Supported Children


Use Cases

Version Description Example Location

Version History

Last Update : 2010/11/19

Version Date Content
5.0.3 June 2010 The media property is supported.

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.