com.ptc.wgmecad
Class FileNode

java.lang.Object
  extended bycom.ptc.wgmecad.FileNode

class FileNode
extends Object


Field Summary
private static ArgumentMap argMap
           
private  boolean brdDesign
           
private  String[] brdexts
           
private  boolean Design
           
(package private) static org.apache.log4j.Logger logger
           
protected  File m_file
           
private  boolean schDesign
           
private  String[] schexts
           
 
Constructor Summary
FileNode(File file)
           
 
Method Summary
 int compareTo(FileNode toCompare)
           
 boolean expand(DefaultMutableTreeNode parent)
           
 boolean getBrdDesign()
           
 boolean getDesign()
           
 File getFile()
           
static ImageIcon getIconType(File newFile)
           
 boolean getSchDesign()
           
 boolean hasSubDirs()
           
 boolean isBRD()
           
 boolean isCPM()
           
protected  File[] listFiles()
           
 void setBrdDesign(boolean _design)
           
 void setDesign(boolean _design)
           
 void setSchDesign(boolean _design)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_file

protected File m_file

schexts

private String[] schexts

brdexts

private String[] brdexts

Design

private boolean Design

schDesign

private boolean schDesign

brdDesign

private boolean brdDesign

argMap

private static ArgumentMap argMap

logger

static org.apache.log4j.Logger logger
Constructor Detail

FileNode

public FileNode(File file)
Method Detail

getFile

public File getFile()

toString

public String toString()

setDesign

public void setDesign(boolean _design)

getDesign

public boolean getDesign()

setSchDesign

public void setSchDesign(boolean _design)

getSchDesign

public boolean getSchDesign()

setBrdDesign

public void setBrdDesign(boolean _design)

getBrdDesign

public boolean getBrdDesign()

isCPM

public boolean isCPM()

isBRD

public boolean isBRD()

expand

public boolean expand(DefaultMutableTreeNode parent)

getIconType

public static ImageIcon getIconType(File newFile)

hasSubDirs

public boolean hasSubDirs()

compareTo

public int compareTo(FileNode toCompare)

listFiles

protected File[] listFiles()