public class TweetLink extends AbstractIntentLink
ENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING
Modifier and Type | Method and Description |
---|---|
org.apache.wicket.model.IModel<?> |
getHashTags() |
org.apache.wicket.model.IModel<?> |
getInReplyTo() |
protected org.apache.wicket.request.mapper.parameter.PageParameters |
getParameters() |
org.apache.wicket.model.IModel<?> |
getRelated() |
org.apache.wicket.model.IModel<?> |
getText() |
org.apache.wicket.model.IModel<?> |
getTweetUrl() |
org.apache.wicket.model.IModel<?> |
getVia() |
<C extends Serializable> |
setHashTags(Collection<C> hashTags)
Add context to the pre-prepared status update by appending #hashtags.
|
void |
setHashTags(org.apache.wicket.model.IModel<?> hashTags)
Add context to the pre-prepared status update by appending #hashtags.
|
void |
setInReplyTo(org.apache.wicket.model.IModel<?> inReplyTo)
Associate this Tweet with a specific Tweet by indicating its status ID here.
|
void |
setInReplyTo(String inReplyTo)
Associate this Tweet with a specific Tweet by indicating its status ID here.
|
<C extends Serializable> |
setRelated(Collection<C> related)
Suggest accounts related to the your content.
|
void |
setRelated(org.apache.wicket.model.IModel<?> related)
Suggest accounts related to the your content.
|
void |
setText(org.apache.wicket.model.IModel<?> text)
Users will still be able to edit the pre-prepared text.
|
void |
setText(String text)
Users will still be able to edit the pre-prepared text.
|
void |
setTweetUrl(org.apache.wicket.model.IModel<?> tweetUrl)
The provided URL will be shortened with t.co and appended to the end of the Tweet.
|
void |
setTweetUrl(String tweetUrl)
The provided URL will be shortened with t.co and appended to the end of the Tweet.
|
void |
setVia(org.apache.wicket.model.IModel<?> via)
A screen name to associate with the Tweet.
|
void |
setVia(String via)
A screen name to associate with the Tweet.
|
getUrl
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
public TweetLink(String id)
id
- wicket-idtweet
- tweet-idpublic org.apache.wicket.model.IModel<?> getHashTags()
public org.apache.wicket.model.IModel<?> getInReplyTo()
protected org.apache.wicket.request.mapper.parameter.PageParameters getParameters()
getParameters
in class AbstractIntentLink
public org.apache.wicket.model.IModel<?> getRelated()
public org.apache.wicket.model.IModel<?> getText()
public org.apache.wicket.model.IModel<?> getTweetUrl()
public org.apache.wicket.model.IModel<?> getVia()
public <C extends Serializable> void setHashTags(Collection<C> hashTags)
hashTags
- the hashTags to setpublic void setHashTags(org.apache.wicket.model.IModel<?> hashTags)
hashTags
- the hashTags to setpublic void setInReplyTo(org.apache.wicket.model.IModel<?> inReplyTo)
inReplyTo
- the inReplyTo to setpublic void setInReplyTo(String inReplyTo)
inReplyTo
- the inReplyTo to setpublic <C extends Serializable> void setRelated(Collection<C> related)
related
- the related to setpublic void setRelated(org.apache.wicket.model.IModel<?> related)
related
- the related to setpublic void setText(org.apache.wicket.model.IModel<?> text)
text
- the text to setpublic void setText(String text)
text
- the text to setpublic void setTweetUrl(org.apache.wicket.model.IModel<?> tweetUrl)
tweetUrl
- the tweetUrl to setpublic void setTweetUrl(String tweetUrl)
tweetUrl
- the tweetUrl to setpublic void setVia(org.apache.wicket.model.IModel<?> via)
via
- the via to setpublic void setVia(String via)
via
- the via to setCopyright © 2015. All rights reserved.