Package sc.layer

Class LayerComponent

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte getInitState()  
      void init()
      You can optionally implement this method to receive a initialization hook
      void preInit()  
      void start()
      You can optionally implement this method to receive a start hook
      void stop()
      You can optionally implement this method to receive a stop hook when your object or component is disposed
      • Methods inherited from class java.lang.Object

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

      • definedInLayer

        public transient Layer definedInLayer
        The layer which defines this component. Layers which extend the layer which defines the component can use it.
      • _initState

        public byte _initState
    • Constructor Detail

      • LayerComponent

        public LayerComponent()
      • LayerComponent

        public LayerComponent​(Layer layer)
    • Method Detail

      • init

        public void init()
        Description copied from interface: IComponent
        You can optionally implement this method to receive a initialization hook
        Specified by:
        init in interface IComponent
      • start

        public void start()
        Description copied from interface: IComponent
        You can optionally implement this method to receive a start hook
        Specified by:
        start in interface IComponent
      • stop

        public void stop()
        Description copied from interface: IStoppable
        You can optionally implement this method to receive a stop hook when your object or component is disposed
        Specified by:
        stop in interface IStoppable