net.jqhome.jwps
Interface JWPConstants

All Known Implementing Classes:
__JWPObject, JWPObject

public interface JWPConstants

An interface to organize various constants. If you are using the JWPXXX classes these are the constants you need. The other constant classes in net.jqhome.jwps.data that start with WPS are taken from the actual header files for OS/2. These are used by the native methods and are passed to calls in __JPWXXX objects.

If you are familiar with the WPS C API then you will not find a lot of those constants here. The reason is that they often times are either weirdly named or overloaded (so they do different things at different times depending on the context).

Author:
Jeff Gaynor

Field Summary
static int CCView
          Property key for concurrent views
static int ConfirmActions
           
static int ConfirmAssociationChange
           
static int ConfirmDelete
           
static int ConfirmExtensionChange
           
static int ConfirmFolderDelete
           
static int ConfirmNoDeletes
           
static int CopyAllowed
          Property key for allowing copying of the object
static int createFailIfExists
          For object creation, fail to create a new object if one with the same name as the source exists
static int createReplaceIfExists
          For object creation, replace any object with the same name as the source
static int createUpdateIfExists
          For object creation, update any object with the same name as the source
static int CustomIcon
          Property key for
static int defaultCodepage
          Value that represents the default code page (character set encoding, as Java terms it)
static int DefaultView
          Property key for setting the default view
static int DeleteAllowed
          Property key for allowing the object to be deleted
static int DESKTOP
          For objects whose settings that refer to the desktop
static int DragAllowed
          Property key for allowing the object to be dragged
static int DropAllowed
          Property key for allowing the object to be dropped on other objects
static int DropOnAllowed
          Property key for allowing the object to be a drop target for other objects
static int FALSE
          An integer constant representing false which is used in setting various properties
static int HelpLibrary
          Property key for setting the help library
static int HelpPanel
          Property key for setting the help panel
static int HIDE
          For objects whose settings that refer to hiding
static int IconFile
          Property key for setting the icon of this object from a file
static int IconPosition
          Property key for setting the initial position of the objects icon in an icon view
static java.lang.String idClock
          Object ID for the system clock
static java.lang.String idColorPalette
          Object ID for the colar palette
static java.lang.String idCommandPrompts
          Object ID for the command prompts folder
static java.lang.String idCommandReference
          Object ID for the command reference
static java.lang.String idCountry
          Object ID for the country
static java.lang.String idDesktop
          Object ID for the desktop
static java.lang.String idDrives
          Object ID for drives object
static java.lang.String idFontPalette
          Object ID for the font palette
static java.lang.String idGames
          Object ID for the games folder
static java.lang.String idGlossary
          Object ID for the glossary
static java.lang.String idInformationFolder
          Object ID for the information folder
static java.lang.String idKeyboard
          Object ID for the keyboard
static java.lang.String idLaunchpad
          Object ID for the launchpad
static java.lang.String idMasterHelpIndex
          Object ID for the master help index
static java.lang.String idMinimizedWindowViewer
          Object ID for minimized window viewer
static java.lang.String idMouse
          Object ID for the mouse
static java.lang.String idNetworkFolder
          Object ID for network folder
static java.lang.String idNowhere
          Object ID for nowhere
static java.lang.String idOS2System
          Object ID for the OS/2 system folder
static java.lang.String idProductivityFolder
          Object ID for the productivity folder
static java.lang.String idSchemePalette
          Object ID for the scheme palette
static java.lang.String idShredder
          Object ID for the shredder
static java.lang.String idSound
          Object ID for sound object
static java.lang.String idStartupFolder
          Object ID for the startup folder
static java.lang.String idSystem
          Object ID for system folder
static java.lang.String idSystemEditor
          Object ID for system editor (usually e.exe)
static java.lang.String idSystemSetup
          Object ID for the system setup object
static java.lang.String idTemplates
          Object ID for templates folder
static java.lang.String idTutorial
          Object ID for the tutorial
static int IsTemplate
          Property key for setting the object to be a template
static int IsVisible
          Property key for allowing the object to be visible to the user
static int LockedInPlace
          Property key for locking the object in place in icon views
static int MINIMIZE
          For objects whose settings that refer to minimizing
static int MinimizeButtonAppearance
          Property key for determining the appearance of the minimize or frame control button
static int MinimizeButtonBehavior
          Property key for setting the behavior of the minimize button
static int MoveAllowed
          Property key for allowing the object to be moved
static int ObjectID
          Property key for setting the ID of the object
static int PrintingAllowed
          Property key for allowing the object to be printed
static int RenameAllowed
          Property key for allowing the user to rename the object
static int SETTINGS
          For objects whose settings that refer to their setting notebook
static int SettingsAllowed
          Property key for allowing the user to display the settings notebook for the object
static int ShadowAllowed
          Property key for allowing the user to make shadows of the object
static int ShowActionProgress
           
static int SYSTEM_DEFAULT
          For objects whose settings that refer to the system default
static int Title
          Property key for setting the title of the object
static int TRUE
          An integer constant representing true which is used in setting various properties
static java.lang.String typeAssemblerCode
          Association type for a file containing assembly language source code
static java.lang.String typeBasicCode
          Association type for a file containing Basci source code
static java.lang.String typeBinaryData
          Association type for binary data
static java.lang.String typeBitmap
          Association type for an OS/2 bitmap
static java.lang.String typeCCode
          Association type for a file containing C source code
static java.lang.String typeCobolCode
          Association type for a file containing COBOL source code
static java.lang.String typeDosCommandFile
          Association type for a DOS command file (.bat is usual extension)
static java.lang.String typeDynamicLinkLibrary
          Association type for a dynalic link library (DLL)
static java.lang.String typeExecutable
          Association type for and executable file
static java.lang.String typeFortranCode
          Association type for a file containing Fortrain source code
static java.lang.String typeIcon
          Association type for an OS/2 icon
static java.lang.String typeJavaCode
          Association type for a file containing Java source code
static java.lang.String typeLibrary
          Association type for a finle containing a library
static java.lang.String typeMetafile
          Association type for a metafile
static java.lang.String typeObjectCode
          Association type for a file containing object code
static java.lang.String typeOS2CommandFile
          Association type for an OS/2 command file (.cmd is usual extension)
static java.lang.String typePascalCode
          Association type for a file containing Pascal source code
static java.lang.String typePlainText
          Association type for plain text
static java.lang.String typeResourceFile
          Association type for a resource file
static int VIEWER
          For objects whose settings that refer to the minimized window viewer
static int ViewOpenAndRun
          Execute the JWPProgram or JWPProgramFile object.
static int ViewOpenAuto
          JWPDisk view setting: open the auto view
static int ViewOpenDefault
          JWPObject view setting: open the default view for the class
static int ViewOpenDetails
          JWPFolder view setting: open the details view
static int ViewOpenHelp
          JWPObject view setting: open the help view
static int ViewOpenIcon
          JWPFolder view setting: open the icon view
static int ViewOpenPalette
          JWPPalette view setting: open the palette
static int ViewOpenPromptDialog
          JWPPalette view setting: open the prompt dialog for the palette
static int ViewOpenSettingsNotebook
          JWPObject view setting: open the settings notebook
static int ViewOpenTree
          JWPFolder view setting: open the tree view
static int ViewUserMinimum
          This is the minimum value that a user defined view can have.
 

Field Detail

FALSE

public static final int FALSE
An integer constant representing false which is used in setting various properties

See Also:
Constant Field Values

TRUE

public static final int TRUE
An integer constant representing true which is used in setting various properties

See Also:
Constant Field Values

DESKTOP

public static final int DESKTOP
For objects whose settings that refer to the desktop

See Also:
Constant Field Values

HIDE

public static final int HIDE
For objects whose settings that refer to hiding

See Also:
Constant Field Values

MINIMIZE

public static final int MINIMIZE
For objects whose settings that refer to minimizing

See Also:
Constant Field Values

SETTINGS

public static final int SETTINGS
For objects whose settings that refer to their setting notebook

See Also:
Constant Field Values

SYSTEM_DEFAULT

public static final int SYSTEM_DEFAULT
For objects whose settings that refer to the system default

See Also:
Constant Field Values

VIEWER

public static final int VIEWER
For objects whose settings that refer to the minimized window viewer

See Also:
Constant Field Values

createFailIfExists

public static final int createFailIfExists
For object creation, fail to create a new object if one with the same name as the source exists

See Also:
Constant Field Values

createReplaceIfExists

public static final int createReplaceIfExists
For object creation, replace any object with the same name as the source

See Also:
Constant Field Values

createUpdateIfExists

public static final int createUpdateIfExists
For object creation, update any object with the same name as the source

See Also:
Constant Field Values

CCView

public static final int CCView
Property key for concurrent views

See Also:
Constant Field Values

CopyAllowed

public static final int CopyAllowed
Property key for allowing copying of the object

See Also:
Constant Field Values

CustomIcon

public static final int CustomIcon
Property key for

See Also:
Constant Field Values

DefaultView

public static final int DefaultView
Property key for setting the default view

See Also:
Constant Field Values

DeleteAllowed

public static final int DeleteAllowed
Property key for allowing the object to be deleted

See Also:
Constant Field Values

DragAllowed

public static final int DragAllowed
Property key for allowing the object to be dragged

See Also:
Constant Field Values

DropAllowed

public static final int DropAllowed
Property key for allowing the object to be dropped on other objects

See Also:
Constant Field Values

DropOnAllowed

public static final int DropOnAllowed
Property key for allowing the object to be a drop target for other objects

See Also:
Constant Field Values

HelpLibrary

public static final int HelpLibrary
Property key for setting the help library

See Also:
Constant Field Values

HelpPanel

public static final int HelpPanel
Property key for setting the help panel

See Also:
Constant Field Values

IconFile

public static final int IconFile
Property key for setting the icon of this object from a file

See Also:
Constant Field Values

IconPosition

public static final int IconPosition
Property key for setting the initial position of the objects icon in an icon view

See Also:
Constant Field Values

IsVisible

public static final int IsVisible
Property key for allowing the object to be visible to the user

See Also:
Constant Field Values

IsTemplate

public static final int IsTemplate
Property key for setting the object to be a template

See Also:
Constant Field Values

LockedInPlace

public static final int LockedInPlace
Property key for locking the object in place in icon views

See Also:
Constant Field Values

MinimizeButtonAppearance

public static final int MinimizeButtonAppearance
Property key for determining the appearance of the minimize or frame control button

See Also:
Constant Field Values

MinimizeButtonBehavior

public static final int MinimizeButtonBehavior
Property key for setting the behavior of the minimize button

See Also:
Constant Field Values

MoveAllowed

public static final int MoveAllowed
Property key for allowing the object to be moved

See Also:
Constant Field Values

PrintingAllowed

public static final int PrintingAllowed
Property key for allowing the object to be printed

See Also:
Constant Field Values

RenameAllowed

public static final int RenameAllowed
Property key for allowing the user to rename the object

See Also:
Constant Field Values

SettingsAllowed

public static final int SettingsAllowed
Property key for allowing the user to display the settings notebook for the object

See Also:
Constant Field Values

ShadowAllowed

public static final int ShadowAllowed
Property key for allowing the user to make shadows of the object

See Also:
Constant Field Values

Title

public static final int Title
Property key for setting the title of the object

See Also:
Constant Field Values

ConfirmNoDeletes

public static final int ConfirmNoDeletes
See Also:
Constant Field Values

ConfirmDelete

public static final int ConfirmDelete
See Also:
Constant Field Values

ConfirmFolderDelete

public static final int ConfirmFolderDelete
See Also:
Constant Field Values

ConfirmExtensionChange

public static final int ConfirmExtensionChange
See Also:
Constant Field Values

ConfirmAssociationChange

public static final int ConfirmAssociationChange
See Also:
Constant Field Values

ConfirmActions

public static final int ConfirmActions
See Also:
Constant Field Values

ShowActionProgress

public static final int ShowActionProgress
See Also:
Constant Field Values

ObjectID

public static final int ObjectID
Property key for setting the ID of the object

See Also:
Constant Field Values

idClock

public static final java.lang.String idClock
Object ID for the system clock

See Also:
Constant Field Values

idColorPalette

public static final java.lang.String idColorPalette
Object ID for the colar palette

See Also:
Constant Field Values

idCommandReference

public static final java.lang.String idCommandReference
Object ID for the command reference

See Also:
Constant Field Values

idCountry

public static final java.lang.String idCountry
Object ID for the country

See Also:
Constant Field Values

idDesktop

public static final java.lang.String idDesktop
Object ID for the desktop

See Also:
Constant Field Values

idDrives

public static final java.lang.String idDrives
Object ID for drives object

See Also:
Constant Field Values

idFontPalette

public static final java.lang.String idFontPalette
Object ID for the font palette

See Also:
Constant Field Values

idGames

public static final java.lang.String idGames
Object ID for the games folder

See Also:
Constant Field Values

idGlossary

public static final java.lang.String idGlossary
Object ID for the glossary

See Also:
Constant Field Values

idKeyboard

public static final java.lang.String idKeyboard
Object ID for the keyboard

See Also:
Constant Field Values

idInformationFolder

public static final java.lang.String idInformationFolder
Object ID for the information folder

See Also:
Constant Field Values

idLaunchpad

public static final java.lang.String idLaunchpad
Object ID for the launchpad

See Also:
Constant Field Values

idMasterHelpIndex

public static final java.lang.String idMasterHelpIndex
Object ID for the master help index

See Also:
Constant Field Values

idMouse

public static final java.lang.String idMouse
Object ID for the mouse

See Also:
Constant Field Values

idNetworkFolder

public static final java.lang.String idNetworkFolder
Object ID for network folder

See Also:
Constant Field Values

idNowhere

public static final java.lang.String idNowhere
Object ID for nowhere

See Also:
Constant Field Values

idOS2System

public static final java.lang.String idOS2System
Object ID for the OS/2 system folder

See Also:
Constant Field Values

idCommandPrompts

public static final java.lang.String idCommandPrompts
Object ID for the command prompts folder

See Also:
Constant Field Values

idSchemePalette

public static final java.lang.String idSchemePalette
Object ID for the scheme palette

See Also:
Constant Field Values

idShredder

public static final java.lang.String idShredder
Object ID for the shredder

See Also:
Constant Field Values

idSound

public static final java.lang.String idSound
Object ID for sound object

See Also:
Constant Field Values

idStartupFolder

public static final java.lang.String idStartupFolder
Object ID for the startup folder

See Also:
Constant Field Values

idSystem

public static final java.lang.String idSystem
Object ID for system folder

See Also:
Constant Field Values

idSystemEditor

public static final java.lang.String idSystemEditor
Object ID for system editor (usually e.exe)

See Also:
Constant Field Values

idSystemSetup

public static final java.lang.String idSystemSetup
Object ID for the system setup object

See Also:
Constant Field Values

idTemplates

public static final java.lang.String idTemplates
Object ID for templates folder

See Also:
Constant Field Values

idProductivityFolder

public static final java.lang.String idProductivityFolder
Object ID for the productivity folder

See Also:
Constant Field Values

idTutorial

public static final java.lang.String idTutorial
Object ID for the tutorial

See Also:
Constant Field Values

idMinimizedWindowViewer

public static final java.lang.String idMinimizedWindowViewer
Object ID for minimized window viewer

See Also:
Constant Field Values

ViewOpenSettingsNotebook

public static final int ViewOpenSettingsNotebook
JWPObject view setting: open the settings notebook

See Also:
Constant Field Values

ViewOpenDefault

public static final int ViewOpenDefault
JWPObject view setting: open the default view for the class

See Also:
Constant Field Values

ViewOpenHelp

public static final int ViewOpenHelp
JWPObject view setting: open the help view

See Also:
Constant Field Values

ViewOpenIcon

public static final int ViewOpenIcon
JWPFolder view setting: open the icon view

See Also:
Constant Field Values

ViewOpenDetails

public static final int ViewOpenDetails
JWPFolder view setting: open the details view

See Also:
Constant Field Values

ViewOpenTree

public static final int ViewOpenTree
JWPFolder view setting: open the tree view

See Also:
Constant Field Values

ViewOpenAuto

public static final int ViewOpenAuto
JWPDisk view setting: open the auto view

See Also:
Constant Field Values

ViewOpenPalette

public static final int ViewOpenPalette
JWPPalette view setting: open the palette

See Also:
Constant Field Values

ViewOpenPromptDialog

public static final int ViewOpenPromptDialog
JWPPalette view setting: open the prompt dialog for the palette

See Also:
Constant Field Values

ViewOpenAndRun

public static final int ViewOpenAndRun
Execute the JWPProgram or JWPProgramFile object.

See Also:
Constant Field Values

ViewUserMinimum

public static final int ViewUserMinimum
This is the minimum value that a user defined view can have. That is to say, a new view should be given a value greater than this. Generally specifying a view that is not understood by an object is just ignored though. OS/2 has no mechanism for telling us if an invalid view is requested.

See Also:
Constant Field Values

typePlainText

public static final java.lang.String typePlainText
Association type for plain text

See Also:
Constant Field Values

typeOS2CommandFile

public static final java.lang.String typeOS2CommandFile
Association type for an OS/2 command file (.cmd is usual extension)

See Also:
Constant Field Values

typeDosCommandFile

public static final java.lang.String typeDosCommandFile
Association type for a DOS command file (.bat is usual extension)

See Also:
Constant Field Values

typeExecutable

public static final java.lang.String typeExecutable
Association type for and executable file

See Also:
Constant Field Values

typeMetafile

public static final java.lang.String typeMetafile
Association type for a metafile

See Also:
Constant Field Values

typeBitmap

public static final java.lang.String typeBitmap
Association type for an OS/2 bitmap

See Also:
Constant Field Values

typeIcon

public static final java.lang.String typeIcon
Association type for an OS/2 icon

See Also:
Constant Field Values

typeBinaryData

public static final java.lang.String typeBinaryData
Association type for binary data

See Also:
Constant Field Values

typeDynamicLinkLibrary

public static final java.lang.String typeDynamicLinkLibrary
Association type for a dynalic link library (DLL)

See Also:
Constant Field Values

typeCCode

public static final java.lang.String typeCCode
Association type for a file containing C source code

See Also:
Constant Field Values

typeJavaCode

public static final java.lang.String typeJavaCode
Association type for a file containing Java source code

See Also:
Constant Field Values

typePascalCode

public static final java.lang.String typePascalCode
Association type for a file containing Pascal source code

See Also:
Constant Field Values

typeBasicCode

public static final java.lang.String typeBasicCode
Association type for a file containing Basci source code

See Also:
Constant Field Values

typeCobolCode

public static final java.lang.String typeCobolCode
Association type for a file containing COBOL source code

See Also:
Constant Field Values

typeFortranCode

public static final java.lang.String typeFortranCode
Association type for a file containing Fortrain source code

See Also:
Constant Field Values

typeAssemblerCode

public static final java.lang.String typeAssemblerCode
Association type for a file containing assembly language source code

See Also:
Constant Field Values

typeLibrary

public static final java.lang.String typeLibrary
Association type for a finle containing a library

See Also:
Constant Field Values

typeResourceFile

public static final java.lang.String typeResourceFile
Association type for a resource file

See Also:
Constant Field Values

typeObjectCode

public static final java.lang.String typeObjectCode
Association type for a file containing object code

See Also:
Constant Field Values

defaultCodepage

public static final int defaultCodepage
Value that represents the default code page (character set encoding, as Java terms it)

See Also:
Constant Field Values