|
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.DefaultSettings
Class that holds the values related to font, special keys, SGML lists and color properties for visual beans.
Field Summary | |
---|---|
protected static java.util.Vector |
selfDefined
|
Constructor Summary | |
---|---|
DefaultSettings()
This constructor creates a Settings object. |
Method Summary | |
---|---|
static java.lang.String[] |
createSelfDefinedOpList(java.util.Vector v)
Returns a list of self-defined operations not defined in the dse.ini but placed in the value of path.operations or path.entities. |
static Vector |
getComposedDataCollection(Vector actualList,
DataCollection keyed,
java.lang.String initialPath)
Gets the Composed Data Names list property value inside DataCollection element. |
static java.lang.String[] |
getComposedDataNames()
Gets the Composed Data Names list property value. |
static java.lang.String[] |
getComposedDataNamesContext(java.lang.String ctxName)
Gets the Composed Data Names list property value. |
static java.lang.String[] |
getComposedDataNamesOperation(java.lang.String operName)
Gets the Composed Data Names list property value. |
static Vector |
getComposedSubTags(Vector composedv,
Tag tag)
Gets the Composed Data Names list property value inside tag. |
static java.lang.String[] |
getContextList()
Gets the Context list property value. |
static java.lang.String |
getDSEIniPath()
Gets the dse.ini file path. |
static Vector |
getElementsDataCollection(Vector actualList,
DataCollection keyed,
java.lang.String initialPath)
Gets the Simple Data Names list property value inside a DataCollection. |
static java.lang.String[] |
getFormatList()
Gets the Format list property value. |
static java.lang.String[] |
getIndexedColumnsFromContext(java.lang.String indexedName,
java.lang.String ctxName)
Gets the list of columns inside an IndexedCollection element in a Context for SpTable |
static java.lang.String[] |
getIndexedColumnsFromOperation(java.lang.String indexedName,
java.lang.String operName)
Gets the list of columns inside an IndexedCollection element in a Operation for SpTable |
static Vector |
getIndexedDataCollection(Vector actualList,
DataCollection keyed,
java.lang.String initialPath)
Gets the IndexedCollection Data Names list property value inside a DataCollection. |
static java.lang.String[] |
getIndexedDataNames()
Gets the Indexed Data Names list property value. |
static java.lang.String[] |
getIndexedDataNamesContext(java.lang.String ctxName)
Gets the Indexed Data Names list property value. |
static java.lang.String[] |
getIndexedDataNamesOperation(java.lang.String operName)
Gets the Indexed Data Names list property value. |
static IndexedCollection |
getIndexedFromContext(java.lang.String indexedName,
java.lang.String ctxName)
Gets the IndexedCollection element in a Context |
static IndexedCollection |
getIndexedFromOperation(java.lang.String indexedName,
java.lang.String operName)
Gets the IndexedCollection element in a Operation |
static Vector |
getIndexedSubTags(Vector indexedv,
Tag tag)
Gets the Indexed Data Names list property value inside tag. |
static Vector |
getKeyedDataCollection(Vector actualList,
DataCollection keyed,
java.lang.String initialPath)
Gets the Yeyed Data Names list property value inside DataCollection element. |
static java.lang.String[] |
getKeyedDataNamesContext(java.lang.String ctxName)
Gets the Keyed Data Names list property value. |
static java.lang.String[] |
getKeyedDataNamesOperation(java.lang.String operName)
Gets the Keyed Data Names list property value. |
static java.lang.String[] |
getOperationList()
Gets the Operation list property value. |
static java.util.Hashtable |
getPropertyList()
Gets the all properties list. |
static java.lang.Object |
getSelfDefinedAttributes(java.lang.String operationName,
java.lang.String attribute)
Gets the Operation list property value. |
static java.util.Vector |
getSelfDefinedOperationList()
Gets the Operation list property value. |
static java.lang.String[] |
getSimpleDataNames()
Gets the Simple Data Names list property value. |
static java.lang.String[] |
getSimpleDataNamesContext(java.lang.String ctxName)
Gets the Simple Data Names list property value. |
static java.lang.String[] |
getSimpleDataNamesOperation(java.lang.String operName)
Gets the Simple Data Names list property value. |
static Vector |
getSimpleSubTags(Vector simplev,
Tag tag)
Gets the Simple Data Names list property value inside tag. |
static java.lang.Object |
getValueAt(java.lang.String propName)
Gets the property (its name is "propName") from the property list. |
static void |
initialize()
Initializes values from settings.properties file |
static Vector |
insertSortInVector(Vector v,
java.lang.String s)
Inserts String to Vector in proper order. |
static boolean |
isBackTabKey(java.awt.event.KeyEvent e)
Checks if the event passed as argument correspond to the back tab key event. |
static boolean |
isColorVBproperty(java.lang.String propertyName)
Checks if the parameter is the name of a property of the Framework and their type is color. |
static boolean |
isFontVBproperty(java.lang.String propertyName)
Checks if the parameter is the name of a property of the Framework and their type is Font. |
static boolean |
isHelpKey(java.awt.event.KeyEvent e)
Checks if the event passed as argument correspond to the help key event. |
static boolean |
isKeyVBproperty(java.lang.String propertyName)
Checks if the parameter is the name of a property of the Framework and their type is a key. |
static boolean |
isMaskVBproperty(java.lang.String propertyName)
Checks if the parameter is the name of a property of the Framework and their type is a Mask. |
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 |
reset()
Resets all values. |
static void |
setColorValues(java.lang.String propetyName,
java.lang.String propetryValue)
sets the default color values in the property list. |
static void |
setDSEIniPath(java.lang.String Path)
Sets dse.ini file path property (String) value. |
static void |
setKeyValues(java.lang.String propetyName,
java.lang.String propetryValue)
sets the default key values in the property list. |
static void |
setMaskValues(java.lang.String propetyName,
java.lang.String propetryValue)
sets the default mask values in the property list. |
static void |
setPropertyList(java.util.Hashtable pl)
Sets the all properties list. |
static void |
setValueAt(java.lang.String propName,
java.lang.Object value)
Sets the property (its name is "propName") 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.Vector selfDefined
Constructor Detail |
public DefaultSettings()
Method Detail |
public static java.lang.String[] createSelfDefinedOpList(java.util.Vector v) throws java.io.IOException
v
- java.util.Vector.Name of xml files placed in this direcotry that are not self defined operations
java.io.IOException
public static Vector getComposedDataCollection(Vector actualList, DataCollection keyed, java.lang.String initialPath)
actualList
- com.ibm.dse.base.Vector to insert Composed Data Names.keyed
- com.ibm.dse.base.DataCollection.initialPath
- String path to insert before Data Names list
public static java.lang.String[] getComposedDataNames()
public static java.lang.String[] getComposedDataNamesContext(java.lang.String ctxName)
ctxName
- String - initial context
public static java.lang.String[] getComposedDataNamesOperation(java.lang.String operName)
operName
- String - initial operation
public static Vector getComposedSubTags(Vector composedv, Tag tag)
composedv
- com.ibm.dse.base.Vector to insert Composed Data Names.tag
- com.ibm.dse.base.Tag
public static java.lang.String[] getContextList()
public static java.lang.String getDSEIniPath()
public static Vector getElementsDataCollection(Vector actualList, DataCollection keyed, java.lang.String initialPath)
actualList
- com.ibm.dse.base.Vector to insert Simple Data Nameskeyed
- DataCollectioninitialPath
- String path to insert before Data Names list
public static java.lang.String[] getFormatList()
public static java.lang.String[] getIndexedColumnsFromContext(java.lang.String indexedName, java.lang.String ctxName)
indexedName
- String - IndexedCollection namectxName
- String - initial context
public static java.lang.String[] getIndexedColumnsFromOperation(java.lang.String indexedName, java.lang.String operName)
indexedName
- String - IndexedCollection nameoperName
- String - initial operation
public static Vector getIndexedDataCollection(Vector actualList, DataCollection keyed, java.lang.String initialPath)
actualList
- com.ibm.dse.base.Vector to insert IndexedCollection Data Nameskeyed
- DataCollectioninitialPath
- String path to insert before Data Names list
public static java.lang.String[] getIndexedDataNames()
public static java.lang.String[] getIndexedDataNamesContext(java.lang.String ctxName)
ctxName
- String - initial context
public static java.lang.String[] getIndexedDataNamesOperation(java.lang.String operName)
operName
- String - initial operation
public static IndexedCollection getIndexedFromContext(java.lang.String indexedName, java.lang.String ctxName)
indexedName
- String - IndexedCollection namectxName
- String - initial context
public static IndexedCollection getIndexedFromOperation(java.lang.String indexedName, java.lang.String operName)
indexedName
- String - IndexedCollection nameoperName
- String - initial operation
public static Vector getIndexedSubTags(Vector indexedv, Tag tag)
indexedv
- com.ibm.dse.base.Vector to insert Indexed Data Names.tag
- com.ibm.dse.base.Tag
public static Vector getKeyedDataCollection(Vector actualList, DataCollection keyed, java.lang.String initialPath)
actualList
- com.ibm.dse.base.Vector to insert Composed Data Names.keyed
- com.ibm.dse.base.DataCollection.initialPath
- String path to insert before Data Names list
public static java.lang.String[] getKeyedDataNamesContext(java.lang.String ctxName)
ctxName
- String - initial context
public static java.lang.String[] getKeyedDataNamesOperation(java.lang.String operName)
operName
- String - initial operation
public static java.lang.String[] getOperationList()
public static java.util.Hashtable getPropertyList()
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[] getSimpleDataNames()
public static java.lang.String[] getSimpleDataNamesContext(java.lang.String ctxName)
ctxName
- String - initial operation
public static java.lang.String[] getSimpleDataNamesOperation(java.lang.String operName)
operName
- String - initial operation
public static Vector getSimpleSubTags(Vector simplev, Tag tag)
simplev
- com.ibm.dse.base.Vector to insert Simple Data Namestag
- com.ibm.dse.base.Tag
public static java.lang.Object getValueAt(java.lang.String propName)
propName
- java.lang.String
public static void initialize()
public static Vector insertSortInVector(Vector v, java.lang.String s)
v
- java.util.Vector, Source vector.s
- java.lang.String, String to insert.
public static boolean isBackTabKey(java.awt.event.KeyEvent e)
e
- java.awt.event.KeyEvent, source event.
public static boolean isColorVBproperty(java.lang.String propertyName)
propertyName
- String, the name of the property.
public static boolean isFontVBproperty(java.lang.String propertyName)
propertyName
- String, the name of the property.
public static boolean isHelpKey(java.awt.event.KeyEvent e)
e
- java.awt.event.KeyEvent, source event.
public static boolean isKeyVBproperty(java.lang.String propertyName)
propertyName
- String, the name of the property.
public static boolean isMaskVBproperty(java.lang.String propertyName)
propertyName
- String, the name of the property.
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 reset()
public static void setColorValues(java.lang.String propetyName, java.lang.String propetryValue)
public static void setDSEIniPath(java.lang.String Path)
Path
- String, dse.ini file path.getDSEIniPath()
public static void setKeyValues(java.lang.String propetyName, java.lang.String propetryValue)
public static void setMaskValues(java.lang.String propetyName, java.lang.String propetryValue)
public static void setPropertyList(java.util.Hashtable pl)
public static void setValueAt(java.lang.String propName, java.lang.Object value)
propName
- java.lang.String
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |