Package | Description |
---|---|
net.pandoragames.far.ui |
The user interface layer.
|
net.pandoragames.far.ui.model |
UI model classes.
|
net.pandoragames.far.ui.swing.component |
Swing UI components.
|
net.pandoragames.far.ui.swing.component.listener |
Listener classes.
|
net.pandoragames.far.ui.swing.dialog |
Various subwindows.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TargetFile> |
UIBean.findFiles(FindFilter criteriaForm)
Uses the "criteria" parameter to configure a
FileSelector
and returns the list of found files. |
java.util.List<TargetFile> |
UIFace.findFiles(FindFilter criteria)
Uses the "criteria" parameter to configure a
FileSelector
and returns the list of found files. |
java.util.List<TargetFile> |
UIBean.rename(java.util.List<TargetFile> fileList,
OverwriteFileCallback callback)
Cycles through the file list and renames each file to the name specified in
the "newName" property, unless the file is not selected or "newName" is empty.
|
java.util.List<TargetFile> |
UIFace.rename(java.util.List<TargetFile> fileList,
OverwriteFileCallback callback)
Cycles through the file list and renames each file to the name specified in
the "newName" property, unless the file is not selected or "newName" is empty.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
UIBean.extract(ExtractForm criteria,
java.util.List<TargetFile> fileList)
Extracts data from the file list as defined by the criteria form and writes the result to some temporary file.
|
java.io.File |
UIFace.extract(ExtractForm criteria,
java.util.List<TargetFile> fileList)
Extracts data from the file list as defined by the criteria form and writes the result to some temporary file.
|
void |
UIBean.filter(java.util.List<TargetFile> fileList,
FindFilter criteriaForm,
boolean removeMismatch)
Uses the content pattern (and associated flags) supplied with the "criteria" to filter the specified file list.
|
void |
UIFace.filter(java.util.List<TargetFile> fileList,
FindFilter criteria,
boolean removeMismatch)
Uses the content pattern (and associated flags) supplied with the "criteria" to filter the specified file list.
|
java.util.List<TargetFile> |
UIBean.rename(java.util.List<TargetFile> fileList,
OverwriteFileCallback callback)
Cycles through the file list and renames each file to the name specified in
the "newName" property, unless the file is not selected or "newName" is empty.
|
java.util.List<TargetFile> |
UIFace.rename(java.util.List<TargetFile> fileList,
OverwriteFileCallback callback)
Cycles through the file list and renames each file to the name specified in
the "newName" property, unless the file is not selected or "newName" is empty.
|
void |
UIBean.replace(ReplacementDescriptor criteriaForm,
java.util.List<TargetFile> fileList)
Uses the "criteria" parameter to configure a
FileMatcher and
applies the defined relacement algorithm to all files
in the list that are marked as "selected" (the default). |
void |
UIFace.replace(ReplacementDescriptor criteria,
java.util.List<TargetFile> fileList)
Uses the "criteria" parameter to configure a
FileMatcher and
applies the defined relacement algorithm to all files
in the list that are marked as "selected" (the default). |
Modifier and Type | Method and Description |
---|---|
TargetFile |
TargetFile.clone()
Returns a copy of this object.
|
TargetFile |
TargetFile.merge(java.io.File file)
Returns a copy of this object but with the underlying file object
replaced with the specified file object.
|
Modifier and Type | Method and Description |
---|---|
int |
TargetFileComparator.compare(TargetFile file1,
TargetFile file2) |
Modifier and Type | Method and Description |
---|---|
TargetFile |
FileSetTableModel.getRow(int rowIndex)
Returns the row object for the specified index.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TargetFile> |
FileSetTableModel.getSelectedRows()
Returns the set of selected rows.
|
java.util.List<TargetFile> |
FileSetTableModel.listRows()
Returns the entire row set
|
Modifier and Type | Method and Description |
---|---|
protected void |
TargetFileListTableCellRenderer.decorate(javax.swing.JLabel renderer,
TargetFile row,
java.lang.Object cellValue)
Basic renderer functionality, handy for inheriting classes.
|
int |
FileSetTableModel.getRowIndex(TargetFile file)
Returns the index of the specified file
in this table or -1 if it is not present.
|
void |
FileSetTableModel.setRow(int rowIndex,
TargetFile row)
Replace the indicated row with the specified new object.
|
Modifier and Type | Method and Description |
---|---|
void |
FileSetTableModel.setFileList(java.util.List<TargetFile> fileList,
java.io.File baseDirectory)
Resets all rows to the elements from the specified List.
|
Constructor and Description |
---|
FileSetTableModel(java.util.List<TargetFile> fileList,
Localizer localizer)
Must be instantiated with a non null file list and a Localizer instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractFileUpdaterListener.execute(TargetFile targetFile) |
protected abstract void |
AbstractFileOperationListener.execute(TargetFile targetFile)
This method will be called for every selected file from the FileSetTableModel.
|
protected abstract boolean |
AbstractFileUpdaterListener.executeForUpdate(TargetFile source,
java.io.File target)
Called to actually perform the desired update operation.
|
void |
ActionPreview.setSelectedFile(TargetFile file)
Sets the File that should be displayd by this Action.
|
void |
ActionView.setSelectedFile(TargetFile file)
Sets the File that should be displayd by this Action.
|
protected abstract void |
AbstractFileUpdaterListener.success(TargetFile targetFile)
Called when the operation could successfully be performed.
|
Modifier and Type | Method and Description |
---|---|
protected TargetFile |
FileViewBase.getTargetFile()
Returns the TargetFile object that encapsulates
the file to be displayed.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FileOperationDialog.addFileList(java.util.List<TargetFile> fileList)
Convinience method for inheriting classes.
|
protected void |
FileOperationDialog.addFileList(java.util.List<TargetFile> fileList,
java.io.File baseDirectory)
Convinience method for inheriting classes.
|
protected void |
FileOperationDialog.refreshList(java.util.List<TargetFile> fileList)
Refreshs the file list with the specified list of files.
|
static void |
FileOperationDialog.treeCopyDialog(java.util.List<TargetFile> toBeCopied,
FileSetTableModel model,
FindForm findForm,
MessageBox sink,
SwingConfig config,
javax.swing.JFrame owner)
Convenience method to create a Tree Copy dialog.
|
Constructor and Description |
---|
FileEditor(javax.swing.JFrame owner,
TargetFile file,
SwingConfig config)
Constructor takes root window, the file to show and a config object.
|
FileView(javax.swing.JFrame owner,
TargetFile file,
FARForm form,
SwingConfig config)
Constructor that takes a FindForm and allows only a view of the matches.
|
FileView(javax.swing.JFrame owner,
TargetFile file,
ReplaceForm form,
SwingConfig config,
boolean preview)
Constructor that takes a ReplaceForm and allows both, view and preview.
|
FileViewBase(javax.swing.JFrame owner,
java.lang.String title,
TargetFile file,
SwingConfig config)
Constructor takes root window, the file to show and a config object.
|
InfoView(javax.swing.JFrame owner,
TargetFile file,
SwingConfig config,
ComponentRepository repository) |
MatchView(javax.swing.JFrame owner,
TargetFile file,
java.io.File baseDir,
SwingConfig config) |
Constructor and Description |
---|
CopyDialog(javax.swing.JFrame owner,
java.lang.String title,
java.util.List<TargetFile> toBeCopied,
FileSetTableModel model,
boolean treeCopy,
FindForm findForm,
MessageBox sink,
SwingConfig config)
Constructor for copy dialog.
|
DeleteDialog(javax.swing.JFrame owner,
java.lang.String title,
java.util.List<TargetFile> toBeDeleted,
FileSetTableModel model,
java.io.File baseDir,
MessageBox sink,
SwingConfig config)
Constructor for delete dialog.
|
MoveDialog(javax.swing.JFrame owner,
java.lang.String title,
java.util.List<TargetFile> toBeMoved,
FileSetTableModel model,
FindForm findForm,
MessageBox sink,
SwingConfig config)
Constructor for move dialog.
|