Style"

From Documentation
Line 10: Line 10:
 
The style component used to specify <tt>CSS</tt> styles for the owner desktop.
 
The style component used to specify <tt>CSS</tt> styles for the owner desktop.
  
'''Note:''' a <tt>style </tt>component can appear anywhere in a <tt>ZUML</tt> page, but it affects all components in the same <tt>desktop</tt>.
+
'''Note:'''  
 +
*a <tt>style </tt>component can appear anywhere in a <tt>ZUML</tt> page, but it affects all components in the same <tt>desktop</tt>.
 +
*getContent() simply get the string that is set by setContent(). If you call setSrc() or call the constructor of Style(), getContent() still gets null.
  
 
= Example =
 
= Example =

Revision as of 07:01, 12 May 2010

Style

Employment/Purpose

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

Note:

  • 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.

Example

ZKComRef Style Example.png

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

Supported events

Name
Event Type
None None

Supported Children

 *NONE

Use cases

Version Description Example Location
5.0+    

Version History

Version Date Content
5.x.x x/x/20xx Initialization



Last Update : 2010/05/12

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