Package | com.adobe.xmp.utils |
Class | public class MRUManager |
Maintains the most-recently-used (MRU) preferences.
When the File Info dialog is initialized, the MRU values are
loaded from this file in the user directory:
.../Application Data/Adobe/XMP/File Info/3.0/work/FileInfoMRU.xml
MRUs are managed in memory until the dialog is closed.
The updated MRU preferences are then stored in this file.
MRU lists are stored separately for each XMP component and are recognized by the
xmpPath
attribute. Existing values are offered to the user, new values are remembered.
Settings for the MRUManager and for each MRU list:
Property | Defined by | ||
---|---|---|---|
caseSensitive : Boolean Whether value recognition should be case sensitive by default
| MRUManager | ||
closedList : Boolean Whether MRU values can be added to lists by default
| MRUManager | ||
enabled : Boolean Flag if the MRU functionality is enabled or disabled
| MRUManager | ||
instance : MRUManager
[static] The singleton instance of the MRUManager
| MRUManager | ||
maxEntries : int Getter and setter for the default maximum number of entries of a MRU list.
| MRUManager | ||
maxEntryLength : int [read-only] Getter for the default maximum length of an MRU entry.
| MRUManager | ||
minEntryLength : int [read-only] Getter for the default minimum length of an MRU entry
| MRUManager |
Method | Defined by | ||
---|---|---|---|
deleteMRUTable():void
| MRUManager | ||
getMRUList(mruKey:String):MRUList
Loads an MRU list for a certain key, or creates a new one if the
specified key does not exist.
| MRUManager | ||
loadMRUTable():void
| MRUManager |
Constant | Defined by | ||
---|---|---|---|
CASE_SENSITIVE : Boolean = false [static] Constant for the default case sensitive flag.
| MRUManager | ||
CLOSED_LIST : Boolean = false [static] Constant for the default closed list flag.
| MRUManager | ||
MAX_ENTRIES : int = 20 [static] Constant for the default maximum of entries in the MRU list.
| MRUManager | ||
MAX_ENTRY_LENGTH : int = 1024 [static] Constant for the default maximum length of a single MRU entry.
| MRUManager | ||
MIN_ENTRY_LENGTH : int = 3 [static] Constant for the default minimum length of a single MRU entry.
| MRUManager |
caseSensitive | property |
caseSensitive:Boolean
[read-write]Whether value recognition should be case sensitive by default
Implementation public function get caseSensitive():Boolean
public function set caseSensitive(value:Boolean):void
closedList | property |
closedList:Boolean
[read-write]Whether MRU values can be added to lists by default
Implementation public function get closedList():Boolean
public function set closedList(value:Boolean):void
enabled | property |
enabled:Boolean
[read-write]Flag if the MRU functionality is enabled or disabled
Implementation public function get enabled():Boolean
public function set enabled(value:Boolean):void
instance | property |
public static var instance:MRUManager
The singleton instance of the MRUManager
maxEntries | property |
maxEntries:int
[read-write]Getter and setter for the default maximum number of entries of a MRU list.
Implementation public function get maxEntries():int
public function set maxEntries(value:int):void
maxEntryLength | property |
maxEntryLength:int
[read-only]Getter for the default maximum length of an MRU entry.
Implementation public function get maxEntryLength():int
minEntryLength | property |
minEntryLength:int
[read-only]Getter for the default minimum length of an MRU entry
Implementation public function get minEntryLength():int
deleteMRUTable | () | method |
public function deleteMRUTable():void
getMRUList | () | method |
public function getMRUList(mruKey:String):MRUList
Loads an MRU list for a certain key, or creates a new one if the
specified key does not exist.
This list is only parsed when it is requested for the first time;
it is cached in memory until the dialog is closed, or until the list
is serialized using serializeModifiedLists()
,
which writes it back into the XML file.
mruKey:String — The key.
|
MRUList —
The MRU list.
|
loadMRUTable | () | method |
public function loadMRUTable():void
CASE_SENSITIVE | constant |
public static const CASE_SENSITIVE:Boolean = false
Constant for the default case sensitive flag.
CLOSED_LIST | constant |
public static const CLOSED_LIST:Boolean = false
Constant for the default closed list flag.
MAX_ENTRIES | constant |
public static const MAX_ENTRIES:int = 20
Constant for the default maximum of entries in the MRU list.
MAX_ENTRY_LENGTH | constant |
public static const MAX_ENTRY_LENGTH:int = 1024
Constant for the default maximum length of a single MRU entry.
MIN_ENTRY_LENGTH | constant |
public static const MIN_ENTRY_LENGTH:int = 3
Constant for the default minimum length of a single MRU entry.