Packagecom.adobe.xmp.utils
Classpublic class MRUList

Maintains the list of most-recently-used (MRU) values for an XMP component. Has the ability to initialialize itself from and serialize to an XML file. Stores local settings for.



Public Properties
 PropertyDefined by
  caseSensitive : Boolean
Getter and Setter for preferences that sets modification flag
MRUList
  closedList : Boolean
Getter and Setter for preferences that sets modification flag
MRUList
  enabled : Boolean
Getter and Setter for preferences that sets modification flag
MRUList
  list : IList
[read-only] Retrieves the stored MRU values.
MRUList
  maxEntries : int
Getter and Setter for preferences that sets modification flag
MRUList
Public Methods
 MethodDefined by
  
addValue(value:String):Boolean
Adds a value to the MRU list, if it is not already in the list (with respect to the flags caseSensitive, closedList and min/max value length in the MRU manager).
MRUList
  
clearList():void
Clear the MRU list for the key that it is representing.
MRUList
  
Serialize a single MRU list to XML-
MRUList
Property detail
caseSensitiveproperty
caseSensitive:Boolean  [read-write]

Getter and Setter for preferences that sets modification flag

Implementation
    public function get caseSensitive():Boolean
    public function set caseSensitive(value:Boolean):void
closedListproperty 
closedList:Boolean  [read-write]

Getter and Setter for preferences that sets modification flag

Implementation
    public function get closedList():Boolean
    public function set closedList(value:Boolean):void
enabledproperty 
enabled:Boolean  [read-write]

Getter and Setter for preferences that sets modification flag

Implementation
    public function get enabled():Boolean
    public function set enabled(value:Boolean):void
listproperty 
list:IList  [read-only]

Retrieves the stored MRU values.

Implementation
    public function get list():IList
maxEntriesproperty 
maxEntries:int  [read-write]

Getter and Setter for preferences that sets modification flag

Implementation
    public function get maxEntries():int
    public function set maxEntries(value:int):void
Method detail
addValue()method
public function addValue(value:String):Boolean

Adds a value to the MRU list, if it is not already in the list (with respect to the flags caseSensitive, closedList and min/max value length in the MRU manager).

Parameters
value:String — The value to add.

Returns
Boolean — True if the value was added.
clearList()method 
public function clearList():void

Clear the MRU list for the key that it is representing. Set the state to modified.

serializeList()method 
public function serializeList():XML

Serialize a single MRU list to XML-

Returns
XML