public class DynForm extends DynFormBase
agentStartConfiguration, currOntologyClassReferenceList, debug, numWatcherFloat, numWatcherInteger, objectTree, ontoArgsInstance, ontoArgsXML, ontologyVisualisationHelper
Constructor and Description |
---|
DynForm(OntologyVisualizationHelper ontologyVisualisationHelper,
AgentStartConfiguration agentStartConfiguration,
java.lang.String agentReference)
Constructor of this class by using a project and an agent reference.
|
DynForm(OntologyVisualizationHelper ontologyVisualisationHelper,
java.lang.String[] ontologyClassReferences)
Constructor of this class by using an instance of an ontology and
the reference(s) of a needed class out of the ontology.
|
Modifier and Type | Method and Description |
---|---|
protected javax.swing.tree.DefaultMutableTreeNode |
addSingleMultipleNode(javax.swing.tree.DefaultMutableTreeNode node,
boolean isInnerClass)
This method has to create a copy of the passed JPanel and adds it.
|
javax.swing.JPanel |
getJPanelOntologyVisualization()
This method starts building the Swing GUI.
|
java.lang.Object[] |
getOntoArgsInstance()
Returns the instances of the ontology arguments.
|
java.lang.Object[] |
getOntoArgsInstanceCopy()
Returns a copy of the current ontology arguments instances.
|
java.lang.String[] |
getOntoArgsXML()
Returns the ontology arguments as XML string-array.
|
protected void |
removeMultiple(javax.swing.tree.DefaultMutableTreeNode node)
This method has to remove the JPanel passed with the given tree node.
|
void |
setOntoArgsInstance(java.lang.Object[] ontologyInstances)
Sets the instances of the ontology arguments.
|
void |
setOntoArgsXML(java.lang.String[] ontoArgsXML)
Sets the ontology arguments as XML string-array.
|
getInstanceOfXML, getInstancesFromXML, getObjectTree, getOntologyClassReferenceList, getOntologyClassWidget, getOntologyClassWidgets, getRootNode, getTreeNodeByDynType, getTreeNodesByDynType, getVisualComponent, isEmptyForm, isRawType, resetValuesOnForm, save, setFormState, setInstancesFromForm, setInstancesFromXML, setIsEmptyForm, setXMLFromInstances, showObjectTree
public DynForm(OntologyVisualizationHelper ontologyVisualisationHelper, AgentStartConfiguration agentStartConfiguration, java.lang.String agentReference)
ontologyVisualisationHelper
- the OntologyVisualizationHelper
agentStartConfiguration
- the AgentStartConfiguration
agentReference
- the agent referencepublic DynForm(OntologyVisualizationHelper ontologyVisualisationHelper, java.lang.String[] ontologyClassReferences)
ontologyVisualisationHelper
- the OntologyVisualizationHelper
ontologyClassReferences
- the ontology class referencespublic javax.swing.JPanel getJPanelOntologyVisualization()
protected javax.swing.tree.DefaultMutableTreeNode addSingleMultipleNode(javax.swing.tree.DefaultMutableTreeNode node, boolean isInnerClass)
DynFormBase
addSingleMultipleNode
in class DynFormBase
node
- the current nodeisInnerClass
- the is inner classprotected void removeMultiple(javax.swing.tree.DefaultMutableTreeNode node)
DynFormBase
removeMultiple
in class DynFormBase
node
- the nodepublic java.lang.Object[] getOntoArgsInstance()
public java.lang.Object[] getOntoArgsInstanceCopy()
public void setOntoArgsInstance(java.lang.Object[] ontologyInstances)
ontologyInstances
- the new instances of the ontology argumentspublic java.lang.String[] getOntoArgsXML()
public void setOntoArgsXML(java.lang.String[] ontoArgsXML)
ontoArgsXML
- the new onto args xml