public class AssetActionPackers extends ListPackManager
AssetAction
.BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
AssetActionPacker |
appendAssetActionPacker(int type,
java.lang.String uid,
java.lang.String name)
Adds a packer at the end.
|
int |
countAssetActionPackers()
Returns the number of packers configured
|
void |
deleteAssetActionPacker(int row)
Deletes the packer at the specified position.
|
AssetActionPacker |
getAssetActionPacker(int pos)
Returns the packer for the specified position.
|
java.util.List<java.lang.Integer> |
getAssetActionPackerPositions()
Returns list of positions of the stored packers.
|
java.util.List<AssetActionPacker> |
getAssetActionPackers()
Returns a list of packers.
|
void |
moveDown(int row)
Moves the packer at the specified position one position down.
|
void |
moveDownToEnd(int row)
Moves the packer at the specified position to the last position.
|
void |
moveUp(int row)
Moves the packer at the specified position one position up.
|
void |
moveUpToTop(int row)
Moves the packer at the specified position to the first position.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public int countAssetActionPackers()
public java.util.List<java.lang.Integer> getAssetActionPackerPositions()
Integer
public java.util.List<AssetActionPacker> getAssetActionPackers()
AssetActionPacker
public void deleteAssetActionPacker(int row)
row
- position of the packer to be deletedpublic AssetActionPacker appendAssetActionPacker(int type, java.lang.String uid, java.lang.String name)
type
- the type of the module (see BaseManager.TYPE_EJP
and BaseManager.TYPE_NATIVE
uid
- the UID of the packer modulename
- the display name of the packer modulepublic AssetActionPacker getAssetActionPacker(int pos)
pos
- the position to get the packer forpublic void moveUp(int row) throws JPack.NoSuchElementException
row
- the position to move upJPack.NoSuchElementException
- in case of an invalid parameterpublic void moveUpToTop(int row) throws JPack.NoSuchElementException
row
- the position to move to the topJPack.NoSuchElementException
- in case of an invalid parameterpublic void moveDown(int row) throws JPack.NoSuchElementException
row
- the position to move downJPack.NoSuchElementException
- in case of an invalid parameterpublic void moveDownToEnd(int row) throws JPack.NoSuchElementException
row
- the position to move to the endJPack.NoSuchElementException
- in case of an invalid parameterwww.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.