Interface PNode.PSceneGraphDelegate

Enclosing class:
PNode

public static interface PNode.PSceneGraphDelegate
PSceneGraphDelegate is an interface to receive low level node events. It together with PNode.SCENE_GRAPH_DELEGATE gives Piccolo2d users an efficient way to learn about low level changes in Piccolo's scene graph. Most users will not need to use this.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to notify delegate that the node and all it's children need repainting.
    void
    Called to notify delegate that the node needs repainting.
  • Method Details

    • nodePaintInvalidated

      void nodePaintInvalidated(PNode node)
      Called to notify delegate that the node needs repainting.
      Parameters:
      node - node needing repaint
    • nodeFullBoundsInvalidated

      void nodeFullBoundsInvalidated(PNode node)
      Called to notify delegate that the node and all it's children need repainting.
      Parameters:
      node - node needing repaint