|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.html.HtmlElement | +--weblogic.html.ElementWithAttributes | +--weblogic.html.SinglePartElement | +--weblogic.html.AreaElement
This class supports Netscape client-side image maps. An AreaElement sets the coordinates of an area on an image used as a client-side image map. Construct a MapElement and set its mappings by adding AreaElements to it with the MapElement.addElement method.
MapElement
Field Summary | |
static java.lang.String |
circle
Deprecated. |
static java.lang.String |
polygon
Deprecated. |
static java.lang.String |
rectangle
Deprecated. |
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
AreaElement()
Deprecated. Constructs an empty AreaElement. |
|
AreaElement(java.lang.Object shape,
java.lang.String url)
Deprecated. Constructs an AreaElement with the specified java.awt.Rectangle or java.awt.Polygon and sets the HREF to the specified URL. |
|
AreaElement(java.lang.String shape,
int[] coords,
java.lang.String url)
Deprecated. Constructs an AreaElement of the specified shape, with the specified coordinates and the specified URL. |
|
AreaElement(java.lang.String shape,
java.lang.String coords)
Deprecated. Constructs an AreaElement of the specified shape, with the specified coordinates, and sets the NOHREF attribute. |
|
AreaElement(java.lang.String shape,
java.lang.String coords,
java.lang.String url)
Deprecated. Constructs an AreaElement of the specified shape, with the specified coordinates, and sets the value for the HREF attribute to the specified URL. |
Method Summary | |
protected java.lang.String |
getHtmlCode()
Deprecated. |
protected boolean |
printBody()
Deprecated. |
protected boolean |
printCR()
Deprecated. |
protected boolean |
printEndingTag()
Deprecated. |
AreaElement |
setAlt(java.lang.String text)
Deprecated. Sets alternate text for the URL if the image map cannot be displayed. |
AreaElement |
setCoordinates(int[] coords)
Deprecated. Sets the coordinates for an AreaElement to an array of ints. |
AreaElement |
setCoordinates(java.lang.String coords)
Deprecated. Sets the coordinates for an AreaElement. |
AreaElement |
setHref()
Deprecated. Sets the HREF attribute for an AreaElement. |
AreaElement |
setHref(java.lang.String url)
Deprecated. Sets the HREF attribute for an AreaElement. |
AreaElement |
setShape(java.lang.String shape)
Deprecated. Sets the shape of an AreaElement. |
AreaElement |
setShape(java.lang.String shape,
int[] coords)
Deprecated. Constructs an AreaElement of the specified shape and sets its coordinates to the specified array of ints. |
AreaElement |
setTabindex(int tabindex)
Deprecated. Sets the tabbing order for an AreaElement, which defines the order in which page elements get the focus when a user navigates the page with a keyboard. |
AreaElement |
setTabindex(java.lang.String tabindex)
Deprecated. Sets the TABINDEX attribute for an AreaElement. |
AreaElement |
setTarget(java.lang.String target)
Deprecated. Sets the TARGET attribute for an AreaElement to the specified string. |
AreaElement |
setTarget(WindowName target)
Deprecated. Sets the TARGET attribute for an AreaElement to the specified WindowName. |
Methods inherited from class weblogic.html.SinglePartElement |
getElement,
printBody,
printBody,
printBody,
setElement,
setElement,
widthAsLiteral |
Methods inherited from class weblogic.html.ElementWithAttributes |
addAttribute,
addAttribute,
escapeQuotes,
getBooleanAttribute,
getElementAttribute,
getLocalVar,
getQuotedAttribute,
output,
output,
output,
setBooleanAttribute,
setBooleanAttribute,
setClass,
setDirection,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setId,
setLang,
setLocalVar,
setQuotedAttribute,
setStyle |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String rectangle
public static final java.lang.String circle
public static final java.lang.String polygon
Constructor Detail |
public AreaElement()
public AreaElement(java.lang.Object shape, java.lang.String url)
shape
- java.awt.Rectangle or java.awt.Polygonurl
- URL for the area mappublic AreaElement(java.lang.String shape, java.lang.String coords, java.lang.String url)
Coordinates vary for each shape. The shapes are described by the following ordered coordinates:
"0, 0, 50%, 100%"
shape
- Constant in this class for shapecoords
- Map coordinatesurl
- URL for the area mappublic AreaElement(java.lang.String shape, java.lang.String coords)
Coordinates vary for each shape. The shapes are described by the following ordered coordinates:
"0, 0, 50%, 100%"
shape
- Constant in this class for shapecoords
- Map coordinatespublic AreaElement(java.lang.String shape, int[] coords, java.lang.String url)
Coordinates vary for each shape. The shapes are described by the following ordered coordinates:
"0, 0, 50%, 100%"
shape
- Constant in this class for shapecoords
- Map coordinatesMethod Detail |
protected java.lang.String getHtmlCode()
protected boolean printEndingTag()
protected boolean printCR()
protected boolean printBody()
public AreaElement setShape(java.lang.String shape, int[] coords)
shape
- Constant in this class for shapecoords
- Array of intspublic AreaElement setCoordinates(int[] coords)
coords
- Coordinatespublic AreaElement setShape(java.lang.String shape)
shape
- Constant in this class for shapepublic AreaElement setCoordinates(java.lang.String coords)
coords
- Map coordinatespublic AreaElement setHref(java.lang.String url)
url
- Value for the HREF attributepublic AreaElement setHref()
url
- Value for the HREF attributepublic AreaElement setTabindex(java.lang.String tabindex)
tabindex
- Indexpublic AreaElement setTabindex(int tabindex)
tabindex
- intpublic AreaElement setTarget(WindowName target)
target
- WindowName objectpublic AreaElement setTarget(java.lang.String target)
target
- String name of the target windowpublic AreaElement setAlt(java.lang.String text)
text
- Alternate text
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |