RESOURCE_TYPE_NON_EXISTING
Modifier and Type | Method and Description |
---|---|
void |
addColumn(Asset[] column)
Deprecated.
Adds column to the set.
|
void |
addRow(Asset[] row)
Deprecated.
Adds row to the Set.
|
Asset |
getAsset(int row,
int column)
Deprecated.
Returns the asset at specified index in the matrix
|
Asset[][] |
getAssets()
Deprecated.
Returns the 2D array of assets which consists of spin set.
|
int |
getColumnCount()
Deprecated.
Returns the number of columns in 2D spin set
|
int |
getRowCount()
Deprecated.
Returns the number of rows in 2D spin set
|
boolean |
isValidMemberType(Asset asset)
Deprecated.
Checks if the given asset is valid member type of Media Set
|
void |
removeAssets()
Deprecated.
Removes all the assets from set
|
void |
removeColumn(int column)
Deprecated.
Removes the specified column from the set.
|
void |
removeRow(int row)
Deprecated.
Removes the specified row from the set.
|
void |
setAsset(Asset asset,
int row,
int column)
Deprecated.
Set the given asset at specified position in matrix.
|
void |
setAssets(Asset[][] assets)
Deprecated.
Add the matrix of assets
|
getChild, getChildren, getName, getParent, getPath, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildren
void setAssets(Asset[][] assets)
assets
- The 2D matrix consisting of assetsjava.lang.IllegalArgumentException
- if null array is passed.void setAsset(Asset asset, int row, int column)
asset
- Asset to be added.row
- Row at which asset needs to be added.column
- Column at which asset needs to be added.java.lang.IllegalArgumentException
- if invalid value is passed for row or
columnvoid removeAssets()
void removeRow(int row)
row
- Index of the row to be removedjava.lang.IllegalArgumentException
- if invalid value is passed for row.void removeColumn(int column)
column
- Index of the column to be removed.java.lang.IllegalArgumentException
- if invalid value is passed for column.Asset getAsset(int row, int column)
row
- The row index.column
- The column indexjava.lang.IllegalArgumentException
- if invalid value is passed for row or
column.int getRowCount()
int getColumnCount()
Asset[][] getAssets()
void addRow(Asset[] row)
row
- Array containing row to be added.java.lang.IllegalArgumentException
- if the dimension of row does not match
with existing matrixvoid addColumn(Asset[] column)
column
- Array containing column to be added.java.lang.IllegalArgumentException
- if the dimension of column does not
match with existing matrix.boolean isValidMemberType(Asset asset)
asset
- The asset whose type needs to be checked for membershipCopyright © 2010 - 2020 Adobe. All Rights Reserved