com.lyrisoft.awt
Class HyperlinkTextRun

java.lang.Object
  |
  +--com.lyrisoft.awt.TextRun
        |
        +--com.lyrisoft.awt.HyperlinkTextRun

public class HyperlinkTextRun
extends TextRun

A HyperlinkTextRun is just a TextRun that has a URL associated with it.


Field Summary
protected  java.lang.String _href
           
 
Constructor Summary
HyperlinkTextRun(java.lang.String text, java.lang.String href, TextStyle style)
          Construct a HyperlinkTextRun with the given text, url, and style
 
Method Summary
 java.lang.String getHref()
          Get the href, or URL, associated with this textrun
 
Methods inherited from class com.lyrisoft.awt.TextRun
contains, getBoundingRect, getStyle, getText, setFont, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_href

protected java.lang.String _href
Constructor Detail

HyperlinkTextRun

public HyperlinkTextRun(java.lang.String text,
                        java.lang.String href,
                        TextStyle style)
Construct a HyperlinkTextRun with the given text, url, and style
Method Detail

getHref

public java.lang.String getHref()
Get the href, or URL, associated with this textrun


Copyright © 2000-2002 Taso Lyristis