|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.xml.ComplexTag
|
+--com.jdc.gui.html.ComplexTag
|
+--com.jdc.gui.html.tag.Anchor
Anchor is used to create the HTML required to create an Anchor tag to display to a user including the start tag, the Anchor attributes, and the end tag.
AnchorSize,
Serialized Form| Field Summary |
| Fields inherited from interface com.jdc.gui.html.MarkupLanguage |
XHTML |
| Constructor Summary | |
Anchor()
Constructs a Anchor object. |
|
Anchor(boolean format)
Constructs a Anchor object and sets the format status. |
|
| Method Summary | |
String |
create(String text)
Create and return the HTML required to apply a Anchor to text in a browser. |
String |
endTag()
Return an Anchor end tag. |
Anchor |
setName(String name)
Set the anchor tag name. |
Anchor |
setOnClick(String eventAction)
Set the anchor tag onClick event action. |
Anchor |
setURL(String url)
Set the anchor tag name. |
String |
startTag()
Return a Anchor start tag. |
| Methods inherited from class com.jdc.gui.html.ComplexTag |
addAttribute, create, create, endTag, setFormat, setIdentifier, startTag |
| Methods inherited from class com.jdc.xml.ComplexTag |
addAttribute, create, getAttributes, getBody, getIdentifier, setBody, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Anchor()
public Anchor(boolean format)
| Method Detail |
public String create(String text)
create in class ComplexTagpublic String startTag()
startTag in class ComplexTagpublic String endTag()
endTag in class ComplexTagpublic Anchor setName(String name)
public Anchor setOnClick(String eventAction)
public Anchor setURL(String url)
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||