|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.LinkInfo
public class LinkInfo
A simple String-based attribute model for hyperlinks.
| Field Summary | |
|---|---|
static String |
CIRCLE
HTML image map shape specifier for circle areas. |
static String |
HTML_ACCESSKEY
HTML element attribute name accesskey. |
static String |
HTML_ALT
HTML generic element attribute name alt. |
static String |
HTML_COORDINATES
HTML area element attribute name coords. |
static String |
HTML_REFERENCE
HTML a element attribute name href. |
static String |
HTML_SHAPE
HTML area element attribute name shape. |
static String |
HTML_TABINDEX
HTML element attribute name tabindex. |
static String |
HTML_TITLE
HTML generic element attribute name title. |
static String |
HTML_TOOLTIP
Deprecated. Use HTML_TITLE and/or HTML_ALT instead. |
static String |
POLYGON
HTML image map shape specifier for polygonal areas. |
static String |
RECT
HTML image map shape specifier for rectangular areas. |
static String |
SWF_TARGET
Target attribute for links in SWF files This should be the name of a specific window or frame or one of "_self", "_blank", "_parent" or "_top". |
static String |
SWF_URL
Url attribute for links in SWF files |
static String |
XLINK_REFERENCE
|
| Constructor Summary | |
|---|---|
LinkInfo()
Constructs an empty LinkInfo. |
|
| Method Summary | |
|---|---|
Iterator |
attributes()
Returns an iterator over the set of attribute names in this LinkInfo. |
void |
clear()
Removes all attributes from this LinkInfo. |
String |
getAttribute(String name)
Returns the value of attribute name. |
boolean |
hasAttribute(String name)
Returns true if the attribute name has been set. |
boolean |
hasAttributes()
Returns true if any attributes have been set. |
void |
setAttribute(String name,
String value)
Sets the attribute name with value value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String XLINK_REFERENCE
public static final String HTML_ACCESSKEY
accesskey.
public static final String HTML_COORDINATES
area element attribute name coords.
public static final String HTML_REFERENCE
a element attribute name href.
public static final String HTML_SHAPE
area element attribute name shape.
public static final String HTML_TABINDEX
tabindex.
public static final String HTML_TOOLTIP
HTML_TITLE and/or HTML_ALT instead.alt.
public static final String HTML_ALT
alt.
public static final String HTML_TITLE
title.
public static final String RECT
public static final String CIRCLE
public static final String POLYGON
public static final String SWF_URL
public static final String SWF_TARGET
This should be the name of a specific window or frame or one of "_self", "_blank", "_parent" or "_top".
| Constructor Detail |
|---|
public LinkInfo()
| Method Detail |
|---|
public String getAttribute(String name)
name.
name -
name;
or null if name has not been setpublic boolean hasAttributes()
true if any attributes have been set.
true if any attributes have been set;
false otherwisepublic boolean hasAttribute(String name)
true if the attribute name has been set.
name -
true if the attribute name has been set;
false otherwise
public void setAttribute(String name,
String value)
name with value value.
name - value - public Iterator attributes()
public void clear()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||