org.itr_rescue.dataGuard.localFileSystem.view.list
Class ComboBoxCellObject

java.lang.Object
  extended by org.itr_rescue.dataGuard.localFileSystem.view.list.ComboBoxCellObject

public class ComboBoxCellObject
extends java.lang.Object

This is the object that is displayed into the root's combobox. It's toString method returns

Author:
sergiu

Constructor Summary
ComboBoxCellObject(JFMFile file)
           
 
Method Summary
 JFMFile getFile()
           
 void setFile(JFMFile file)
           
 java.lang.String toString()
          Returns the string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComboBoxCellObject

public ComboBoxCellObject(JFMFile file)
Method Detail

getFile

public JFMFile getFile()
Returns:
Returns the file.

setFile

public void setFile(JFMFile file)
Parameters:
file - The file to set.

toString

public java.lang.String toString()
Returns the string representation of this object. if getFile()!=null returns getFile().getPath(), otherwise it returns an empty string.

Overrides:
toString in class java.lang.Object