Class BlocklyPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javafx.embed.swing.JFXPanel
net.mcreator.ui.blockly.BlocklyPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Closeable, Serializable, AutoCloseable

public class BlocklyPanel extends javafx.embed.swing.JFXPanel implements Closeable
See Also:
  • Constructor Details

  • Method Details

    • addTaskToRunAfterLoaded

      public void addTaskToRunAfterLoaded(Runnable runnable)
    • addChangeListener

      public void addChangeListener(ChangeListener listener)
    • getXML

      public String getXML()
    • setXML

      public void setXML(String xml)
    • addBlocksFromXML

      public void addBlocksFromXML(String xml)
    • addGlobalVariable

      public void addGlobalVariable(String name, String type)
    • addLocalVariable

      public void addLocalVariable(String name, String type)
    • removeLocalVariable

      public void removeLocalVariable(String name)
    • getLocalVariablesList

      public List<VariableElement> getLocalVariablesList()
    • executeJavaScriptSynchronously

      public Object executeJavaScriptSynchronously(String javaScript)
    • getMCreator

      public MCreator getMCreator()
    • getType

      public BlocklyEditorType getType()
    • addExternalTriggerForProcedureEditor

      public void addExternalTriggerForProcedureEditor(ExternalTrigger external_trigger)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable