|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.link.AbstractLinkComponent
org.apache.tapestry.link.GenericLink
public abstract class GenericLink
An implementation of ILinkComponent
that allows the exact HREF to be specified, usually used for client side
scripting. [Component Reference]
Field Summary |
---|
Fields inherited from class org.apache.tapestry.AbstractComponent |
---|
_body, _bodyCount |
Constructor Summary | |
---|---|
GenericLink()
|
Method Summary | |
---|---|
abstract String |
getHref()
|
ILink |
getLink(IRequestCycle cycle)
Invoked by the ILinkRenderer (if the
link is not disabled) to provide a
EngineServiceLink that the renderer
can convert into a URL. |
Methods inherited from class org.apache.tapestry.link.AbstractLinkComponent |
---|
addEventHandler, cleanupAfterRender, finishLoad, getAnchor, getRenderer, isDisabled, renderAdditionalAttributes, renderComponent, setRenderer, writeEventHandler, writeEventHandlers |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
---|
getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.tapestry.components.ILinkComponent |
---|
getPort, getScheme, getTarget |
Methods inherited from interface org.apache.tapestry.IComponent |
---|
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName |
Methods inherited from interface org.apache.tapestry.IRender |
---|
render |
Methods inherited from interface org.apache.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public GenericLink()
Method Detail |
---|
public abstract String getHref()
public ILink getLink(IRequestCycle cycle)
ILinkComponent
ILinkRenderer
(if the
link is not disabled) to provide a
EngineServiceLink
that the renderer
can convert into a URL.
getLink
in interface ILinkComponent
getLink
in class AbstractLinkComponent
cycle
- The current request.
ILink
instance representing the link information for this component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |