Class DiffResult.RenderNodeUpdate

java.lang.Object
com.ultikits.ultitools.abstracts.gui.declarative.core.DiffResult.RenderNodeUpdate
Enclosing class:
DiffResult

public static class DiffResult.RenderNodeUpdate extends Object
表示一个节点更新。
  • Field Details

    • oldNode

      @NotNull private final @NotNull RenderNode oldNode
    • newNode

      @NotNull private final @NotNull RenderNode newNode
  • Constructor Details

    • RenderNodeUpdate

      public RenderNodeUpdate(@NotNull @NotNull RenderNode oldNode, @NotNull @NotNull RenderNode newNode)
  • Method Details

    • getOldNode

      @NotNull public @NotNull RenderNode getOldNode()
    • getNewNode

      @NotNull public @NotNull RenderNode getNewNode()
    • getSlotIndex

      public int getSlotIndex()
      获取变更的槽位索引。
      Returns:
      槽位索引