Class MeshFactoryDialog

java.lang.Object
com.marginallyclever.ro3.mesh.MeshFactoryDialog

public class MeshFactoryDialog extends Object

MeshFactoryDialog displays controls to load a Mesh from a file.

Mesh are created using the MeshFactory, which makes sure identical items are not loaded twice.

  • Constructor Details

    • MeshFactoryDialog

      public MeshFactoryDialog()
  • Method Details

    • run

      public int run(JComponent parent)
      Returns:
      JFileChooser.APPROVE_OPTION or JFileChooser.CANCEL_OPTION
    • getMesh

      public Mesh getMesh()
      Returns:
      the last mesh loaded by this panel.