com.mizar.adfrichfaces
Class FileNode

java.lang.Object
  extended by com.mizar.adfrichfaces.FileNode

public class FileNode
extends java.lang.Object


Constructor Summary
FileNode(ADFTreeFileHandler handler, java.io.File file)
           
 
Method Summary
 void download(javax.faces.context.FacesContext context, java.io.OutputStream out)
           
 void downloadFile(javax.faces.event.ActionEvent ae)
           
 int getChildCount()
           
 java.util.Collection getChildren()
           
 java.lang.String getDescription()
           
 java.lang.String getExtention()
           
 java.io.File getFile()
           
 java.lang.String getFullPath()
           
 java.lang.String getIcon()
           
 java.lang.String getLastModified()
           
 boolean getNodeIsFile()
           
 boolean getNodeNotEmpty()
           
 java.lang.String getSize()
           
 java.lang.String getTextStyle()
           
 java.lang.String getToolTip()
           
 boolean isDir()
           
 boolean isFileOrEmpDir()
           
 boolean isLoaded()
           
 boolean isNodeSelected()
           
 void menuAction(javax.faces.event.ActionEvent ae)
           
 void setDir(boolean flag)
           
 void setFile(java.io.File file)
           
 void setLoaded(boolean loaded)
           
 void setNodeIsFile(boolean flag)
           
 void setNodeSelected(boolean nodeSelected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileNode

public FileNode(ADFTreeFileHandler handler,
                java.io.File file)
Method Detail

isDir

public boolean isDir()

setDir

public void setDir(boolean flag)

getNodeIsFile

public boolean getNodeIsFile()

setNodeIsFile

public void setNodeIsFile(boolean flag)

isFileOrEmpDir

public boolean isFileOrEmpDir()

getDescription

public java.lang.String getDescription()

getChildren

public java.util.Collection getChildren()

getChildCount

public int getChildCount()

setNodeSelected

public void setNodeSelected(boolean nodeSelected)

menuAction

public void menuAction(javax.faces.event.ActionEvent ae)

downloadFile

public void downloadFile(javax.faces.event.ActionEvent ae)

download

public void download(javax.faces.context.FacesContext context,
                     java.io.OutputStream out)

isNodeSelected

public boolean isNodeSelected()

setFile

public void setFile(java.io.File file)

getFile

public java.io.File getFile()

isLoaded

public boolean isLoaded()

setLoaded

public void setLoaded(boolean loaded)

getExtention

public java.lang.String getExtention()

getSize

public java.lang.String getSize()

getNodeNotEmpty

public boolean getNodeNotEmpty()

getLastModified

public java.lang.String getLastModified()

getFullPath

public java.lang.String getFullPath()

getIcon

public java.lang.String getIcon()

getTextStyle

public java.lang.String getTextStyle()

getToolTip

public java.lang.String getToolTip()