IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.gui
Class Settings

java.lang.Object
  extended bycom.ibm.dse.gui.Settings

public class Settings
extends java.lang.Object

Class that holds the values related to font, special keys, SGML lists and color properties for visual beans.


Field Summary
static java.lang.String BOTH_DIRECTION
          A BOTH value means the context is updated from the screen value and vice versa.
static java.lang.String COMPID
          Component Identifier for trace system.
protected static java.lang.String[] contextList
          Available Context List
protected static java.lang.String[] formatList
          Available Format List
static java.lang.String INPUT_DIRECTION
          An INPUT value means the context is updated from the screen value but no vice versa (so, 'refreshDataExchangers()' method doesn't care about components with 'dataDirection'=input
static int NOKEY
          Value when no key is defined
static int NOMASK
          Value when no mask is defined
protected static java.lang.String[] operationList
          Available Operation List.
static java.lang.String OUTPUT_DIRECTION
          An OUTPUT value means the screen is updated from the value in the context, but no vice versa (so, 'OperationPanel.handleDataChanged()' doesn't care about components with 'dataDirection'=output).
protected static java.util.Hashtable propertyList
          Table for Visual Beans Properties.
protected static java.util.Vector selfDefined
          Available SelfDefinedOperation List.
 
Constructor Summary
Settings()
          This constructor creates a Settings object.
 
Method Summary
static java.lang.Object executeMethod(java.lang.String methodName, java.lang.Class[] args, java.lang.Object[] parms)
          Executes a method en the real settings class.
static int getBackTabKeyCode()
          Deprecated. Use getValueAt("backTabKeyCode");
static int getBackTabMask()
          Deprecated. Use getValueAt("backTabMask")
static java.awt.Color getCaretColor()
          Deprecated. Use getValueAt("caretColor");
static java.lang.String[] getComposedDataNamesContext(java.lang.String contextName)
          Gets the Composed Data Names list property value.
static java.lang.String[] getComposedDataNamesOperation(java.lang.String operationName)
          Gets the Composed Data Names list property value.
static java.lang.String[] getContextList()
          This method returns the Context list property value.
static java.lang.String getDSEIniPath()
          Gets the dse.ini file path.
static java.awt.Color getErrorBackgroundColor()
          Deprecated. Use getValueAt("errorBackgroundColor")
static java.awt.Color getErrorForegroundColor()
          Deprecated. Use getValueAt("errorForegroundColor")
static java.lang.String[] getFormatList()
          This method returns the Format list property value.
static int getHelpKeyCode()
          Deprecated. Use getValueAt("helpKeyCode")
static int getHelpMask()
          Deprecated. Use getValueAt("helpMask")
static java.lang.String[] getIndexedColumnsFromContext(java.lang.String indexedName, java.lang.String ctxName)
          Gets the inner elements (data fields) of the indexed collection in a Context
static java.lang.String[] getIndexedColumnsFromOperation(java.lang.String indexedName, java.lang.String operName)
          Gets the inner elements (data fields) of the indexed collection in a Operation Context
static java.lang.String[] getIndexedDataNamesContext(java.lang.String contextName)
          Gets the Indexed Data Names list property value.
static java.lang.String[] getIndexedDataNamesOperation(java.lang.String operationName)
          Gets the Indexed Data Names list property value.
static java.lang.String[] getKeyedDataNamesContext(java.lang.String contextName)
          Gets the Keyed Data Names list property value.
static java.lang.String[] getKeyedDataNamesOperation(java.lang.String operationName)
          Gets the Keyed Data Names list property value.
static java.awt.Color getLabelForeground()
          Deprecated. Use GetValueAt("labelForeground");
static java.awt.Color getMandatoryBackgroundColor()
          Deprecated. Use getValueAt("mandatoryBackgroundColor")
static java.awt.Color getMandatoryForegroundColor()
          Deprecated. Use getValueAt("mandatoryForegroundColor");
static java.awt.Color getNonEditableBackgroundColor()
          Deprecated. Use getValueAt("nonEditableBackgroundColor")
static java.awt.Color getNonEditableForegroundColor()
          Deprecated. Use getValueAt("nonEditableForegroundColor")
static java.awt.Color getNonEnabledBackgroundColor()
          Deprecated. Use getValueAt("nonEnabledBackgroundColor");
static java.awt.Color getNonEnabledForegroundColor()
          Deprecated. Use getValueAt("nonEnabledForegroundColor")
static int getOkKeyCode()
          Deprecated. Use getValueAt("okKeyCode");
static int getOkMask()
          Deprecated. Use getValueAt("okMask");
static java.lang.String[] getOperationList()
          Gets the Operation list property value.
static java.awt.Color getOptionalBackgroundColor()
          Gets the Optional Background color property value.
static java.awt.Color getOptionalForegroundColor()
          Deprecated. Use getValueAt("optionalForegroundColor");
static java.awt.Color getSelectionBackgroundColor()
          Deprecated. Use getValueAt("selectionBackgroundColor");
static java.awt.Color getSelectionForegroundColor()
          Deprecated. Use getValueAt("selectionForegroundColor")
static java.lang.Object getSelfDefinedAttributes(java.lang.String operationName, java.lang.String attribute)
          Gets the SelfDefinedAttributes list property value.
static java.util.Vector getSelfDefinedOperationList()
          Gets the SelDefinedOperation list property value.
static java.lang.String getSettingsClassName()
          Gets the default Settings class name value.
static java.lang.String[] getSimpleDataNamesContext(java.lang.String contextName)
          Gets the Simple Data Names list property value.
static java.lang.String[] getSimpleDataNamesOperation(java.lang.String operationName)
          Gets the Simple Data Names list property value.
static java.awt.Font getStandardFont()
          Deprecated. Use getValueAt("standardFont");
static int getTabKeyCode()
          Deprecated. Use getValueAt("tabKeyCode");
static int getTabMask()
          Deprecated. Use getValueAt("tabMask")
static java.lang.Object getValueAt(java.lang.String propertyName)
          Gets the property (its name is "propertyName") from the property list.
static void initialize()
          Initializes settings class
static boolean isBackTabKey(java.awt.event.KeyEvent e)
          Checks if the event passed as argument correspond to the back tab key event.
static boolean isHelpKey(java.awt.event.KeyEvent e)
          Checks if the event passed as argument correspond to the help key event.
static boolean isOkKey(java.awt.event.KeyEvent e)
          Checks if the event passed as argument correspond to the ok key event.
static boolean isSpecialKey(java.awt.event.KeyEvent e)
          Checks if the event passed as argument correspond to an special key event.
static boolean isTabKey(java.awt.event.KeyEvent e)
          Checks if the event passed as argument correspond to the tab key event.
static void setBackTabKey(int code)
          Deprecated. Use setValueAt("backTabKeyCode",new Integer(code))
static void setBackTabKeyCode(int code)
          Deprecated. Use setValueAt("backTabKeyCode",new Integer(code));
static void setBackTabMask(int code)
          Deprecated. Use setValueAt("backTabMask",new Integer(code));
static void setCaretColor(java.awt.Color c)
          Deprecated. use setValueAt("caretColor",c)
static void setDSEIniPath(java.lang.String Path)
          Sets dse.ini file path property (String) value.
static void setErrorBackgroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("errorBackgroundColor",c);
static void setErrorForegroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("errorForegroundColor",c);
static void setHelpKeyCode(int code)
          Deprecated. Use setValueAt("helpKeyCode",new Integer(code));
static void setHelpMask(int code)
          Deprecated. Use setValueAt("helpMask",new Integer(code));
static void setLabelForeground(java.awt.Color c)
          Deprecated. Use setValueAt("labelForeground",c)
static void setMandatoryBackgroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("mandatoryBackgroundColor",c);
static void setMandatoryForegroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("mandatoryForegroundColor",c)
static void setNonEditableBackgroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("nonEditableBackgroundColor",c)
static void setNonEditableForegroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("nonEditableForegroundColor",c)
static void setNonEnabledBackgroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("nonEnabledBackgroundColor",c)
static void setNonEnabledForegroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("nonEnabledForegroundColor",c)
static void setOkKeyCode(int code)
          Deprecated. Use setValueAt("okKeyCode",new Integer(code))
static void setOkMask(int code)
          Deprecated. Use setValueAt("okMask",new Integer(code));
static void setOptionalBackgroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("optionalBackgroundColor",c)
static void setOptionalForegroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("optionalForegroundColor",tmpCol)
static void setSelectionBackgroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("selectionBackgroundColor",c)
static void setSelectionForegroundColor(java.awt.Color c)
          Deprecated. Use setValueAt("selectionForegroundColor",c)
static void setStandardFont(java.awt.Font f)
          Deprecated. Use setValueAt("standardFont",f)
static void setTabKeyCode(int code)
          Deprecated. Use setValueAt("tabKeyCode",new Integer(code))
static void setTabMask(int code)
          Deprecated. Use setValueAt("tabMask",new Integer(code))
static java.lang.Object setValueAt(java.lang.String propertyName, java.lang.Object value)
          Sets the property (its name is "propertyName") to the property list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyList

protected static java.util.Hashtable propertyList
Table for Visual Beans Properties.


selfDefined

protected static java.util.Vector selfDefined
Available SelfDefinedOperation List.


operationList

protected static java.lang.String[] operationList
Available Operation List.


contextList

protected static java.lang.String[] contextList
Available Context List


formatList

protected static java.lang.String[] formatList
Available Format List


COMPID

public static final java.lang.String COMPID
Component Identifier for trace system.

See Also:
Constant Field Values

NOKEY

public static final int NOKEY
Value when no key is defined

See Also:
Constant Field Values

NOMASK

public static final int NOMASK
Value when no mask is defined

See Also:
Constant Field Values

INPUT_DIRECTION

public static final java.lang.String INPUT_DIRECTION
An INPUT value means the context is updated from the screen value but no vice versa (so, 'refreshDataExchangers()' method doesn't care about components with 'dataDirection'=input

See Also:
Constant Field Values

OUTPUT_DIRECTION

public static final java.lang.String OUTPUT_DIRECTION
An OUTPUT value means the screen is updated from the value in the context, but no vice versa (so, 'OperationPanel.handleDataChanged()' doesn't care about components with 'dataDirection'=output).

See Also:
Constant Field Values

BOTH_DIRECTION

public static final java.lang.String BOTH_DIRECTION
A BOTH value means the context is updated from the screen value and vice versa.

See Also:
Constant Field Values
Constructor Detail

Settings

public Settings()
This constructor creates a Settings object.

Method Detail

executeMethod

public static java.lang.Object executeMethod(java.lang.String methodName,
                                             java.lang.Class[] args,
                                             java.lang.Object[] parms)
Executes a method en the real settings class.


getBackTabKeyCode

public static int getBackTabKeyCode()
Deprecated. Use getValueAt("backTabKeyCode");

Gets the Back Tab Key Code property value.

Returns:
int - Back Tab Key Code property.

getBackTabMask

public static int getBackTabMask()
Deprecated. Use getValueAt("backTabMask")

Gets the Back Tab Mask property value.

Returns:
int - Back Tab Mask property.

getCaretColor

public static java.awt.Color getCaretColor()
Deprecated. Use getValueAt("caretColor");

Gets the Caret color property value.

Returns:
java.awt.Color - Caret color property

getComposedDataNamesContext

public static java.lang.String[] getComposedDataNamesContext(java.lang.String contextName)
Gets the Composed Data Names list property value. Composed Data Names list are all "icol" and "kcol" found in the reposotory and they are inside a context (or their parents)

Parameters:
contextName - java.lang.String The name of the initial context
Returns:
java.lang.String[] The list of the composed data

getComposedDataNamesOperation

public static java.lang.String[] getComposedDataNamesOperation(java.lang.String operationName)
Gets the Composed Data Names list property value. Composed Data Names list are all "icol" and "kcol" found in the repository and they are inside a context (or their parents)

Parameters:
operationName - java.lang.String
Returns:
java.lang.String[]

getContextList

public static java.lang.String[] getContextList()
This method returns the Context list property value. The context list are all context name found in the reposotory.

Returns:
java.lang.String[] the list of the contexts

getDSEIniPath

public static java.lang.String getDSEIniPath()
Gets the dse.ini file path.

Returns:
java.lang.String dse.ini file path.

getErrorBackgroundColor

public static java.awt.Color getErrorBackgroundColor()
Deprecated. Use getValueAt("errorBackgroundColor")

Gets the Error Background color property value.

Returns:
java.awt.Color - Error Background color property

getErrorForegroundColor

public static java.awt.Color getErrorForegroundColor()
Deprecated. Use getValueAt("errorForegroundColor")

Gets the Error Foreground color property value.

Returns:
java.awt.Color - Error Foreground color property

getFormatList

public static java.lang.String[] getFormatList()
This method returns the Format list property value. The format list are all format name found in the reposotory.

Returns:
java.lang.String[] the list of the contexts

getHelpKeyCode

public static int getHelpKeyCode()
Deprecated. Use getValueAt("helpKeyCode")

Gets the Help Key Code property value.

Returns:
int - Help Key Code property.

getHelpMask

public static int getHelpMask()
Deprecated. Use getValueAt("helpMask")

Gets the Help Mask property value.

Returns:
int - Help Mask property.

getIndexedColumnsFromContext

public static java.lang.String[] getIndexedColumnsFromContext(java.lang.String indexedName,
                                                              java.lang.String ctxName)
Gets the inner elements (data fields) of the indexed collection in a Context

Parameters:
indexedName - java.lang.String the name of the iColl
ctxName - java.lang.String the context name where is the iColl
Returns:
java.lang.String[] the list of the data fields

getIndexedColumnsFromOperation

public static java.lang.String[] getIndexedColumnsFromOperation(java.lang.String indexedName,
                                                                java.lang.String operName)
Gets the inner elements (data fields) of the indexed collection in a Operation Context

Parameters:
indexedName - java.lang.String the name of the iColl
operName - java.lang.String the operation name where is the iColl
Returns:
java.lang.String[] the list of the data fields

getIndexedDataNamesContext

public static java.lang.String[] getIndexedDataNamesContext(java.lang.String contextName)
Gets the Indexed Data Names list property value. Indexed Data Names list are all "icol" found in the reposotory and they are inside a context (or their parents).

Parameters:
contextName - java.lang.String the initial context
Returns:
java.lang.String[] the list of the iColls

getIndexedDataNamesOperation

public static java.lang.String[] getIndexedDataNamesOperation(java.lang.String operationName)
Gets the Indexed Data Names list property value. Indexed Data Names list are all "icol" found in the reposotory and they are inside a operation context (or their parents).

Parameters:
operationName - java.lang.String the initial operation
Returns:
java.lang.String[] the list of the iColls

getKeyedDataNamesContext

public static java.lang.String[] getKeyedDataNamesContext(java.lang.String contextName)
Gets the Keyed Data Names list property value. Keyed Data Names list are all "kcol" found in the reposotory and they are inside a context (or their parents).

Parameters:
contextName - java.lang.String the initial context
Returns:
java.lang.String[] the list of the kColls

getKeyedDataNamesOperation

public static java.lang.String[] getKeyedDataNamesOperation(java.lang.String operationName)
Gets the Keyed Data Names list property value. Keyed Data Names list are all "kcol" found in the reposotory and they are inside a operation context (or their parents).

Parameters:
operationName - java.lang.String the initial operation
Returns:
java.lang.String[] the list of the kColls

getLabelForeground

public static java.awt.Color getLabelForeground()
Deprecated. Use GetValueAt("labelForeground");

Gets the Label Foreground color property value.

Returns:
java.awt.Color - Label Foreground color property

getMandatoryBackgroundColor

public static java.awt.Color getMandatoryBackgroundColor()
Deprecated. Use getValueAt("mandatoryBackgroundColor")

Gets the Mandatory Background color property value.

Returns:
java.awt.Color - Mandatory Background color property

getMandatoryForegroundColor

public static java.awt.Color getMandatoryForegroundColor()
Deprecated. Use getValueAt("mandatoryForegroundColor");

Gets the Mandatory Foreground color property value.

Returns:
java.awt.Color - Mandatory Foreground color property

getNonEditableBackgroundColor

public static java.awt.Color getNonEditableBackgroundColor()
Deprecated. Use getValueAt("nonEditableBackgroundColor")

Gets the Non Editable Background color property value.

Returns:
java.awt.Color - Non Editable Background color property

getNonEditableForegroundColor

public static java.awt.Color getNonEditableForegroundColor()
Deprecated. Use getValueAt("nonEditableForegroundColor")

Gets the Non Editable Foreground color property value.

Returns:
java.awt.Color - Non Editable Foreground color property

getNonEnabledBackgroundColor

public static java.awt.Color getNonEnabledBackgroundColor()
Deprecated. Use getValueAt("nonEnabledBackgroundColor");

Gets the Non Enabled Background color property value.

Returns:
java.awt.Color - Non Enabled Background color property

getNonEnabledForegroundColor

public static java.awt.Color getNonEnabledForegroundColor()
Deprecated. Use getValueAt("nonEnabledForegroundColor")

Gets the Non Enabled Foreground color property value.

Returns:
java.awt.Color - Non Enabled Foreground color property

getOkKeyCode

public static int getOkKeyCode()
Deprecated. Use getValueAt("okKeyCode");

Gets the Ok Key Code property value from String. In java.awt.event.KeyEvent there are defined the virtual key codes, these are key code names (VK_ENTER, VK_BACK_SPACE, VK_TAB...)

Returns:
int - Ok Key Code property.

getOkMask

public static int getOkMask()
Deprecated. Use getValueAt("okMask");

Gets the Ok Mask property value.

Returns:
int - Ok Mask property.

getOperationList

public static java.lang.String[] getOperationList()
Gets the Operation list property value. Operation list are all operations name found in SGML files.

Returns:
String[] - Operation list.

getOptionalBackgroundColor

public static java.awt.Color getOptionalBackgroundColor()
Gets the Optional Background color property value.

Returns:
java.awt.Color - Optional Background color property

getOptionalForegroundColor

public static java.awt.Color getOptionalForegroundColor()
Deprecated. Use getValueAt("optionalForegroundColor");

Gets the Optional Foreground color property value.

Returns:
java.awt.Color - Optional Foreground color property

getSelectionBackgroundColor

public static java.awt.Color getSelectionBackgroundColor()
Deprecated. Use getValueAt("selectionBackgroundColor");

Gets the Selection Background color property value.

Returns:
java.awt.Color - Selection Background color property

getSelectionForegroundColor

public static java.awt.Color getSelectionForegroundColor()
Deprecated. Use getValueAt("selectionForegroundColor")

Gets the Selection Foreground color property value.

Returns:
java.awt.Color - Selection Foreground color property

getSelfDefinedAttributes

public static java.lang.Object getSelfDefinedAttributes(java.lang.String operationName,
                                                        java.lang.String attribute)
Gets the SelfDefinedAttributes list property value.


getSelfDefinedOperationList

public static java.util.Vector getSelfDefinedOperationList()
Gets the SelDefinedOperation list property value. Operation list are all operations name

Returns:
Vector - Operation list.

getSettingsClassName

public static java.lang.String getSettingsClassName()
Gets the default Settings class name value.

Returns:
java.lang.String - Default settings class name

getSimpleDataNamesContext

public static java.lang.String[] getSimpleDataNamesContext(java.lang.String contextName)
Gets the Simple Data Names list property value. Simple Data Names are all data elements found in the reposotory (not "icol" or "kcol") and they are inside a context (or their parents).

Parameters:
contextName - String - initial context
Returns:
String[] - Simple Data Names list.

getSimpleDataNamesOperation

public static java.lang.String[] getSimpleDataNamesOperation(java.lang.String operationName)
Gets the Simple Data Names list property value. Simple Data Names are all data elements found in SGML files (not "icol" or "kcol") and they are inside an operation context (or their parents).

Returns:
String[] - Simple Data Names list.

getStandardFont

public static java.awt.Font getStandardFont()
Deprecated. Use getValueAt("standardFont");

Gets the Standard Font property value.

Returns:
java.awt.Font - Standard Font property

getTabKeyCode

public static int getTabKeyCode()
Deprecated. Use getValueAt("tabKeyCode");

Gets the Tab Key Code property value from String. In java.awt.event.KeyEvent there are defined the virtual key codes, these are key code names (VK_ENTER, VK_BACK_SPACE, VK_TAB...)

Returns:
int - Tab Key Code property.

getTabMask

public static int getTabMask()
Deprecated. Use getValueAt("tabMask")

Gets the Tab Mask property value.

Returns:
int - Tab Mask property.

getValueAt

public static java.lang.Object getValueAt(java.lang.String propertyName)
Gets the property (its name is "propertyName") from the property list.

Returns:
java.lang.Object Property value

initialize

public static void initialize()
Initializes settings class


isBackTabKey

public static boolean isBackTabKey(java.awt.event.KeyEvent e)
Checks if the event passed as argument correspond to the back tab key event.

Parameters:
e - java.awt.event.KeyEvent, source event.
Returns:
boolean - true if Back Tab Key event.

isHelpKey

public static boolean isHelpKey(java.awt.event.KeyEvent e)
Checks if the event passed as argument correspond to the help key event.

Parameters:
e - java.awt.event.KeyEvent, source event.
Returns:
boolean - true if Help Key event.

isOkKey

public static boolean isOkKey(java.awt.event.KeyEvent e)
Checks if the event passed as argument correspond to the ok key event.

Parameters:
e - java.awt.event.KeyEvent, source event.
Returns:
boolean - true if Ok Key event.

isSpecialKey

public static boolean isSpecialKey(java.awt.event.KeyEvent e)
Checks if the event passed as argument correspond to an special key event.

Parameters:
e - java.awt.event.KeyEvent, source event.
Returns:
boolean - true if Back Tab Key event or Help Key event or Ok key event or Back Tab Key event.

isTabKey

public static boolean isTabKey(java.awt.event.KeyEvent e)
Checks if the event passed as argument correspond to the tab key event.

Parameters:
e - java.awt.event.KeyEvent, source event.
Returns:
boolean - true if Tab event.

setBackTabKey

public static void setBackTabKey(int code)
Deprecated. Use setValueAt("backTabKeyCode",new Integer(code))

Sets the Back Tab Key Code property (int) value.

Parameters:
code - int, key code
See Also:
getBackTabKeyCode()

setBackTabKeyCode

public static void setBackTabKeyCode(int code)
Deprecated. Use setValueAt("backTabKeyCode",new Integer(code));

Sets the Back Tab Key Code property (int) value.

Parameters:
code - int, key code
See Also:
getBackTabKeyCode()

setBackTabMask

public static void setBackTabMask(int code)
Deprecated. Use setValueAt("backTabMask",new Integer(code));

Sets the Back Tab Mask Code property (int) value.

Parameters:
code - int, key code Mask
See Also:
#getBackTabKeyMask

setCaretColor

public static void setCaretColor(java.awt.Color c)
Deprecated. use setValueAt("caretColor",c)

Sets the Caret color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Caret color
See Also:
getCaretColor()

setDSEIniPath

public static void setDSEIniPath(java.lang.String Path)
Sets dse.ini file path property (String) value.

Parameters:
Path - String, dse.ini file path.
See Also:
getDSEIniPath()

setErrorBackgroundColor

public static void setErrorBackgroundColor(java.awt.Color c)
Deprecated. Use setValueAt("errorBackgroundColor",c);

Sets the Error Background color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Error Background color
See Also:
getErrorBackgroundColor()

setErrorForegroundColor

public static void setErrorForegroundColor(java.awt.Color c)
Deprecated. Use setValueAt("errorForegroundColor",c);

Sets the Error Foreground color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Error Foreground color
See Also:
getErrorForegroundColor()

setHelpKeyCode

public static void setHelpKeyCode(int code)
Deprecated. Use setValueAt("helpKeyCode",new Integer(code));

Sets the Help Key Code property (int) value.

Parameters:
code - int, Help Key Code property
See Also:
getHelpKeyCode()

setHelpMask

public static void setHelpMask(int code)
Deprecated. Use setValueAt("helpMask",new Integer(code));

Sets the Help Key Mask property (int) value.

Parameters:
code - int, Help Key Mask value
See Also:
getHelpMask()

setLabelForeground

public static void setLabelForeground(java.awt.Color c)
Deprecated. Use setValueAt("labelForeground",c)

Sets the Label Foreground color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Label Foreground color
See Also:
getLabelForeground()

setMandatoryBackgroundColor

public static void setMandatoryBackgroundColor(java.awt.Color c)
Deprecated. Use setValueAt("mandatoryBackgroundColor",c);

Sets the Mandatory Background color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Mandatory Background color
See Also:
getMandatoryBackgroundColor()

setMandatoryForegroundColor

public static void setMandatoryForegroundColor(java.awt.Color c)
Deprecated. Use setValueAt("mandatoryForegroundColor",c)

Sets the Mandatory Foreground color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Mandatory Foreground color
See Also:
getMandatoryForegroundColor()

setNonEditableBackgroundColor

public static void setNonEditableBackgroundColor(java.awt.Color c)
Deprecated. Use setValueAt("nonEditableBackgroundColor",c)

Sets the Non Editable Background color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Non Editable Background color
See Also:
getNonEditableBackgroundColor()

setNonEditableForegroundColor

public static void setNonEditableForegroundColor(java.awt.Color c)
Deprecated. Use setValueAt("nonEditableForegroundColor",c)

Sets the Non Editable Foreground color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Non Editable Foreground color
See Also:
getNonEditableForegroundColor()

setNonEnabledBackgroundColor

public static void setNonEnabledBackgroundColor(java.awt.Color c)
Deprecated. Use setValueAt("nonEnabledBackgroundColor",c)

Sets the Non Enabled Background color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Non Enabled Background color
See Also:
getNonEnabledBackgroundColor()

setNonEnabledForegroundColor

public static void setNonEnabledForegroundColor(java.awt.Color c)
Deprecated. Use setValueAt("nonEnabledForegroundColor",c)

Sets the Non Enabled Foreground color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Non Enabled Foreground color
See Also:
getNonEnabledForegroundColor()

setOkKeyCode

public static void setOkKeyCode(int code)
Deprecated. Use setValueAt("okKeyCode",new Integer(code))

Sets the Ok Key Code property (int) value.

Parameters:
code - int, Ok Key Code property
See Also:
getOkKeyCode()

setOkMask

public static void setOkMask(int code)
Deprecated. Use setValueAt("okMask",new Integer(code));

Sets the Ok Key Mask property (int) value.

Parameters:
code - int, Ok Key Mask value
See Also:
getOkMask()

setOptionalBackgroundColor

public static void setOptionalBackgroundColor(java.awt.Color c)
Deprecated. Use setValueAt("optionalBackgroundColor",c)

Sets the Optional Background color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Optional Background color
See Also:
getOptionalBackgroundColor()

setOptionalForegroundColor

public static void setOptionalForegroundColor(java.awt.Color c)
Deprecated. Use setValueAt("optionalForegroundColor",tmpCol)

Sets the Optional Foreground color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Optional Foreground color
See Also:
getOptionalForegroundColor()

setSelectionBackgroundColor

public static void setSelectionBackgroundColor(java.awt.Color c)
Deprecated. Use setValueAt("selectionBackgroundColor",c)

Sets the Selection Background color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Selection Background color
See Also:
getSelectionBackgroundColor()

setSelectionForegroundColor

public static void setSelectionForegroundColor(java.awt.Color c)
Deprecated. Use setValueAt("selectionForegroundColor",c)

Sets the Selection Foreground color property (java.awt.Color) value.

Parameters:
c - java.awt.Color, Selection Foreground color
See Also:
getSelectionForegroundColor()

setStandardFont

public static void setStandardFont(java.awt.Font f)
Deprecated. Use setValueAt("standardFont",f)

Sets the Standard Font property (java.awt.Font) value.

Parameters:
f - java.awt.Font, Standard Font
See Also:
getStandardFont()

setTabKeyCode

public static void setTabKeyCode(int code)
Deprecated. Use setValueAt("tabKeyCode",new Integer(code))

Sets the Tab Key Code property (int) value.

Parameters:
code - int, Tab Key Code property
See Also:
getTabKeyCode()

setTabMask

public static void setTabMask(int code)
Deprecated. Use setValueAt("tabMask",new Integer(code))

Sets the Tab Key Mask property (int) value.

Parameters:
code - int, Tab Key Mask value
See Also:
getTabMask()

setValueAt

public static java.lang.Object setValueAt(java.lang.String propertyName,
                                          java.lang.Object value)
Sets the property (its name is "propertyName") to the property list.

Parameters:
value - java.lang.Object
Returns:
java.lang.Object Property value

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005