C# Class FlatRedBall.Gui.FileTextBox

A TextBox-like window which allows the user to browse the folder structure and select a file. The selected file will appear in the TextBox.
Inheritance: Window
Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode Description
FileTextBox ( Cursor cursor ) : System
SetFileType ( List FileType ) : void
SetFileType ( string fileType ) : void

Sets the filetype that the FileWindow can view.

This method also clears all types. Setting a filter then calling SetFileType clears the filter. Setting the filetype as "graphic" sets all of the file types that FRB can load. FlatRedBall.Gui.FileWindow.Filter

Private Methods

Méthode Description
AddFileType ( string type ) : void
FileWindowOkClick ( Window callingWindow ) : void
OpenFileWindow ( Window callingWindow ) : void

Method Details

FileTextBox() public méthode

public FileTextBox ( Cursor cursor ) : System
cursor Cursor
Résultat System

SetFileType() public méthode

public SetFileType ( List FileType ) : void
FileType List
Résultat void

SetFileType() public méthode

Sets the filetype that the FileWindow can view.
This method also clears all types. Setting a filter then calling SetFileType clears the filter. Setting the filetype as "graphic" sets all of the file types that FRB can load. FlatRedBall.Gui.FileWindow.Filter
public SetFileType ( string fileType ) : void
fileType string
Résultat void