FileDialog

org.nlogo.swing.FileDialog
object FileDialog

Attributes

Source
FileDialog.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
FileDialog.type

Members list

Value members

Concrete methods

def confirmFileOverwrite(owner: Component, path: String): Option[String]

Attributes

Source
FileDialog.scala
def setDirectory(directory: String): Unit

sets the current directory for the file dialog.

sets the current directory for the file dialog.

Attributes

Source
FileDialog.scala
def showDirectories(parentFrame: Frame, title: String): String

Attributes

Source
FileDialog.scala
def showFiles(component: Component, title: String, mode: Int, file: String, allowed: List[String]): String

shows the file dialog. The given component's frame will be used, and the given file will be the default selection.

shows the file dialog. The given component's frame will be used, and the given file will be the default selection.

Attributes

Source
FileDialog.scala
def showFiles(parentFrame: Frame, title: String, mode: Int): String

shows the file dialog. The given frame will be used, and there will be no default file selection.

shows the file dialog. The given frame will be used, and there will be no default file selection.

Attributes

Source
FileDialog.scala