
| Modifier and Type | Field and Description |
|---|---|
static String |
MY_URI |
static String |
PROP_CONTENT_TYPE
The Internet media type of the content borne by a media object.
|
static String |
PROP_CONTENT_URL
The URL with which the media content can be retrieved.
|
static String |
PROP_RESOLUTION_MAX_X
An optional hint for UI handlers regarding the maximum horizontal size of
a visualizable media in number of pixels.
|
static String |
PROP_RESOLUTION_MAX_Y
An optional hint for UI handlers regarding the maximum vertical size of a
visualizable media in number of pixels.
|
static String |
PROP_RESOLUTION_MIN_X
An optional hint for UI handlers regarding the minimum horizontal size of
a visualizable media in number of pixels.
|
static String |
PROP_RESOLUTION_MIN_Y
An optional hint for UI handlers regarding the minimum vertical size of a
visualizable media in number of pixels.
|
static String |
PROP_RESOLUTION_PREFERRED_X
An optional hint for UI handlers regarding the preferred horizontal size
of a visualizable media in number of pixels.
|
static String |
PROP_RESOLUTION_PREFERRED_Y
An optional hint for UI handlers regarding the preferred vertical size of
a visualizable media in number of pixels.
|
PROP_CONTROL_LABEL, PROP_HELP, PROP_HINT, PROP_PARENT_CONTROL, PROP_REFERENCED_PPATH, PROP_VALUE_RESTRICTIONPROP_APPEARANCEANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE| Constructor and Description |
|---|
MediaObject()
For exclusive use by de-serializers.
|
MediaObject(Group parent,
Label label,
String contentType,
String contentURL)
Constructs a new media object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
String |
getContentURL() |
int |
getMaxLength()
Overrides the default implementation in
FormControl.getMaxLength() and returns always -1 as the intended
number of characters does not apply to media objects. |
int |
getResolutionMaxX()
Deprecated.
|
int |
getResolutionMaxY()
Deprecated.
|
int |
getResolutionMinX()
Deprecated.
|
int |
getResolutionMinY()
Deprecated.
|
int |
getResolutionPreferredX()
Deprecated.
|
int |
getResolutionPreferredY()
Deprecated.
|
void |
setMaxResolution(int x,
int y)
Deprecated.
use the
FormElement.addAppearanceRecommendation(org.universAAL.middleware.ui.owl.Recommendation)
generalized method to provide the same information. |
void |
setMinResolution(int x,
int y)
Deprecated.
use the
FormElement.addAppearanceRecommendation(org.universAAL.middleware.ui.owl.Recommendation)
generalized method to provide the same information. |
void |
setPreferredResolution(int x,
int y)
Deprecated.
use the
FormElement.addAppearanceRecommendation(org.universAAL.middleware.ui.owl.Recommendation)
generalized method to provide the same information. |
boolean |
setProperty(String propURI,
Object value)
For usage by de-serializers.
|
getAncestorRepeat, getFormObject, getHelpString, getHintString, getLabel, getParentGroup, getParentRepeat, getReferencedPPath, getRestrictions, getSuperGroups, getTypeURI, getValue, hasFocus, hasValue, isOfBooleanType, isOfPrimitiveType, isRepeatable, setHelpString, setHintString, toStringaddAppearanceRecommendation, getAppearanceRecommendationsaddType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfPropertiesaddMultiLangProp, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getOrConstructLabel, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, isWellFormed, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toStringRecursive, toStringRecursive, unliteralpublic static final String MY_URI
public static final String PROP_CONTENT_TYPE
public static final String PROP_CONTENT_URL
public static final String PROP_RESOLUTION_MAX_X
public static final String PROP_RESOLUTION_MAX_Y
public static final String PROP_RESOLUTION_MIN_X
public static final String PROP_RESOLUTION_MIN_Y
public static final String PROP_RESOLUTION_PREFERRED_X
public static final String PROP_RESOLUTION_PREFERRED_Y
public MediaObject()
public MediaObject(Group parent, Label label, String contentType, String contentURL)
parent - The mandatory parent group as the direct container of this
media object. See FormControl.PROP_PARENT_CONTROL.label - The optional Label to be associated with this media
object. See FormControl.PROP_CONTROL_LABEL.contentType - See PROP_CONTENT_TYPE; mandatory.contentURL - See PROP_CONTENT_URL; mandatory.public String getContentType()
PROP_CONTENT_TYPEpublic String getContentURL()
PROP_CONTENT_URLpublic int getMaxLength()
FormControl.getMaxLength() and returns always -1 as the intended
number of characters does not apply to media objects.getMaxLength in class FormControlpublic int getResolutionMaxX()
PROP_RESOLUTION_MAX_Xpublic int getResolutionMaxY()
PROP_RESOLUTION_MAX_Ypublic int getResolutionMinX()
PROP_RESOLUTION_MIN_Xpublic int getResolutionMinY()
PROP_RESOLUTION_MIN_Ypublic int getResolutionPreferredX()
PROP_RESOLUTION_PREFERRED_Xpublic int getResolutionPreferredY()
PROP_RESOLUTION_PREFERRED_Ypublic void setMaxResolution(int x,
int y)
FormElement.addAppearanceRecommendation(org.universAAL.middleware.ui.owl.Recommendation)
generalized method to provide the same information.x - See PROP_RESOLUTION_MAX_Xy - See PROP_RESOLUTION_MAX_Ypublic void setMinResolution(int x,
int y)
FormElement.addAppearanceRecommendation(org.universAAL.middleware.ui.owl.Recommendation)
generalized method to provide the same information.x - See PROP_RESOLUTION_MIN_Xy - See PROP_RESOLUTION_MIN_Ypublic void setPreferredResolution(int x,
int y)
FormElement.addAppearanceRecommendation(org.universAAL.middleware.ui.owl.Recommendation)
generalized method to provide the same information.x - See PROP_RESOLUTION_PREFERRED_Xy - See PROP_RESOLUTION_PREFERRED_Ypublic boolean setProperty(String propURI, Object value)
FormControlsetProperty in class FormControlFormControl.setProperty(String, Object)Copyright © 2018 universAAL Consortium. All rights reserved.