Class Layer

    • Constructor Summary

      Constructors 
      Constructor Description
      Layer​(int type)  
      Layer​(int type, java.lang.Object color)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flushRenderInfo()
      Flushes the render information.
      java.lang.Object getColor()  
      java.lang.Object getRenderInfo​(int infoId)
      Returns cached render information.
      int getType()
      Returns the type of the layer.
      void setColor​(java.lang.Object color)  
      void setRenderInfo​(int infoId, java.lang.Object info)
      Sets cached render information.
      • Methods inherited from class java.lang.Object

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

      • Layer

        public Layer​(int type)
      • Layer

        public Layer​(int type,
                     java.lang.Object color)
    • Method Detail

      • getColor

        public java.lang.Object getColor()
      • setColor

        public void setColor​(java.lang.Object color)
      • getType

        public int getType()
        Returns the type of the layer.
        Returns:
        Type of the layer.
      • getRenderInfo

        public java.lang.Object getRenderInfo​(int infoId)
        Returns cached render information.
        Parameters:
        infoId - id of the information
        Returns:
        render info
      • setRenderInfo

        public void setRenderInfo​(int infoId,
                                  java.lang.Object info)
        Sets cached render information.
        Parameters:
        infoId - id of the information
        info - the render info
      • flushRenderInfo

        public void flushRenderInfo()
        Flushes the render information.