com.objectxp.mms.message.smil
Class Area

java.lang.Object
  extended by com.objectxp.mms.message.smil.Element
      extended by com.objectxp.mms.message.smil.Area

public class Area
extends Element

This class represents a SMIL "area" element. The semantics of the area element in SMIL 2.0 is the same as it is for HTML in that it can specify that a spatial portion of a visual object can be selected to trigger the appearance of the link's destination.

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.

Since:
jSMS 2.0

Field Summary
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
 
Fields inherited from class com.objectxp.mms.message.smil.Element
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 Summary
Area()
          Create a new Area.
 
Method Summary
 Element addAttribute(java.lang.String name, java.lang.String value)
          Add an attribute to this Area element.
 
Methods inherited from class com.objectxp.mms.message.smil.Element
getElements, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPEAT

public static final java.lang.String REPEAT
attribute, value: repeat

See Also:
Constant Field Values

SHAPE

public static final java.lang.String SHAPE
attribute, value: shape

See Also:
Constant Field Values

COORDS

public static final java.lang.String COORDS
attribute, value: coords

See Also:
Constant Field Values

NOHREF

public static final java.lang.String NOHREF
attribute, value: nohref

See Also:
Constant Field Values
Constructor Detail

Area

public Area()
Create a new Area.

Method Detail

addAttribute

public Element addAttribute(java.lang.String name,
                            java.lang.String value)
                     throws java.lang.IllegalArgumentException
Add an attribute to this Area element. Attributes allowed are:

Overrides:
addAttribute in class Element
Parameters:
name - the attribute name
value - the attribute value
Returns:
this Element
Throws:
java.lang.IllegalArgumentException - for invalid attributes


object XP, Inc. © 2000-2008. All rights reserved object XP