Class MMCQ.CMap

  • Enclosing class:
    MMCQ

    public static class MMCQ.CMap
    extends java.lang.Object
    Color map.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.ArrayList<MMCQ.VBox> vboxes  
    • Constructor Summary

      Constructors 
      Constructor Description
      CMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int[] map​(int[] color)  
      int[] nearest​(int[] color)  
      int[][] palette()  
      void push​(MMCQ.VBox box)  
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • vboxes

        public final java.util.ArrayList<MMCQ.VBox> vboxes
    • Constructor Detail

      • CMap

        public CMap()
    • Method Detail

      • palette

        public int[][] palette()
      • size

        public int size()
      • map

        public int[] map​(int[] color)
      • nearest

        public int[] nearest​(int[] color)