|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.html.Element org.mortbay.html.Composite org.mortbay.html.Block org.mortbay.html.Link
public class Link
HTML Link Block. This is a HTML reference (not a CSS Link).
StyleLink
Field Summary |
---|
Fields inherited from class org.mortbay.html.Block |
---|
Bold, Center, Div, Italic, Left, Listing, Plain, Pre, Quote, Right, Span, Xmp |
Fields inherited from class org.mortbay.html.Composite |
---|
elements, nest |
Fields inherited from class org.mortbay.html.Element |
---|
ALIGN, attributeMap, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH |
Constructor Summary | |
---|---|
Link(String href)
Construct Link. |
|
Link(String href,
Object link)
Construct Link. |
Method Summary | |
---|---|
Link |
target(String t)
Set the link target frame. |
Methods inherited from class org.mortbay.html.Block |
---|
write |
Methods inherited from class org.mortbay.html.Composite |
---|
add, contents, nest, replace, reset, setNest, size, unnest |
Methods inherited from class org.mortbay.html.Element |
---|
attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, style, top, toString, width, width, width, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Link(String href)
href
- The target URL of the linkpublic Link(String href, Object link)
href
- The target URL of the linklink
- Link ElementMethod Detail |
---|
public Link target(String t)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |