net.aerith.misao.gui
Class FileOperationTable.TableRecord

java.lang.Object
  |
  +--net.aerith.misao.gui.FileOperationTable.TableRecord
Direct Known Subclasses:
HtmlImageGalleryTable.ImageRecord, ImageConversionTable.ImageRecord, InformationTable.InformationRecord, InstructionTable.InstructionRecord
Enclosing class:
FileOperationTable

protected class FileOperationTable.TableRecord
extends java.lang.Object

The TableRecord is a record of a file and the status.


Field Summary
protected  java.io.File file
          The file.
protected  int status
          The status.
protected static int STATUS_DONE
          The status number which indicates the file is operated.
protected static int STATUS_FAILED
          The status number which indicates the file is failed to be operated.
protected static int STATUS_READY
          The status number which indicates the file is ready for the operation.
 
Constructor Summary
FileOperationTable.TableRecord(java.io.File file)
          Construct a TableRecord.
 
Method Summary
 java.io.File getFile()
          Gets the file.
 java.lang.Object getOperationTarget()
          Gets the target of operation.
 int getStatus()
          Gets the status.
 void setFile(java.io.File file)
          Sets the file.
 void setStatus(int status)
          Sets the status.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

file

protected java.io.File file
The file.

status

protected int status
The status.

STATUS_READY

protected static final int STATUS_READY
The status number which indicates the file is ready for the operation.

STATUS_DONE

protected static final int STATUS_DONE
The status number which indicates the file is operated.

STATUS_FAILED

protected static final int STATUS_FAILED
The status number which indicates the file is failed to be operated.
Constructor Detail

FileOperationTable.TableRecord

public FileOperationTable.TableRecord(java.io.File file)
Construct a TableRecord.
Parameters:
file - the file.
Method Detail

getFile

public java.io.File getFile()
Gets the file.
Returns:
the file.

setFile

public void setFile(java.io.File file)
Sets the file.
Parameters:
file - the file.

getStatus

public int getStatus()
Gets the status.
Returns:
the status.

setStatus

public void setStatus(int status)
Sets the status.
Parameters:
status - the status.

getOperationTarget

public java.lang.Object getOperationTarget()
Gets the target of operation.
Returns:
the target of operation.