public class AssetFormatsList extends ListPackManager
Modifier and Type | Class and Description |
---|---|
class |
AssetFormatsList.Entry
This class describes one entry of an
AssetFormatsList . |
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
boolean |
append(FormatListModuleEntry moduleEntry)
Appends the given module entry to the end of the format list if the entry has not been added before.
|
java.lang.Object |
clone()
Clones this instance.
|
void |
delete(FormatListModuleEntry moduleEntry)
Deletes the given module entry.
|
java.util.List<FormatListModuleEntry> |
getEntries()
Returns a list of all module entries of this formats list
|
java.util.List<AssetFormatsList.Entry> |
getEntryDescriptors()
Returns a list of descriptors for the entries of the format list.
|
FormatListModuleEntry |
getModuleEntry(java.lang.String uid,
java.lang.String fileFormatName)
Deprecated.
Use
getModuleEntry(String, String, String) instead |
FormatListModuleEntry |
getModuleEntry(java.lang.String uid,
java.lang.String fileFormatExtension,
java.lang.String macFileType)
Returns the module entry for the specified module UID, format extension and Mac file type.
|
void |
moveDown(FormatListModuleEntry entry)
Moves the given entry one position down.
|
void |
moveDownToEnd(FormatListModuleEntry entry)
Moves the given entry to the end of the list.
|
void |
moveUp(FormatListModuleEntry entry)
Moves the given entry one position up.
|
void |
moveUpToTop(FormatListModuleEntry entry)
Moves the given entry to the top.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public java.util.List<AssetFormatsList.Entry> getEntryDescriptors()
AssetFormatsList.Entry
instancespublic java.util.List<FormatListModuleEntry> getEntries()
FormatListModuleEntry
instancespublic boolean append(FormatListModuleEntry moduleEntry)
moduleEntry
- the module entry to add@Deprecated public FormatListModuleEntry getModuleEntry(java.lang.String uid, java.lang.String fileFormatName)
getModuleEntry(String, String, String)
insteaduid
- the UID of the module entryfileFormatName
- the format name of the module entrypublic FormatListModuleEntry getModuleEntry(java.lang.String uid, java.lang.String fileFormatExtension, java.lang.String macFileType)
uid
- the UID of the module entryfileFormatExtension
- the format extension of the module entrymacFileType
- the Mac file type of the module entrypublic void delete(FormatListModuleEntry moduleEntry)
moduleEntry
- the entry to deletepublic void moveUp(FormatListModuleEntry entry) throws JPack.NoSuchElementException
entry
- the entry to move upJPack.NoSuchElementException
- in case of an invalid entrypublic void moveUpToTop(FormatListModuleEntry entry) throws JPack.NoSuchElementException
entry
- the entry to move to the topJPack.NoSuchElementException
- in case of an invalid entrypublic void moveDown(FormatListModuleEntry entry) throws JPack.NoSuchElementException
entry
- the entry to move downJPack.NoSuchElementException
- in case of an invalid entrypublic void moveDownToEnd(FormatListModuleEntry entry) throws JPack.NoSuchElementException
entry
- the entry to move to the endJPack.NoSuchElementException
- in case of an invalid entrypublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.