FileDialog.getFilterIndex

Get the 0-based index of the file extension filter which was selected by the user, or -1 if no filter was selected. <p> This is an index into the FilterExtensions array and the FilterNames array. </p>

@return index the file extension filter index

@see #getFilterExtensions @see #getFilterNames

@since 3.4

class FileDialog
int
getFilterIndex
(
)

Meta