public class Area extends Element
The coords attribute specifies this spatial portion. In contrast, if an "a" element is applied to a visual object, then it specifies that any visual portion of that object can be selected to trigger the link traversal.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COORDS
attribute, value: coords
|
static java.lang.String |
NOHREF
attribute, value: nohref
|
static java.lang.String |
REPEAT
attribute, value: repeat
|
static java.lang.String |
SHAPE
attribute, value: shape
|
COMMON_CLASS, COMMON_ID, COMMON_TITLE, COMMON_XML_LANG, CONTCTRL_AUDIO_DESC, CONTCTRL_BITRATE, CONTCTRL_CAPTIONS, CONTCTRL_COMPONENT, CONTCTRL_CPU, CONTCTRL_LANGUAGE, CONTCTRL_OPERATING_SYSTEM, CONTCTRL_OVERDUB_OR_SUBTITLE, CONTCTRL_REQUIRED, CONTCTRL_SCREEN_DEPTH, CONTCTRL_SCREEN_SIZE, LINKING_ACCESSKEY, LINKING_ACTUATE, LINKING_ALT, LINKING_DEST_LEVEL, LINKING_DEST_PLAYSTATE, LINKING_EXTERNAL, LINKING_HREF, LINKING_SHOW, LINKING_SRC_LEVEL, LINKING_SRC_PLAYSTATE, LINKING_TABINDEX, LINKING_TARGET, MEDIA_SRC, MEDIA_TYPE, TIMING_BEGIN, TIMING_DUR, TIMING_END, TIMING_ENDSYNC, TIMING_FILL, TIMING_MAX, TIMING_MIN, TIMING_REPEAT_COUNT, TIMING_REPEAT_DUR
Constructor and Description |
---|
Area()
Create a new Area.
|
Modifier and Type | Method and Description |
---|---|
Element |
addAttribute(java.lang.String name,
java.lang.String value)
Add an attribute to this Area element.
|
getElements, toXML
public static final java.lang.String REPEAT
public static final java.lang.String SHAPE
public static final java.lang.String COORDS
public static final java.lang.String NOHREF
public Element addAttribute(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException
addAttribute
in class Element
name
- the attribute namevalue
- the attribute valuejava.lang.IllegalArgumentException
- for invalid attributesobject XP, Inc. © 2000-2013. All rights reserved object XP