Interface PaletteResize<T>

All Known Implementing Classes:
PalettedContainer

interface PaletteResize<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    onResize(int pBits, T pObjectAdded)
    Called when the underlying palette needs to resize itself to support additional objects.
  • Method Details

    • onResize

      int onResize(int pBits, T pObjectAdded)
      Called when the underlying palette needs to resize itself to support additional objects.
      Parameters:
      pBits - The new palette size, in bits.
      Returns:
      The new integer mapping for the object added.