Package org.nuiton.jaxx.widgets.file
Class FileEditorHandler
- java.lang.Object
-
- org.nuiton.jaxx.widgets.file.FileEditorHandler
-
- All Implemented Interfaces:
UIHandler<FileEditor>
public class FileEditorHandler extends Object implements UIHandler<FileEditor>
- Author:
- Sylvain Lletellier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileEditorHandler.ExtentionFileFiler
-
Field Summary
Fields Modifier and Type Field Description protected JDialogdialogOwnerTo set the dialog (see https://forge.nuiton.org/issues/2578).static FilelastSelectedPathstatic StringSEPARATOR_REGEXprotected FileEditorui
-
Constructor Summary
Constructors Constructor Description FileEditorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterInit(FileEditor ui)voidbeforeInit(FileEditor ui)voidopenLocation()protected voidsetDialogOwner(JDialog dialogOwner)voidsetSelectedFile(File file)voidsetSelectedFile(String path)
-
-
-
Field Detail
-
SEPARATOR_REGEX
public static final String SEPARATOR_REGEX
- See Also:
- Constant Field Values
-
lastSelectedPath
public static File lastSelectedPath
-
ui
protected FileEditor ui
-
dialogOwner
protected JDialog dialogOwner
To set the dialog (see https://forge.nuiton.org/issues/2578).- Since:
- 2.5.12
-
-
Method Detail
-
openLocation
public void openLocation()
-
setSelectedFile
public void setSelectedFile(String path)
-
setSelectedFile
public void setSelectedFile(File file)
-
setDialogOwner
protected void setDialogOwner(JDialog dialogOwner)
-
beforeInit
public void beforeInit(FileEditor ui)
- Specified by:
beforeInitin interfaceUIHandler<FileEditor>
-
afterInit
public void afterInit(FileEditor ui)
- Specified by:
afterInitin interfaceUIHandler<FileEditor>
-
-