|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.utl.Iframe
public class Iframe
Includes an inline frame.
Unlike HTML iframe, this component doesn't have the frameborder property. Rather, use the CSS style to customize the border (like any other components).
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 |
getAlign()
Deprecated. as of release 6.0.0, use CSS instead. |
String |
getName()
Returns the frame name. |
String |
getScrolling()
Deprecated. as of release 7.0.0, use CSS instead. |
boolean |
isAutohide()
Returns whether to automatically hide this component if a popup or dropdown is overlapped with it. |
void |
setAlign(String align)
Deprecated. as of release 6.0.0, use CSS instead. |
void |
setAutohide(boolean autohide)
Sets whether to automatically hide this component if a popup or dropdown is overlapped with it. |
void |
setName(String name)
Sets the frame name. |
void |
setScrolling(String scrolling)
Deprecated. as of release 7.0.0, use CSS instead. |
Methods inherited from class zul.Widget |
---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
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 setScrolling(String scrolling)
scrolling
- "true", "false", "yes" or "no" or "auto", "auto" by default
If null, "auto" is assumed.public String getScrolling()
Defalut: "auto"
public void setAlign(String align)
align
- public String getAlign()
Default: null (use browser default).
public void setName(String name)
name
- public String getName()
Default: null (use browser default).
public void setAutohide(boolean autohide)
autohide
- public boolean isAutohide()
Default: false.
If an iframe contains PDF or other non-HTML resource, it is possible that it obscues the popup that shall be shown above it. To resolve this, you have to specify autohide="true" to this component, and specify the following in the page:
<script content="zk.useStack='auto';"?>
Refer to Stackup and Shadow
for more information.
- Returns:
- boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |