Interface COM.tolstoy.jconfig.AppFile
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface COM.tolstoy.jconfig.AppFile

public interface AppFile
extends Object
extends DiskFile
Interface for objects which represent an application's disk file. This does not represent a running instance of the application, only the file. Arrays of objects of this class are returned from the 'getApps()' methods of the FileRegistry class.

Variable Index

 o copyrightString
 o k32BitCompatible
A Mac-specific flag returned by the getSizeFlags method.
 o k68kExe
Returned by the getExecutableType method.
 o kCanBackground
A Mac-specific flag returned by the getSizeFlags method.
 o kCFM68Exe
Returned by the getExecutableType method.
 o kDeskAccessory
A Mac-specific flag returned by the getSizeFlags method.
 o kDisplayManagerAware
A Mac-specific flag returned by the getSizeFlags method.
 o kDoesActivateOnFGSwitch
A Mac-specific flag returned by the getSizeFlags method.
 o kDontSwitchLayer
Used with the performCommand() method.
 o kDOSExe
Returned by the getExecutableType method.
 o kGetAppDiedMsg
A Mac-specific flag returned by the getSizeFlags method.
 o kGetFrontClicks
A Mac-specific flag returned by the getSizeFlags method.
 o kHighLevelEventAware
A Mac-specific flag returned by the getSizeFlags method.
 o kLocalAndRemoteHLEvents
A Mac-specific flag returned by the getSizeFlags method.
 o kMultiLaunch
A Mac-specific flag returned by the getSizeFlags method.
 o kNeedSuspendResume
A Mac-specific flag returned by the getSizeFlags method.
 o kOnlyBackground
A Mac-specific flag returned by the getSizeFlags method.
 o kOS216Exe
Returned by the getExecutableType method.
 o kPEFExe
Returned by the getExecutableType method.
 o kPIFExe
Returned by the getExecutableType method.
 o kPOSIXExe
Returned by the getExecutableType method.
 o kStationeryAware
A Mac-specific flag returned by the getSizeFlags method.
 o kUnknownExe
Returned by the getExecutableType method.
 o kUseTextEditServices
A Mac-specific flag returned by the getSizeFlags method.
 o kWin32Exe
Returned by the getExecutableType method.
 o kWOWExe
Returned by the getExecutableType method.

Method Index

 o getAllCommands()
Returns all the commands which this application can accept.
 o getCommand(String)
Returns the indicated command.
 o getExecutableType()
Indicates the architecture of this application.
 o getFileTypes(int)
Returns the set of FileType's which are associated with this application.
 o getIconBundle(FileType)
Returns the IconBundle associated with this application.
 o getInstances()
Returns the set of all instances of this application currently running.
 o getMinimumPartition()
Mac-specific method which returns the minimum memory space which an instance of this application would occupy.
 o getSizeFlags()
Mac-specific method which returns the 'SIZE' flags for this application.
 o getSuggestedPartition()
Mac-specific method which returns the suggested memory space which an instance of this application would occupy.
 o performCommand(AppCommand, int)
Performs the indicated command.

Variables

 o copyrightString
  public final static String copyrightString
 o kDontSwitchLayer
  public final static int kDontSwitchLayer
Used with the performCommand() method.
 o kDisplayManagerAware
  public final static int kDisplayManagerAware
A Mac-specific flag returned by the getSizeFlags method.
 o kUseTextEditServices
  public final static int kUseTextEditServices
A Mac-specific flag returned by the getSizeFlags method.
 o kStationeryAware
  public final static int kStationeryAware
A Mac-specific flag returned by the getSizeFlags method.
 o kLocalAndRemoteHLEvents
  public final static int kLocalAndRemoteHLEvents
A Mac-specific flag returned by the getSizeFlags method.
 o kHighLevelEventAware
  public final static int kHighLevelEventAware
A Mac-specific flag returned by the getSizeFlags method.
 o k32BitCompatible
  public final static int k32BitCompatible
A Mac-specific flag returned by the getSizeFlags method.
 o kGetAppDiedMsg
  public final static int kGetAppDiedMsg
A Mac-specific flag returned by the getSizeFlags method.
 o kGetFrontClicks
  public final static int kGetFrontClicks
A Mac-specific flag returned by the getSizeFlags method.
 o kOnlyBackground
  public final static int kOnlyBackground
A Mac-specific flag returned by the getSizeFlags method.
 o kDoesActivateOnFGSwitch
  public final static int kDoesActivateOnFGSwitch
A Mac-specific flag returned by the getSizeFlags method.
 o kCanBackground
  public final static int kCanBackground
A Mac-specific flag returned by the getSizeFlags method.
 o kNeedSuspendResume
  public final static int kNeedSuspendResume
A Mac-specific flag returned by the getSizeFlags method.
 o kMultiLaunch
  public final static int kMultiLaunch
A Mac-specific flag returned by the getSizeFlags method.
 o kDeskAccessory
  public final static int kDeskAccessory
A Mac-specific flag returned by the getSizeFlags method.
 o kWin32Exe
  public final static int kWin32Exe
Returned by the getExecutableType method.
 o kDOSExe
  public final static int kDOSExe
Returned by the getExecutableType method.
 o kWOWExe
  public final static int kWOWExe
Returned by the getExecutableType method.
 o kPIFExe
  public final static int kPIFExe
Returned by the getExecutableType method.
 o kPOSIXExe
  public final static int kPOSIXExe
Returned by the getExecutableType method.
 o kOS216Exe
  public final static int kOS216Exe
Returned by the getExecutableType method.
 o kPEFExe
  public final static int kPEFExe
Returned by the getExecutableType method.
 o kCFM68Exe
  public final static int kCFM68Exe
Returned by the getExecutableType method.
 o k68kExe
  public final static int k68kExe
Returned by the getExecutableType method.
 o kUnknownExe
  public final static int kUnknownExe
Returned by the getExecutableType method.

Methods

 o getIconBundle
  public abstract IconBundle getIconBundle(FileType ft)
Returns the IconBundle associated with this application. May return null if the application's icons can't be found.
 o getFileTypes
  public abstract FileType[] getFileTypes(int maxToReturn)
Returns the set of FileType's which are associated with this application. May return null if no file types could be determined.
Parameters:
maxToReturn - the maximum number of file types requested. The actual number returned may be less or more than the requested amount.
 o getCommand
  public abstract AppCommand getCommand(String commandName)
Returns the indicated command. The 'commandName' argument is one of the constants defined in the AppCommand interface. If this instance cannot accept commands of the indicated type, null is returned.
After retrieving a command using this method, you can add arguments to it, if desired, and then pass the command to the 'performCommand' method to execute the command.
 o getAllCommands
  public abstract AppCommand[] getAllCommands()
Returns all the commands which this application can accept.
 o performCommand
  public abstract AppProcess performCommand(AppCommand command,
                                            int flags)
Performs the indicated command. If an error occurs, or if that command does not cause the creation of a new instance of the application, returns null. Otherwise, returns an AppProcess object representing the new application instance. To open the instance in the background, OR the flags argument with 'kDontSwitchLayer'. If the command is not one of those recognized by this application, an IllegalArgumentException exception is thrown.
 o getInstances
  public abstract AppProcess[] getInstances()
Returns the set of all instances of this application currently running.
 o getExecutableType
  public abstract int getExecutableType()
Indicates the architecture of this application. Returns one of the preceding constants.
 o getSizeFlags
  public abstract int getSizeFlags()
Mac-specific method which returns the 'SIZE' flags for this application.
 o getMinimumPartition
  public abstract int getMinimumPartition()
Mac-specific method which returns the minimum memory space which an instance of this application would occupy.
 o getSuggestedPartition
  public abstract int getSuggestedPartition()
Mac-specific method which returns the suggested memory space which an instance of this application would occupy.

All Packages  Class Hierarchy  This Package  Previous  Next  Index