Class MappedComponentModel

java.lang.Object
de.grogra.pf.ui.awt.ComponentModel
de.grogra.pf.ui.awt.MappedComponentModel
All Implemented Interfaces:
ComponentWrapper, Synchronizer.Callback, Disposable, MappedTreeModel, MutableTreeModel, Comparator, TreeModel
Direct Known Subclasses:
AWTTree

public abstract class MappedComponentModel extends ComponentModel implements MappedTreeModel, Comparator
  • Field Details

    • sourceTree

      protected final UITree sourceTree
    • mapper

      protected final TreeMapper mapper
    • sourceRoot

      protected final Object sourceRoot
  • Constructor Details

    • MappedComponentModel

      public MappedComponentModel(UITree sourceTree, Object sourceRoot)
    • MappedComponentModel

      public MappedComponentModel(UITree sourceTree)
  • Method Details

    • getToolkit

      public AWTToolkitBase getToolkit()
    • compare

      public int compare(Object a, Object b)
      Specified by:
      compare in interface Comparator
    • map

      public void map(boolean attach)
    • isSourceRoot

      protected boolean isSourceRoot(Object sourceNode)
    • dispose

      public final void dispose()
      Specified by:
      dispose in interface Disposable
    • disposeImpl

      protected void disposeImpl()
    • revalidate

      protected void revalidate(Component c)
    • treeChangedSync

      protected void treeChangedSync(Container c)
      Specified by:
      treeChangedSync in class ComponentModel
    • getSourceTree

      public UITree getSourceTree()