| 
 | 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 java.lang.String | CIRCLEHTML image map shape specifier for circle areas. | 
| static java.lang.String | HTML_ACCESSKEYHTML element attribute name accesskey. | 
| static java.lang.String | HTML_ALTHTML generic element attribute name alt. | 
| static java.lang.String | HTML_COORDINATESHTML areaelement attribute namecoords. | 
| static java.lang.String | HTML_REFERENCEHTML aelement attribute namehref. | 
| static java.lang.String | HTML_SHAPEHTML areaelement attribute nameshape. | 
| static java.lang.String | HTML_TABINDEXHTML element attribute name tabindex. | 
| static java.lang.String | HTML_TITLEHTML generic element attribute name title. | 
| static java.lang.String | HTML_TOOLTIPDeprecated. Use HTML_TITLEand/orHTML_ALTinstead. | 
| static java.lang.String | POLYGONHTML image map shape specifier for polygonal areas. | 
| static java.lang.String | RECTHTML image map shape specifier for rectangular areas. | 
| static java.lang.String | SWF_TARGETTarget 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 java.lang.String | SWF_URLUrl attribute for links in SWF files | 
| static java.lang.String | XLINK_REFERENCE | 
| Constructor Summary | |
|---|---|
| LinkInfo()Constructs an empty LinkInfo. | |
| Method Summary | |
|---|---|
|  java.util.Iterator | attributes()Returns an iterator over the set of attribute names in this LinkInfo. | 
|  void | clear()Removes all attributes from this LinkInfo. | 
|  java.lang.String | getAttribute(java.lang.String name)Returns the value of attribute name. | 
|  boolean | hasAttribute(java.lang.String name)Returns trueif the attributenamehas been set. | 
|  boolean | hasAttributes()Returns trueif any attributes have been set. | 
|  void | setAttribute(java.lang.String name,
             java.lang.String value)Sets the attribute namewith valuevalue. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String XLINK_REFERENCE
public static final java.lang.String HTML_ACCESSKEY
accesskey.
public static final java.lang.String HTML_COORDINATES
area element attribute name coords.
public static final java.lang.String HTML_REFERENCE
a element attribute name href.
public static final java.lang.String HTML_SHAPE
area element attribute name shape.
public static final java.lang.String HTML_TABINDEX
tabindex.
public static final java.lang.String HTML_TOOLTIP
HTML_TITLE and/or HTML_ALT instead.alt.
public static final java.lang.String HTML_ALT
alt.
public static final java.lang.String HTML_TITLE
title.
public static final java.lang.String RECT
public static final java.lang.String CIRCLE
public static final java.lang.String POLYGON
public static final java.lang.String SWF_URL
public static final java.lang.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 java.lang.String getAttribute(java.lang.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(java.lang.String name)
true if the attribute name has been set.
name - 
true if the attribute name has been set;
                   false otherwise
public void setAttribute(java.lang.String name,
                         java.lang.String value)
name with value value.
name - value - public java.util.Iterator attributes()
public void clear()
| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||