Provides the abstraction of an ordered collection of media,
without defining or constraining how this collection is
implemented.
A media is always an instance of MediaQuery.
An empty list is the same as a list that contains the medium "all".
|
__init__(self,
mediaText=None,
readonly=False)
unicodestring of parsable comma separared media
or a list of media |
source code
|
|
|
_getLength(self)
returns count of media in this list which is not the same as
len(MediaListInstance) which also contains CSSComments |
source code
|
|
|
_getMediaText(self)
returns serialized property mediaText |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
item(self,
index)
(DOM)
Returns the mediaType of the index'th element in the list. |
source code
|
|
|
|
|
|
Inherited from util.ListSeq :
__contains__ ,
__delitem__ ,
__getitem__ ,
__iter__ ,
__len__
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|