|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.io.LinkInfo
A simple String-based attribute model for hyperlinks.
Field Summary | |
static String |
CIRCLE
|
static String |
HTML_ACCESSKEY
|
static String |
HTML_COORDINATES
|
static String |
HTML_REFERENCE
|
static String |
HTML_SHAPE
|
static String |
HTML_TABINDEX
|
static String |
HTML_TOOLTIP
|
static String |
POLYGON
|
static String |
RECT
|
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
public static final String HTML_COORDINATES
public static final String HTML_REFERENCE
public static final String HTML_SHAPE
public static final String HTML_TABINDEX
public static final String HTML_TOOLTIP
public static final String RECT
public static final String CIRCLE
public static final String POLYGON
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
otherwisepublic void setAttribute(String name, String value)
name
with value value
.
name
- value
- public Iterator attributes()
public void clear()
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |