dbXML API

com.dbxml.db.admin.nodes
Class FileNode

java.lang.Object
  extended bycom.dbxml.db.admin.nodes.AdminNode
      extended bycom.dbxml.db.admin.nodes.FileNode
All Implemented Interfaces:
HasDocWrapper, HasMenu

public final class FileNode
extends AdminNode
implements HasMenu, HasDocWrapper

FileNode


Field Summary
static int ACTION_DELETE
           
static int ACTION_EDIT
           
static int ACTION_XSLT
           
 
Fields inherited from interface com.dbxml.db.admin.nodes.HasMenu
REFRESH_CHILDREN, REFRESH_NONE, REFRESH_PARENT, REFRESH_SELF, REFRESH_TREE, REMOVE_SELF
 
Constructor Summary
FileNode(AdminNode parentNode, java.io.File file)
           
 
Method Summary
 DocWrapper getDocWrapper()
           
 java.io.File getFile()
           
 javax.swing.Icon getIcon()
           
 java.lang.String getLabel()
           
 MenuItem[] getMenu()
           
 java.lang.String getMenuTitle()
           
 int menuAction(int action)
           
 
Methods inherited from class com.dbxml.db.admin.nodes.AdminNode
close, getColor, getFont, getParentNode, getTooltip, isParentMenuInherited, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION_EDIT

public static final int ACTION_EDIT
See Also:
Constant Field Values

ACTION_DELETE

public static final int ACTION_DELETE
See Also:
Constant Field Values

ACTION_XSLT

public static final int ACTION_XSLT
See Also:
Constant Field Values
Constructor Detail

FileNode

public FileNode(AdminNode parentNode,
                java.io.File file)
Method Detail

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in class AdminNode

getFile

public java.io.File getFile()

getIcon

public javax.swing.Icon getIcon()
Overrides:
getIcon in class AdminNode

getDocWrapper

public DocWrapper getDocWrapper()
Specified by:
getDocWrapper in interface HasDocWrapper

getMenuTitle

public java.lang.String getMenuTitle()
Specified by:
getMenuTitle in interface HasMenu
Overrides:
getMenuTitle in class AdminNode

getMenu

public MenuItem[] getMenu()
Specified by:
getMenu in interface HasMenu

menuAction

public int menuAction(int action)
Specified by:
menuAction in interface HasMenu
Overrides:
menuAction in class AdminNode

dbXML API

Copyright (c) 2004 The dbXML Group