Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

interface XFixedHyperlink
Description
gives access to the text and formatting of a fixed hyperlink field.

Methods' Summary
setText sets the text of the control.  
getText returns the text of the control.  
setURL sets the url of the control.  
getURL returns the url of the control.  
setAlignment sets the alignment of the text in the control.  
getAlignment returns the alignment of the text in the control.  
addActionListener registers an event handler for click action event.  
removeActionListener unregisters an event handler for click action event.  
Methods' Details
setText
[oneway] void
setText( [in] string  Text );

Description
sets the text of the control.
getText
string
getText();

Description
returns the text of the control.
setURL
[oneway] void
setURL( [in] string  URL );

Description
sets the url of the control.
getURL
string
getURL();

Description
returns the url of the control.
setAlignment
[oneway] void
setAlignment( [in] short  nAlign );

Description
sets the alignment of the text in the control.
 0: left
 1: center
 2: right
 
getAlignment
short
getAlignment();

Description
returns the alignment of the text in the control.
addActionListener
[oneway] void
addActionListener( [in] XActionListener  l );

Description
registers an event handler for click action event.
removeActionListener
[oneway] void
removeActionListener( [in] XActionListener  l );

Description
unregisters an event handler for click action event.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.