Package org.dlese.dpc.schemedit.display
Class CollapseBeanInitializer
java.lang.Object
org.dlese.dpc.schemedit.display.CollapseBeanInitializer
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 Summary
ConstructorsConstructorDescriptionCollapseBeanInitializer(CollapseBean collapseBean, org.dom4j.Document doc, int baseLevel, MetaDataFramework framework) Constructor for the CollapseBeanInitializer objectCollapseBeanInitializer(CollapseBean collapseBean, org.dom4j.Document doc, MetaDataFramework framework) Constructor for the CollapseBeanInitializer object -
Method Summary
-
Constructor Details
-
CollapseBeanInitializer
public CollapseBeanInitializer(CollapseBean collapseBean, org.dom4j.Document doc, MetaDataFramework framework) Constructor for the CollapseBeanInitializer object- Parameters:
collapseBean- collapseBean to be initializeddoc- instance documentframework- 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 initializeddoc- instance documentbaseLevel- 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
NOT YET DOCUMENTED- Parameters:
s- NOT YET DOCUMENTED
-