|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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<T extends Component>, Component.VisibilityChange |
Field Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_CONFIGURED, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
Fields inherited from interface org.apache.wicket.markup.html.link.ILinkListener |
---|
INTERFACE |
Constructor Summary | |
---|---|
InlineFrame(String id,
IPageMap pageMap,
Class<C> c)
Constructs an inline frame that instantiates the given Page class when the content of the inline frame is requested. |
|
InlineFrame(String id,
IPageMap pageMap,
Class<C> c,
PageParameters params)
Constructs an inline frame that instantiates the given Page class when the content of the inline frame is requested. |
|
InlineFrame(String id,
IPageMap pageMap,
IPageLink pageLink)
This constructor is ideal for constructing pages lazily. |
|
InlineFrame(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 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, getWebRequest |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, 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(String id, IPageMap pageMap, Class<C> c)
C
- id
- See ComponentpageMap
- the pagemap where the page of the inline frame must be inc
- Page classpublic InlineFrame(String id, IPageMap pageMap, Class<C> c, PageParameters params)
C
- id
- See ComponentpageMap
- the pagemap where the page of the inline frame must be inc
- Page classparams
- Page parameterspublic InlineFrame(String id, Page page)
id
- See componentpage
- The pagepublic InlineFrame(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 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 |