com.aspose.gridweb
Class GridHyperlink

java.lang.Object
    extended by com.aspose.gridweb.GridHyperlink

public class GridHyperlink 
extends java.lang.Object

Encapsulates the object that represents a hyperlink.


Property Getters/Setters Summary
java.lang.StringgetAddress()
voidsetAddress(java.lang.String)
           Represents the address of a hyperlink.
java.lang.StringgetAltText()
voidsetAltText(java.lang.String)
           Get or Set Alternate text for the image link,please note this is an extension attribute and can not keep in excel file
GridCellAreagetArea()
           Gets the range of hyperlink.
java.lang.StringgetCommand()
voidsetCommand(java.lang.String)
           Returns or sets the self defined command value text for the specified hyperlink.
booleangetDiscardInput()
voidsetDiscardInput(boolean)
           Indicates whether to discard user input at client browser when user click this CellCommand hyperlink. Could be used as an "undo" action.
java.lang.StringgetImageURL()
voidsetImageURL(java.lang.String)
           Get or Set Image URL for the link, there is no imageurl properties in hyperlink, so actually use TextToDisplay to record this value ,TextToDisplay will be set to <img src=value > so it will change the value of TextToDisplay
java.lang.StringgetScreenTip()
voidsetScreenTip(java.lang.String)
           Returns or sets the ScreenTip text for the specified hyperlink.
java.lang.StringgetTarget()
voidsetTarget(java.lang.String)
           Get or Set web link target type,please note this is an extension attribute and can not keep in excel file
java.lang.StringgetTextToDisplay()
voidsetTextToDisplay(java.lang.String)
           Represents the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink.
 

Property Getters/Setters Detail

getAddress/setAddress

public java.lang.String getAddress() / public void setAddress(java.lang.String value)
Represents the address of a hyperlink.

getCommand/setCommand

public java.lang.String getCommand() / public void setCommand(java.lang.String value)
Returns or sets the self defined command value text for the specified hyperlink.

getTextToDisplay/setTextToDisplay

public java.lang.String getTextToDisplay() / public void setTextToDisplay(java.lang.String value)
Represents the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink.

getArea

public GridCellArea getArea()
Gets the range of hyperlink.

getScreenTip/setScreenTip

public java.lang.String getScreenTip() / public void setScreenTip(java.lang.String value)
Returns or sets the ScreenTip text for the specified hyperlink.

getTarget/setTarget

public java.lang.String getTarget() / public void setTarget(java.lang.String value)
Get or Set web link target type,please note this is an extension attribute and can not keep in excel file

getAltText/setAltText

public java.lang.String getAltText() / public void setAltText(java.lang.String value)
Get or Set Alternate text for the image link,please note this is an extension attribute and can not keep in excel file

getDiscardInput/setDiscardInput

public boolean getDiscardInput() / public void setDiscardInput(boolean value)
Indicates whether to discard user input at client browser when user click this CellCommand hyperlink. Could be used as an "undo" action.

getImageURL/setImageURL

public java.lang.String getImageURL() / public void setImageURL(java.lang.String value)
Get or Set Image URL for the link, there is no imageurl properties in hyperlink, so actually use TextToDisplay to record this value ,TextToDisplay will be set to <img src=value > so it will change the value of TextToDisplay

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.