Class FormActor

    • Field Detail

      • inputVariables

        public final Folder<com.wisecoders.dbs.forms.model.variables.InputField> inputVariables
      • rdbms

        public final java.lang.String rdbms
      • form

        public final com.wisecoders.dbs.forms.model.unit.Form form
    • Constructor Detail

      • FormActor

        public FormActor​(com.wisecoders.dbs.forms.model.unit.Form form,
                         java.lang.String rdbms)
    • Method Detail

      • listInputAndDbVariables

        public void listInputAndDbVariables​(java.util.List<com.wisecoders.dbs.forms.model.variables.AbstractField> found)
        Overrides:
        listInputAndDbVariables in class DataActor
      • populateWithInputVariablesDefaults

        public void populateWithInputVariablesDefaults​(com.wisecoders.dbs.forms.model.data.Record data)
      • verifyAndSetInputVariables

        public void verifyAndSetInputVariables​(com.wisecoders.dbs.forms.model.data.Record data)
                                        throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • createInputVariable

        public com.wisecoders.dbs.forms.model.variables.InputField createInputVariable​(java.lang.String name,
                                                                                       int javaType)
      • getActivePaneActor

        public PanelActor getActivePaneActor()
      • setActivePaneActor

        public void setActivePaneActor​(PanelActor activePaneActor)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Actor
      • getOrCreateFxToogleGroup

        public javafx.scene.control.ToggleGroup getOrCreateFxToogleGroup​(java.lang.String name)
      • isEmpty

        public boolean isEmpty()
      • getSupportedScriptTypes

        public com.wisecoders.dbs.forms.model.data.FormScriptType[] getSupportedScriptTypes()
        Specified by:
        getSupportedScriptTypes in class DataActor
        Returns:
        the FormScriptsTypes which are allowed for the current Actor.
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in class Actor
      • getSymbolicGlyph

        public com.wisecoders.dbs.sys.fx.glyph.Glyph getSymbolicGlyph()
        Overrides:
        getSymbolicGlyph in class Actor
      • renderHTML

        public void renderHTML​(com.wisecoders.dbs.forms.model.data.Record record,
                               com.wisecoders.dbs.forms.template.Bundle template,
                               java.lang.String path,
                               com.wisecoders.dbs.rdbms.connect.model.envoy.Envoy envoy,
                               IndentedWriter writer)
                        throws java.lang.Exception
        Specified by:
        renderHTML in class Actor
        Throws:
        java.lang.Exception
      • getAllPanelScripts

        public java.util.List<com.wisecoders.dbs.forms.model.data.FormScript> getAllPanelScripts()
      • isDialog

        public boolean isDialog()
      • createInputVariablesFromWizard

        public void createInputVariablesFromWizard​(java.util.List<com.wisecoders.dbs.forms.model.variables.AbstractField> proposal)