|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Component org.apache.wicket.MarkupContainer org.apache.wicket.markup.html.WebMarkupContainer org.apache.wicket.markup.html.link.InlineFrame
public class InlineFrame
Implementation of an inline frame component. Must be used with an iframe (<iframe src...) element. The src attribute will be generated.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.wicket.Component |
---|
Component.ComponentModelChange, Component.EnabledChange, Component.IVisitor, Component.VisibilityChange |
Field Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
Fields inherited from interface org.apache.wicket.markup.html.link.ILinkListener |
---|
INTERFACE |
Constructor Summary | |
---|---|
InlineFrame(java.lang.String id,
IPageMap pageMap,
java.lang.Class c)
Constructs an inline frame that instantiates the given Page class when the content of the inline frame is requested. |
|
InlineFrame(java.lang.String id,
IPageMap pageMap,
java.lang.Class c,
PageParameters params)
Constructs an inline frame that instantiates the given Page class when the content of the inline frame is requested. |
|
InlineFrame(java.lang.String id,
IPageMap pageMap,
IPageLink pageLink)
This constructor is ideal for constructing pages lazily. |
|
InlineFrame(java.lang.String id,
Page page)
This constructor is ideal if a Page object was passed in from a previous Page. |
Method Summary | |
---|---|
IPageMap |
getPageMap()
Returns the pageMap. |
protected boolean |
getStatelessHint()
Returns whether the component can be stateless. |
protected java.lang.CharSequence |
getURL()
Gets the url to use for this link. |
protected void |
onComponentTag(ComponentTag tag)
Handles this frame's tag. |
void |
onLinkClicked()
Called when a link is clicked. |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
---|
getMarkupType, getWebPage |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, setModel, size, toString, toString, visitChildren, visitChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InlineFrame(java.lang.String id, IPageMap pageMap, java.lang.Class c)
id
- See ComponentpageMap
- the pagemap where the page of the inline frame must be inc
- Page classpublic InlineFrame(java.lang.String id, IPageMap pageMap, java.lang.Class c, PageParameters params)
id
- See ComponentpageMap
- the pagemap where the page of the inline frame must be inc
- Page classparams
- Page parameterspublic InlineFrame(java.lang.String id, Page page)
id
- See componentpage
- The pagepublic InlineFrame(java.lang.String id, IPageMap pageMap, IPageLink pageLink)
id
- See ComponentpageMap
- the pagemap where the page of the inline frame must be inpageLink
- An implementation of IPageLink which will create the page to be contained in the
inline frame if and when the content is requestedMethod Detail |
---|
protected java.lang.CharSequence getURL()
protected final void onComponentTag(ComponentTag tag)
onComponentTag
in class Component
tag
- the component tagComponent.onComponentTag(ComponentTag)
public final void onLinkClicked()
ILinkListener
onLinkClicked
in interface ILinkListener
ILinkListener.onLinkClicked()
public final IPageMap getPageMap()
protected boolean getStatelessHint()
Component
getStatelessHint
in class Component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |