|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.Container
com.sapportals.htmlb.EventValidationContainer
com.sapportals.htmlb.Link
Link Control
| Field Summary | |
static String |
UI_ID
|
static int |
VAR_BEGIN
|
static int |
VAR_END
|
static int |
VAR_TEXT
|
| Fields inherited from class com.sapportals.htmlb.Container |
elements |
| Constructor Summary | |
Link(String name)
Creates a Link object with the specific name. |
|
Link(String name,
String text)
Creates a Link object with the specific name and text. |
|
| Method Summary | |
Component |
addComponent(Component c)
add a component to this container |
String |
addText(String text)
add a raw text to this container |
LinkFontSize |
getFontSize()
|
TextView |
getInnerText()
|
LinkDesign |
getLinkDesign()
|
String |
getOnClick()
|
String |
getOnClientClick()
get the JavaScript fragment that is executed on the client side if the user changes the selection |
String |
getReference()
|
String |
getTarget()
|
ForcedTextDirection |
getTextDirection()
Gets the text direction for the component |
String |
getTooltip()
|
String |
getUI()
get a identification String for the renderer that is unique across all supported components. |
boolean |
getWrapping()
|
boolean |
isLabeled()
checks if a label has been assigned to this component. |
boolean |
isRequiresValidation()
determines if the validation is required or not before submitting server event |
void |
preRender(IPageContext pc)
preRender traverses the component tree right before rendering |
void |
removerHoverMenu(HoverMenu menu)
|
boolean |
requiresForm()
Determines if this Link requires to be placed in form. |
void |
setFontSize(LinkFontSize fontSize)
|
void |
setLabeled(boolean isLabeled)
notify the component that a label has been assigned to it. |
void |
setLinkDesign(LinkDesign linkDesign)
|
void |
setOnClick(String onClick)
|
void |
setOnClientClick(String onClientClick)
set a Javascript fragment that is executed when the user clicks on this button |
void |
setReference(String reference)
|
void |
setRequiresValidation(boolean validation)
|
void |
setTarget(String target)
The target argument specifies where to display the content of the selected hyperlink. |
void |
setTextDirection(ForcedTextDirection textDirection)
Sets the text direction for the component |
void |
setTooltip(String tooltip)
|
void |
setWrapping(boolean Wrapping)
|
String |
toString()
|
| Methods inherited from class com.sapportals.htmlb.EventValidationContainer |
getAllValidators, getClientEvent, getClientEventMap, getErrorText, getServerEvent, getServerEventMap, getValidator, isDisabled, isEnabled, renderJavascriptInterface, setClientEvent, setDisabled, setEnabled, setErrorText, setServerEvent, setValidator |
| Methods inherited from class com.sapportals.htmlb.Container |
addRawText, getChildCount, iterator, removeComponent, render |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, render, renderAsString, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String UI_ID
public static final int VAR_BEGIN
public static final int VAR_END
public static final int VAR_TEXT
| Constructor Detail |
public Link(String name)
public Link(String name,
String text)
| Method Detail |
public String addText(String text)
Container
addText in class Containertext - the text to addpublic Component addComponent(Component c)
Container
addComponent in class Containerc - the component to addpublic String getUI()
Component
getUI in class Componentpublic String getOnClick()
public void setOnClick(String onClick)
public String getOnClientClick()
public void setOnClientClick(String onClientClick)
onClientClick - the Javascriptpublic String getTarget()
setTarget(String)public void setTarget(String target)
public String getTooltip()
public void setTooltip(String tooltip)
public LinkFontSize getFontSize()
public void setFontSize(LinkFontSize fontSize)
public LinkDesign getLinkDesign()
public void setLinkDesign(LinkDesign linkDesign)
public TextView getInnerText()
public String getReference()
public void setReference(String reference)
public String toString()
public boolean requiresForm()
requiresForm in class Componentpublic void setLabeled(boolean isLabeled)
LabeledComponent
setLabeled in interface LabeledComponentpublic boolean isLabeled()
LabeledComponent
isLabeled in interface LabeledComponentpublic void removerHoverMenu(HoverMenu menu)
public void preRender(IPageContext pc)
preRender in class Containerpublic boolean isRequiresValidation()
IEventValidationComponent
isRequiresValidation in interface IEventValidationComponentisRequiresValidation in class EventValidationContainerpublic void setRequiresValidation(boolean validation)
public ForcedTextDirection getTextDirection()
public void setTextDirection(ForcedTextDirection textDirection)
textDirection - com.sapportals.htmlb.enum.ForcedTextDirectionpublic boolean getWrapping()
public void setWrapping(boolean Wrapping)
Wrapping - true if wrapping is required
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||