Class ElementContainer


  • public class ElementContainer
    extends java.lang.Object
    • Constructor Detail

      • ElementContainer

        public ElementContainer()
    • Method Detail

      • atomic

        public static <T> T atomic​(java.util.concurrent.Callable<T> callable)
        ALL MODIFICATIONS TO DRAWABLES MUST BE DONE THROUGH THIS METHOD
        Parameters:
        callable - The code to run
      • atomic

        public static void atomic​(java.lang.Runnable runnable)
        ALL MODIFICATIONS TO DRAWABLES MUST BE DONE THROUGH THIS METHOD
        Parameters:
        runnable - The code to run
      • setDirty

        public void setDirty()
      • getMinLayer

        public int getMinLayer()
      • getMaxLayer

        public int getMaxLayer()
      • size

        public int size()
      • add

        public void add​(Drawable<?> drawable)
      • remove

        public void remove​(Drawable<?> drawable)