|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.gui.Settings
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 |
protected static java.util.Hashtable propertyList
protected static java.util.Vector selfDefined
protected static java.lang.String[] operationList
protected static java.lang.String[] contextList
protected static java.lang.String[] formatList
public static final java.lang.String COMPID
public static final int NOKEY
public static final int NOMASK
public static final java.lang.String INPUT_DIRECTION
public static final java.lang.String OUTPUT_DIRECTION
public static final java.lang.String BOTH_DIRECTION
Constructor Detail |
public Settings()
Method Detail |
public static java.lang.Object executeMethod(java.lang.String methodName, java.lang.Class[] args, java.lang.Object[] parms)
public static int getBackTabKeyCode()
public static int getBackTabMask()
public static java.awt.Color getCaretColor()
public static java.lang.String[] getComposedDataNamesContext(java.lang.String contextName)
contextName
- java.lang.String The name of the initial context
public static java.lang.String[] getComposedDataNamesOperation(java.lang.String operationName)
operationName
- java.lang.String
public static java.lang.String[] getContextList()
public static java.lang.String getDSEIniPath()
public static java.awt.Color getErrorBackgroundColor()
public static java.awt.Color getErrorForegroundColor()
public static java.lang.String[] getFormatList()
public static int getHelpKeyCode()
public static int getHelpMask()
public static java.lang.String[] getIndexedColumnsFromContext(java.lang.String indexedName, java.lang.String ctxName)
indexedName
- java.lang.String the name of the iCollctxName
- java.lang.String the context name where is the iColl
public static java.lang.String[] getIndexedColumnsFromOperation(java.lang.String indexedName, java.lang.String operName)
indexedName
- java.lang.String the name of the iColloperName
- java.lang.String the operation name where is the iColl
public static java.lang.String[] getIndexedDataNamesContext(java.lang.String contextName)
contextName
- java.lang.String the initial context
public static java.lang.String[] getIndexedDataNamesOperation(java.lang.String operationName)
operationName
- java.lang.String the initial operation
public static java.lang.String[] getKeyedDataNamesContext(java.lang.String contextName)
contextName
- java.lang.String the initial context
public static java.lang.String[] getKeyedDataNamesOperation(java.lang.String operationName)
operationName
- java.lang.String the initial operation
public static java.awt.Color getLabelForeground()
public static java.awt.Color getMandatoryBackgroundColor()
public static java.awt.Color getMandatoryForegroundColor()
public static java.awt.Color getNonEditableBackgroundColor()
public static java.awt.Color getNonEditableForegroundColor()
public static java.awt.Color getNonEnabledBackgroundColor()
public static java.awt.Color getNonEnabledForegroundColor()
public static int getOkKeyCode()
public static int getOkMask()
public static java.lang.String[] getOperationList()
public static java.awt.Color getOptionalBackgroundColor()
public static java.awt.Color getOptionalForegroundColor()
public static java.awt.Color getSelectionBackgroundColor()
public static java.awt.Color getSelectionForegroundColor()
public static java.lang.Object getSelfDefinedAttributes(java.lang.String operationName, java.lang.String attribute)
public static java.util.Vector getSelfDefinedOperationList()
public static java.lang.String getSettingsClassName()
public static java.lang.String[] getSimpleDataNamesContext(java.lang.String contextName)
contextName
- String - initial context
public static java.lang.String[] getSimpleDataNamesOperation(java.lang.String operationName)
public static java.awt.Font getStandardFont()
public static int getTabKeyCode()
public static int getTabMask()
public static java.lang.Object getValueAt(java.lang.String propertyName)
public static void initialize()
public static boolean isBackTabKey(java.awt.event.KeyEvent e)
e
- java.awt.event.KeyEvent, source event.
public static boolean isHelpKey(java.awt.event.KeyEvent e)
e
- java.awt.event.KeyEvent, source event.
public static boolean isOkKey(java.awt.event.KeyEvent e)
e
- java.awt.event.KeyEvent, source event.
public static boolean isSpecialKey(java.awt.event.KeyEvent e)
e
- java.awt.event.KeyEvent, source event.
public static boolean isTabKey(java.awt.event.KeyEvent e)
e
- java.awt.event.KeyEvent, source event.
public static void setBackTabKey(int code)
code
- int, key codegetBackTabKeyCode()
public static void setBackTabKeyCode(int code)
code
- int, key codegetBackTabKeyCode()
public static void setBackTabMask(int code)
code
- int, key code Mask#getBackTabKeyMask
public static void setCaretColor(java.awt.Color c)
c
- java.awt.Color, Caret colorgetCaretColor()
public static void setDSEIniPath(java.lang.String Path)
Path
- String, dse.ini file path.getDSEIniPath()
public static void setErrorBackgroundColor(java.awt.Color c)
c
- java.awt.Color, Error Background colorgetErrorBackgroundColor()
public static void setErrorForegroundColor(java.awt.Color c)
c
- java.awt.Color, Error Foreground colorgetErrorForegroundColor()
public static void setHelpKeyCode(int code)
code
- int, Help Key Code propertygetHelpKeyCode()
public static void setHelpMask(int code)
code
- int, Help Key Mask valuegetHelpMask()
public static void setLabelForeground(java.awt.Color c)
c
- java.awt.Color, Label Foreground colorgetLabelForeground()
public static void setMandatoryBackgroundColor(java.awt.Color c)
c
- java.awt.Color, Mandatory Background colorgetMandatoryBackgroundColor()
public static void setMandatoryForegroundColor(java.awt.Color c)
c
- java.awt.Color, Mandatory Foreground colorgetMandatoryForegroundColor()
public static void setNonEditableBackgroundColor(java.awt.Color c)
c
- java.awt.Color, Non Editable Background colorgetNonEditableBackgroundColor()
public static void setNonEditableForegroundColor(java.awt.Color c)
c
- java.awt.Color, Non Editable Foreground colorgetNonEditableForegroundColor()
public static void setNonEnabledBackgroundColor(java.awt.Color c)
c
- java.awt.Color, Non Enabled Background colorgetNonEnabledBackgroundColor()
public static void setNonEnabledForegroundColor(java.awt.Color c)
c
- java.awt.Color, Non Enabled Foreground colorgetNonEnabledForegroundColor()
public static void setOkKeyCode(int code)
code
- int, Ok Key Code propertygetOkKeyCode()
public static void setOkMask(int code)
code
- int, Ok Key Mask valuegetOkMask()
public static void setOptionalBackgroundColor(java.awt.Color c)
c
- java.awt.Color, Optional Background colorgetOptionalBackgroundColor()
public static void setOptionalForegroundColor(java.awt.Color c)
c
- java.awt.Color, Optional Foreground colorgetOptionalForegroundColor()
public static void setSelectionBackgroundColor(java.awt.Color c)
c
- java.awt.Color, Selection Background colorgetSelectionBackgroundColor()
public static void setSelectionForegroundColor(java.awt.Color c)
c
- java.awt.Color, Selection Foreground colorgetSelectionForegroundColor()
public static void setStandardFont(java.awt.Font f)
f
- java.awt.Font, Standard FontgetStandardFont()
public static void setTabKeyCode(int code)
code
- int, Tab Key Code propertygetTabKeyCode()
public static void setTabMask(int code)
code
- int, Tab Key Mask valuegetTabMask()
public static java.lang.Object setValueAt(java.lang.String propertyName, java.lang.Object value)
value
- java.lang.Object
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |