Interface DFView

  • All Superinterfaces:
    DFItem, DFUserItem, PropertiesEditingConfigurable

    public interface DFView
    extends DFUserItem
    Interface representing view (visual window/component) presenting data of DFDataTree. DFView is actually not visual object, but model only - it is responsible for persistence of UI settings.

    The actual window (Swing component) is only based on DFView. Implementation of these visual components is out of scope of DIF module. It must be solved in higher layer in the architecture.

    • Method Detail

      • getDataTree

        DFDataTree getDataTree()
        Returns:
        The owner of this view - what DFDataTree this view represents.
      • getItemContent

        DFViewContent getItemContent()
        Getter for a the configuration data required to restore the view. View is expected to load this data lazily.
        Returns:
        view configuration (for persistence)
      • getHandle

        DFItem.Handle<DFView> getHandle()
        Description copied from interface: DFItem
        Returns a handle to the Item. The handle uniquely identifies the Item, even though the schema data may be copied or otherwise replicated. Use the Handle instead of DFItem.getId() when registering an Item in collections that extend beyond the DFItem's parent Schema.
        Specified by:
        getHandle in interface DFItem
        Returns:
        The handle to the DFItem.
      • getUndoManager

        DFUndoManager getUndoManager()
        Returns:
        data modifications undo/redo manager for this view
        Since:
        20.12.0