All Packages This Package Class Hierarchy Class Search Index
Summary |
public interface AppFile extends COM.tolstoy.jconfig.DiskFile { // Fields 26 public static final String copyrightString; public static final int k32BitCompatible; public static final int k68kExe; public static final int kCFM68Exe; public static final int kCanBackground; public static final int kDOSExe; public static final int kDeskAccessory; public static final int kDisplayManagerAware; public static final int kDoesActivateOnFGSwitch; public static final int kDontSwitchLayer; public static final int kGetAppDiedMsg; public static final int kGetFrontClicks; public static final int kHighLevelEventAware; public static final int kLocalAndRemoteHLEvents; public static final int kMultiLaunch; public static final int kNeedSuspendResume; public static final int kOS216Exe; public static final int kOnlyBackground; public static final int kPEFExe; public static final int kPIFExe; public static final int kPOSIXExe; public static final int kStationeryAware; public static final int kUnknownExe; public static final int kUseTextEditServices; public static final int kWOWExe; public static final int kWin32Exe; // Methods 11 public abstract String executableTypeToString(int); public abstract AppCommand[] getAllCommands(); public abstract AppCommand getCommand(String); public abstract int getExecutableType(); public abstract FileType[] getFileTypes(int); public abstract IconBundle getIconBundle(FileType); public abstract AppProcess[] getInstances(); public abstract int getMinimumPartition(); public abstract int getSizeFlags(); public abstract int getSuggestedPartition(); public abstract AppProcess performCommand(AppCommand, int); }
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.
Cross Reference |
Fields |
· copyrightString | Summary | Top |
public static final String copyrightString
· kDontSwitchLayer | Summary | Top |
public static final int kDontSwitchLayer
Used with the performCommand() method.
· kDisplayManagerAware | Summary | Top |
public static final int kDisplayManagerAware
A Mac-specific flag returned by the getSizeFlags method.
· kUseTextEditServices | Summary | Top |
public static final int kUseTextEditServices
A Mac-specific flag returned by the getSizeFlags method.
· kStationeryAware | Summary | Top |
public static final int kStationeryAware
A Mac-specific flag returned by the getSizeFlags method.
· kLocalAndRemoteHLEvents | Summary | Top |
public static final int kLocalAndRemoteHLEvents
A Mac-specific flag returned by the getSizeFlags method.
· kHighLevelEventAware | Summary | Top |
public static final int kHighLevelEventAware
A Mac-specific flag returned by the getSizeFlags method.
· k32BitCompatible | Summary | Top |
public static final int k32BitCompatible
A Mac-specific flag returned by the getSizeFlags method.
· kGetAppDiedMsg | Summary | Top |
public static final int kGetAppDiedMsg
A Mac-specific flag returned by the getSizeFlags method.
· kGetFrontClicks | Summary | Top |
public static final int kGetFrontClicks
A Mac-specific flag returned by the getSizeFlags method.
· kOnlyBackground | Summary | Top |
public static final int kOnlyBackground
A Mac-specific flag returned by the getSizeFlags method.
· kDoesActivateOnFGSwitch | Summary | Top |
public static final int kDoesActivateOnFGSwitch
A Mac-specific flag returned by the getSizeFlags method.
· kCanBackground | Summary | Top |
public static final int kCanBackground
A Mac-specific flag returned by the getSizeFlags method.
· kNeedSuspendResume | Summary | Top |
public static final int kNeedSuspendResume
A Mac-specific flag returned by the getSizeFlags method.
· kMultiLaunch | Summary | Top |
public static final int kMultiLaunch
A Mac-specific flag returned by the getSizeFlags method.
· kDeskAccessory | Summary | Top |
public static final int kDeskAccessory
A Mac-specific flag returned by the getSizeFlags method.
· kWin32Exe | Summary | Top |
public static final int kWin32Exe
Returned by the getExecutableType method.
· kDOSExe | Summary | Top |
public static final int kDOSExe
Returned by the getExecutableType method.
· kWOWExe | Summary | Top |
public static final int kWOWExe
Returned by the getExecutableType method.
· kPIFExe | Summary | Top |
public static final int kPIFExe
Returned by the getExecutableType method.
· kPOSIXExe | Summary | Top |
public static final int kPOSIXExe
Returned by the getExecutableType method.
· kOS216Exe | Summary | Top |
public static final int kOS216Exe
Returned by the getExecutableType method.
· kPEFExe | Summary | Top |
public static final int kPEFExe
Returned by the getExecutableType method.
· kCFM68Exe | Summary | Top |
public static final int kCFM68Exe
Returned by the getExecutableType method.
· k68kExe | Summary | Top |
public static final int k68kExe
Returned by the getExecutableType method.
· kUnknownExe | Summary | Top |
public static final int kUnknownExe
Returned by the getExecutableType method.
Methods |
· getIconBundle | Summary | Top |
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.
· getFileTypes | Summary | Top |
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.
Parameter Description maxToReturn the maximum number of file types requested. The actual number returned may be less or more than the requested amount.
· getCommand | Summary | Top |
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.
· getAllCommands | Summary | Top |
public abstract AppCommand[] getAllCommands()
Returns all the commands which this application can accept.
· performCommand | Summary | Top |
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.
· getInstances | Summary | Top |
public abstract AppProcess[] getInstances()
Returns the set of all instances of this application currently running.
· getExecutableType | Summary | Top |
public abstract int getExecutableType()
Indicates the architecture of this application. Returns one of the preceding constants.
· getSizeFlags | Summary | Top |
public abstract int getSizeFlags()
Mac-specific method which returns the 'SIZE' flags for this application.
· getMinimumPartition | Summary | Top |
public abstract int getMinimumPartition()
Mac-specific method which returns the minimum memory space which an instance of this application would occupy.
· getSuggestedPartition | Summary | Top |
public abstract int getSuggestedPartition()
Mac-specific method which returns the suggested memory space which an instance of this application would occupy.
· executableTypeToString | Summary | Top |
public abstract String executableTypeToString(int f)
Convenience method which converts the return value of getExecutableType() into a string representation.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7