public class HTMLIFrame extends HTMLContainer implements HandlesMouseEvents
alignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX
Constructor and Description |
---|
HTMLIFrame(java.lang.String href)
create a division
|
Modifier and Type | Method and Description |
---|---|
void |
addMouseEvent(HTMLMouseEvent me)
Add a mouse event to this component.
|
protected void |
compile(ClientBrowser browser)
compile the IFRAME
|
boolean |
getAutoFit()
Specifies whether adjust the IFrame's size.
|
java.lang.String |
getId()
get the ID of this component
|
void |
hideCounter() |
protected void |
iGenerate(ClientBrowser browser,
java.lang.StringBuilder buffer)
generate the raw HTML for this component.
|
protected void |
postCompile(ClientBrowser browser)
This is the post compile if needed
|
void |
setAutoFit(boolean _bAutoFit)
Specifies whether adjust the IFrame's size.
|
void |
setAutoRefresh(int seconds) |
void |
setBorderWidth(int width)
Sets the FRAMEBORDER attribute which specifies whether or not a border should be drawn.
|
void |
setHeight(java.lang.String h)
The height of the in-line frame in pixels or as a percentage of available space
|
void |
setId(java.lang.String id)
set the ID of this component.
|
void |
setMarginHeight(java.lang.String height)
The height of the top and bottom margins within the in-line frame.
|
void |
setMarginWidth(java.lang.String width)
The width of the left and right margins within the in-line frame.
|
void |
setScrolling(java.lang.String v)
Specifies whether scrollbars are provided for the in-line frame.
|
void |
setURL(java.lang.String href)
Set the URL
|
void |
setWidth(java.lang.String width)
The width of the in line frame in pixels or as a percentage of available space
|
addComponent, addComponent, addText, clear, findId, getComponent, getComponentCount, hasComponent, removeComponent, removeComponent
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setParent, setStyleProperty, setTabIndex, touch
public HTMLIFrame(java.lang.String href)
href
- the URL@CheckReturnValue @Nullable public java.lang.String getId()
getId
in class HTMLComponent
public final void setId(java.lang.String id)
id
- The id of the componentpublic final void setURL(java.lang.String href)
href
- the URLpublic void addMouseEvent(HTMLMouseEvent me)
addMouseEvent
in interface HandlesMouseEvents
me
- The mouse eventpublic void setWidth(java.lang.String width)
width
- - width of in line framepublic void setHeight(java.lang.String h)
h
- - height of in-line framepublic void setMarginWidth(java.lang.String width)
width
- - width of marginpublic void setMarginHeight(java.lang.String height)
height
- - height of marginpublic void setBorderWidth(int width)
width
- - width of borderpublic void setAutoRefresh(int seconds)
seconds
- public void setAutoFit(boolean _bAutoFit)
_bAutoFit
- - true : adjustIframeSize() will be called .public boolean getAutoFit()
public void setScrolling(java.lang.String v)
v
- - auto/yes/nopublic void hideCounter()
protected void compile(ClientBrowser browser)
compile
in class HTMLComponent
browser
- The browser to compile forprotected void postCompile(ClientBrowser browser)
postCompile
in class HTMLComponent
browser
- protected void iGenerate(ClientBrowser browser, java.lang.StringBuilder buffer)
iGenerate
in class HTMLComponent
browser
- The target browserbuffer
- The generate HTMLstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.