public class HTMLLink extends HTMLContainer
alignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX| Constructor and Description |
|---|
HTMLLink() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
iGenerate(ClientBrowser browser,
java.lang.StringBuilder buffer)
generate the raw HTML for this component.
|
void |
setCharSet(java.lang.String charset)
the character encoding of the resource designated by the link
|
void |
setContentType(java.lang.String type)
the content type of the content available at the link target address
|
void |
setForwardLinkType(java.lang.String rel)
describes the relationship from the current document to the anchor specified by the href attribute
|
void |
setLanguage(java.lang.String hreflang)
the base language of the resource designated by href
|
void |
setMedia(java.lang.String media)
specifies the intended destination medium for style information.
|
void |
setReverseLinkType(java.lang.String rev)
describe a reverse link from the anchor specified by the href attribute to the current document.
|
void |
setTitle(java.lang.String title)
the title
|
void |
setURL(java.lang.String href)
the location of a Web resource
|
addComponent, addComponent, addText, clear, findId, getComponent, getComponentCount, hasComponent, removeComponent, removeComponentaddJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, compile, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, postCompile, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setParent, setStyleProperty, setTabIndex, touchpublic void setTitle(java.lang.String title)
title - public void setContentType(java.lang.String type)
type - - contect typepublic final void setURL(java.lang.String href)
href - - href of web resourcepublic void setForwardLinkType(java.lang.String rel)
rel - - name of forward linkpublic void setReverseLinkType(java.lang.String rev)
rev - - name of reverse linkpublic void setMedia(java.lang.String media)
media - - media typepublic void setLanguage(java.lang.String hreflang)
hreflang - - base languagepublic void setCharSet(java.lang.String charset)
charset - - character setprotected void iGenerate(ClientBrowser browser, java.lang.StringBuilder buffer)
iGenerate in class HTMLComponentbrowser - The target browserbuffer - The generate HTMLstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.