| java.lang.Object com.jeta.swingbuilder.gui.formmgr.FormManagerDesignUtils
FormManagerDesignUtils | public class FormManagerDesignUtils (Code) | | Utility functions for dealing with the FormManager while in design mode.
author: Jeff Tassin |
clearUnreferencedForms | public static void clearUnreferencedForms()(Code) | | Clears all forms in the given form manager that are not referenced or
contained in any editor.
|
containsForm | public static boolean containsForm(Container cc, String formId)(Code) | | Traverses the container hiearchy and checks if each child component is an
instance of a FormComponent that has the given form id.
true if the given form contains a nested form with the given id. |
deselectAll | public static void deselectAll(FormComponent form)(Code) | | Recursively deselects all cells
|
getComponentCount | public static int getComponentCount(FormComponent form)(Code) | | the total number of components in the form |
getLinkedForms | public static Collection getLinkedForms(Container cc)(Code) | | a set of all nested linked form ids (String objects) includingthe given form that are contained by the given form. |
getLinkedFormsFromClipboard | public static Collection getLinkedFormsFromClipboard()(Code) | | the collection of linked form ids on the clipboard if any. |
openLinkedFormFile | public static File openLinkedFormFile()(Code) | | Invokes a file chooser dialog which allows the user to select a form
file. The form file is then checked to determine if it lies on the valid
source path. If the form does not lie on a valid source path, an error
dialog is displayed and null is returned.
|
|
|