Interface SpinSet

All Superinterfaces:
Adaptable, Resource

@Deprecated @ProviderType public interface SpinSet extends Resource
Deprecated.
Not for public use - this API will be replaced in a future release
Represents a Scene7 2D SpinSet
  • Method Details

    • setAssets

      void setAssets(Asset[][] assets)
      Deprecated.
      Add the matrix of assets
      Parameters:
      assets - The 2D matrix consisting of assets
      Throws:
      IllegalArgumentException - if null array is passed.
    • setAsset

      void setAsset(Asset asset, int row, int column)
      Deprecated.
      Set the given asset at specified position in matrix.
      Parameters:
      asset - Asset to be added.
      row - Row at which asset needs to be added.
      column - Column at which asset needs to be added.
      Throws:
      IllegalArgumentException - if invalid value is passed for row or column
    • removeAssets

      void removeAssets()
      Deprecated.
      Removes all the assets from set
    • removeRow

      void removeRow(int row)
      Deprecated.
      Removes the specified row from the set. 0 th index is the first row.
      Parameters:
      row - Index of the row to be removed
      Throws:
      IllegalArgumentException - if invalid value is passed for row.
    • removeColumn

      void removeColumn(int column)
      Deprecated.
      Removes the specified column from the set. 0th index is the first column
      Parameters:
      column - Index of the column to be removed.
      Throws:
      IllegalArgumentException - if invalid value is passed for column.
    • getAsset

      Asset getAsset(int row, int column)
      Deprecated.
      Returns the asset at specified index in the matrix
      Parameters:
      row - The row index.
      column - The column index
      Returns:
      Asset at specified column, null if it cannot find row.
      Throws:
      IllegalArgumentException - if invalid value is passed for row or column.
    • getRowCount

      int getRowCount()
      Deprecated.
      Returns the number of rows in 2D spin set
      Returns:
      Number of rows
    • getColumnCount

      int getColumnCount()
      Deprecated.
      Returns the number of columns in 2D spin set
      Returns:
      Number of columns
    • getAssets

      Asset[][] getAssets()
      Deprecated.
      Returns the 2D array of assets which consists of spin set.
      Returns:
      The array of assets.
    • addRow

      void addRow(Asset[] row)
      Deprecated.
      Adds row to the Set.
      Parameters:
      row - Array containing row to be added.
      Throws:
      IllegalArgumentException - if the dimension of row does not match with existing matrix
    • addColumn

      void addColumn(Asset[] column)
      Deprecated.
      Adds column to the set.
      Parameters:
      column - Array containing column to be added.
      Throws:
      IllegalArgumentException - if the dimension of column does not match with existing matrix.
    • isValidMemberType

      boolean isValidMemberType(Asset asset)
      Deprecated.
      Checks if the given asset is valid member type of Media Set
      Parameters:
      asset - The asset whose type needs to be checked for membership
      Returns:
      True if asset type is valid for set, false otherwise.