Interface Orderer

All Known Implementing Classes:
OrdererBase

public interface Orderer
Maintains a sort order of VChild elements of a VParent Individual children are added automatically, list-based children are added through calling
invalid reference
addChild
method
  • Method Summary

    Modifier and Type
    Method
    Description
    List of children in proper order Orphaned children are automatically removed Non-ordered children are included
    void
    orderChild(int index, VChild newChild)
    Add the next child to the list
    void
    orderChild(VChild newChild)
    Add the next child to the list
    boolean
    replaceChild(VChild oldChild, VChild newChild)
    Replace oldChild with newChild in ordered list
  • Method Details

    • childrenUnmodifiable

      List<VChild> childrenUnmodifiable()
      List of children in proper order Orphaned children are automatically removed Non-ordered children are included
    • orderChild

      void orderChild(VChild newChild)
      Add the next child to the list
    • orderChild

      void orderChild(int index, VChild newChild)
      Add the next child to the list
    • replaceChild

      boolean replaceChild(VChild oldChild, VChild newChild)
      Replace oldChild with newChild in ordered list
      Returns:
      true if success, false if failure