Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.verifiers
Class VerifierDDSOptions

java.lang.Object
  extended by com.ibm.etools.iseries.edit.verifiers.VerifierDDSOptions

public class VerifierDDSOptions
extends Object

This is the class that declares the options for DDS PV. The state data contains two sets, a persistent set, and a derived set. The persistent set is loaded and stored from the preference store. The derived set is a set that is derived from the persistent set, and is formatted specifically for the verifier. The derived set is never saved.


Field Summary
protected  VerifierDDS _verifier
           
static int AFPDS_PRTF_DEV_TYPE
           
 boolean bRefreshCache
           
static String Copyright
           
static int IPDS_PRTF_DEV_TYPE
           
static String PRTF_DEV_TYPE
           
static String PRTF_PAGE_HEIGHT
           
static String PRTF_PAGE_WIDTH
           
static int SCS_PRTF_DEV_TYPE
           
 
Constructor Summary
VerifierDDSOptions(VerifierDDS verifier)
          Constructs the object, and loads the options from the preference store into its state.
 
Method Summary
 int getPageHeight()
          Returns the height of the page
 int getPageWidth()
          Returns the width of the page
 int getPrtfDevType()
          Returns an integer value corresponding to the printer device type.
protected  void loadPreferences()
          Loads the verifier options from the preference store.
 void storePreferences()
          Stores the options back into the preference store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

SCS_PRTF_DEV_TYPE

public static final int SCS_PRTF_DEV_TYPE
See Also:
Constant Field Values

IPDS_PRTF_DEV_TYPE

public static final int IPDS_PRTF_DEV_TYPE
See Also:
Constant Field Values

AFPDS_PRTF_DEV_TYPE

public static final int AFPDS_PRTF_DEV_TYPE
See Also:
Constant Field Values

PRTF_DEV_TYPE

public static final String PRTF_DEV_TYPE
See Also:
Constant Field Values

PRTF_PAGE_HEIGHT

public static final String PRTF_PAGE_HEIGHT
See Also:
Constant Field Values

PRTF_PAGE_WIDTH

public static final String PRTF_PAGE_WIDTH
See Also:
Constant Field Values

bRefreshCache

public boolean bRefreshCache

_verifier

protected VerifierDDS _verifier
Constructor Detail

VerifierDDSOptions

public VerifierDDSOptions(VerifierDDS verifier)
Constructs the object, and loads the options from the preference store into its state. The options are computed from the preferences.

Method Detail

loadPreferences

protected void loadPreferences()
Loads the verifier options from the preference store.


storePreferences

public void storePreferences()
Stores the options back into the preference store


getPrtfDevType

public int getPrtfDevType()
Returns an integer value corresponding to the printer device type. SCS = 1, IPDS = 2, AFPDS = 3

Returns:
int

getPageHeight

public int getPageHeight()
Returns the height of the page

Returns:
int

getPageWidth

public int getPageWidth()
Returns the width of the page

Returns:
int

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.