|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.utl.Style
public class Style
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.
Note: if the src and content properties are both set, the later one overrides the previous one.
Field Summary |
---|
Fields inherited from class zk.Widget |
---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
Fields inherited from class zk.Object |
---|
$class, $oid |
Method Summary | |
---|---|
String |
getContent()
Returns the content of this style tag. |
String |
getMedia()
Returns the media dependencies for this style sheet. |
String |
getSrc()
Returns the URI of an external style sheet. |
void |
setContent(String content)
Sets the content of this style tag. |
void |
setMedia(String media)
Sets the media dependencies for this style sheet. |
void |
setSrc(String src)
Sets the URI of an external style sheet. |
Methods inherited from class zk.Object |
---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setSrc(String src)
Calling this method implies setContent(null).
src
- the URI of an external style sheetpublic String getSrc()
Default: null.
public void setContent(String content)
Calling this method implies setSrc(null).
content
- the content of this style tag.public String getContent()
public void setMedia(String media)
media
- the media of this style sheet.public String getMedia()
Default: null
Refer to media-depedent style sheet for details.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |