|
||||||||||
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.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
Fields inherited from interface org.apache.wicket.markup.html.link.ILinkListener |
---|
INTERFACE |
Constructor Summary | |
---|---|
InlineFrame(String id,
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,
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,
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 | |
---|---|
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 |
---|
getWebPage, getWebRequest, getWebResponse, getWebSession |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, 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, Class<C> c)
C
- id
- See Componentc
- Page classpublic InlineFrame(String id, Class<C> c, PageParameters params)
C
- id
- See Componentc
- Page classparams
- Page parameterspublic InlineFrame(String id, Page page)
id
- See componentpage
- The pagepublic InlineFrame(String id, IPageLink pageLink)
id
- See ComponentpageLink
- 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()
protected boolean getStatelessHint()
Component
getStatelessHint
in class Component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |