Class CollapseBeanInitializer

java.lang.Object
org.dlese.dpc.schemedit.display.CollapseBeanInitializer

public class CollapseBeanInitializer extends Object
Class to initialize a CollapseBean which controls the visibility of fields in the metadata editor. All fields that are deeper than a threshold level are opened, while those shallower are closed.
Author:
Jonathan Ostwald
  • Constructor Details

    • CollapseBeanInitializer

      public CollapseBeanInitializer(CollapseBean collapseBean, org.dom4j.Document doc, MetaDataFramework framework)
      Constructor for the CollapseBeanInitializer object
      Parameters:
      collapseBean - collapseBean to be initialized
      doc - instance document
      framework - framework of instance document
    • CollapseBeanInitializer

      public CollapseBeanInitializer(CollapseBean collapseBean, org.dom4j.Document doc, int baseLevel, MetaDataFramework framework)
      Constructor for the CollapseBeanInitializer object
      Parameters:
      collapseBean - collapseBean to be initialized
      doc - instance document
      baseLevel - Configured baseLevel for the framework - used to compute relative "level"
      framework - Description of the Parameter
  • Method Details

    • init

      public void init()
      Initializes visiblity of elements in the metadata editor. Currently, expands all nodes except those at a level below THRESHOLD_LEVEL.
    • prtln

      protected final void prtln(String s)
      NOT YET DOCUMENTED
      Parameters:
      s - NOT YET DOCUMENTED