|
||||||||||
| 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.
| 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 |
| Methods inherited from class org.apache.wicket.MarkupContainer |
|---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onMarkupAttached, 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 class
public InlineFrame(String id,
Class<C> c,
PageParameters params)
C - id - See Componentc - Page classparams - Page parameters
public InlineFrame(String id,
Page page)
id - See componentpage - The page
public 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 requested| Method Detail |
|---|
protected CharSequence getURL()
protected final void onComponentTag(ComponentTag tag)
onComponentTag in class Componenttag - the component tagComponent.onComponentTag(ComponentTag)public final void onLinkClicked()
ILinkListener
onLinkClicked in interface ILinkListenerILinkListener.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 | |||||||||