Library | Package Java Toolkit

Interface FileOpenOptions

package com.ptc.pfc.pfcUI;

public interface FileOpenOptions
  extends com.ptc.pfc.pfcUI.FileUIOptions



Description

This class specifies the options for file open dialog.



Method Summary
StringGetFilterString ()
    Get method for attribute "FilterString"
    The filter string used for file extensions. The extensions must be specified with wildcards and seperated by commas; for example, "*.prt,*.txt".
/*optional*/ StringGetPreselectedItem ()
    Get method for attribute "PreselectedItem"
    A preselected file or item.
voidSetFilterString (String value)
    Set method for attribute "FilterString"
    The filter string used for file extensions. The extensions must be specified with wildcards and seperated by commas; for example, "*.prt,*.txt".
voidSetPreselectedItem ( /*optional*/ String value)
    Set method for attribute "PreselectedItem"
    A preselected file or item.

Methods Inherited from Interface com.ptc.pfc.pfcUI.FileUIOptions
GetDialogLabel, SetDialogLabel, GetShortcuts, SetShortcuts, GetDefaultPath, SetDefaultPath

Method Detail

GetFilterString/SetFilterString

StringGetFilterString ()
voidSetFilterString (String value)


    The filter string used for file extensions. The extensions must be specified with wildcards and seperated by commas; for example, "*.prt,*.txt".
Manual References:
Session Objects: File Dialogs, Session Objects: File Dialogs, Session Objects: File Dialogs



GetPreselectedItem/SetPreselectedItem

/*optional*/ StringGetPreselectedItem ()
voidSetPreselectedItem ( /*optional*/ String value)


    A preselected file or item.
Manual References:
Session Objects: File Dialogs, Session Objects: File Dialogs, Session Objects: File Dialogs