com.sapportals.htmlb.hovermenu

Class LinkForHoverMenu

java.lang.Object
  extended bycom.sapportals.htmlb.Component
      extended bycom.sapportals.htmlb.hovermenu.LinkForHoverMenu

public class LinkForHoverMenu
extends Component


Field Summary
static String UI_ID
           
 
Constructor Summary
LinkForHoverMenu()
          Construct object of class LinkForHoverMenu.
LinkForHoverMenu(String id, String text)
          Construct object of class LinkForHoverMenu.
 
Method Summary
 TextViewDesign getDesign()
          returns the design for the text which is contained in the link
 LinkFontSize getFontSize()
          returns the fontsize of the text in the link
 HoverMenu getHoverMenu()
          Get the HoverMenu attribute of the LinkForHoverMenu object.
 LinkDesign getLinkDesign()
          returns the LinkDesign
 String getText()
          Get the Text attribute of the LinkForHoverMenu object.
 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 isWrapping()
           
 boolean requiresForm()
          check if a special component really requires a form around it.
 void setDesign(TextViewDesign design)
          sets the design for the text which is contained in the link
 void setFontSize(LinkFontSize fontSize)
          set the fontsize of the text in the link
 void setHoverMenu(HoverMenu menu)
          Set the HoverMenu attribute of the LinkForHoverMenu object.
 void setLinkDesign(LinkDesign linkDesign)
          set the LinkDesign
 void setText(String text)
          Set the Text attribute of the LinkForHoverMenu object.
 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.Component
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, preRender, render, renderAsString, setId, setJsObjectNeeded, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UI_ID

public static final String UI_ID
See Also:
Constant Field Values
Constructor Detail

LinkForHoverMenu

public LinkForHoverMenu()
Construct object of class LinkForHoverMenu.


LinkForHoverMenu

public LinkForHoverMenu(String id,
                        String text)
Construct object of class LinkForHoverMenu.

Parameters:
id - @todo: Description of the incoming method parameter
text - @todo: Description of the incoming method parameter
Method Detail

setText

public void setText(String text)
Set the Text attribute of the LinkForHoverMenu object.

Parameters:
text - The new Text value

setHoverMenu

public void setHoverMenu(HoverMenu menu)
Set the HoverMenu attribute of the LinkForHoverMenu object.

Parameters:
menu - The new HoverMenu value

getUI

public String getUI()
Description copied from class: Component
get a identification String for the renderer that is unique across all supported components. E.g. you could simply return the class name of the component class. The reason for using a separate method and not some internal reflection method is that you can more easily extend the functionality or your Component class without having to rewrite the view class.

Specified by:
getUI in class Component
Returns:
component identifier

getText

public String getText()
Get the Text attribute of the LinkForHoverMenu object.

Returns:
The Text value

getHoverMenu

public HoverMenu getHoverMenu()
Get the HoverMenu attribute of the LinkForHoverMenu object.

Returns:
The HoverMenu value

toString

public String toString()
Returns:
@todo: Description of the outgoing return value

requiresForm

public boolean requiresForm()
Description copied from class: Component
check if a special component really requires a form around it. Subclasses should override this if they do not require a form.

Basically, any Component that is capable of firing a server side event or that contains user input must be placed in a form.

Overrides:
requiresForm in class Component
Returns:
@todo: Description of the outgoing return value

getDesign

public TextViewDesign getDesign()
returns the design for the text which is contained in the link


setDesign

public void setDesign(TextViewDesign design)
sets the design for the text which is contained in the link


getFontSize

public LinkFontSize getFontSize()
returns the fontsize of the text in the link


setFontSize

public void setFontSize(LinkFontSize fontSize)
set the fontsize of the text in the link


getLinkDesign

public LinkDesign getLinkDesign()
returns the LinkDesign


setLinkDesign

public void setLinkDesign(LinkDesign linkDesign)
set the LinkDesign


getTooltip

public String getTooltip()

setTooltip

public void setTooltip(String tooltip)

isWrapping

public boolean isWrapping()

setWrapping

public void setWrapping(boolean wrapping)

getTextDirection

public ForcedTextDirection getTextDirection()
Gets the text direction for the component

Returns:
com.sapportals.htmlb.enum.ForcedTextDirection

setTextDirection

public void setTextDirection(ForcedTextDirection textDirection)
Sets the text direction for the component

Parameters:
textDirection - com.sapportals.htmlb.enum.ForcedTextDirection


Copyright 2006 SAP AG Complete Copyright Notice