|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.gui.DefaultSettings
Class that holds the values related to font, special keys, SGML lists and color properties for visual beans.
Constructor Summary | |
DefaultSettings()
This constructor creates a Settings object. |
Method Summary | |
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.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 |
Constructor Detail |
public DefaultSettings()
Method Detail |
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 listpublic static java.lang.String[] getComposedDataNames()
public static java.lang.String[] getComposedDataNamesContext(java.lang.String ctxName)
ctxName
- String - initial contextpublic static java.lang.String[] getComposedDataNamesOperation(java.lang.String operName)
operName
- String - initial operationpublic static Vector getComposedSubTags(Vector composedv, Tag tag)
composedv
- com.ibm.dse.base.Vector to insert Composed Data Names.tag
- com.ibm.dse.base.Tagpublic 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 listpublic 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 contextpublic static java.lang.String[] getIndexedColumnsFromOperation(java.lang.String indexedName, java.lang.String operName)
indexedName
- String - IndexedCollection nameoperName
- String - initial operationpublic 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 listpublic static java.lang.String[] getIndexedDataNames()
public static java.lang.String[] getIndexedDataNamesContext(java.lang.String ctxName)
ctxName
- String - initial contextpublic static java.lang.String[] getIndexedDataNamesOperation(java.lang.String operName)
operName
- String - initial operationpublic static IndexedCollection getIndexedFromContext(java.lang.String indexedName, java.lang.String ctxName)
indexedName
- String - IndexedCollection namectxName
- String - initial contextpublic static IndexedCollection getIndexedFromOperation(java.lang.String indexedName, java.lang.String operName)
indexedName
- String - IndexedCollection nameoperName
- String - initial operationpublic static Vector getIndexedSubTags(Vector indexedv, Tag tag)
indexedv
- com.ibm.dse.base.Vector to insert Indexed Data Names.tag
- com.ibm.dse.base.Tagpublic 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 listpublic static java.lang.String[] getKeyedDataNamesContext(java.lang.String ctxName)
ctxName
- String - initial contextpublic static java.lang.String[] getKeyedDataNamesOperation(java.lang.String operName)
operName
- String - initial operationpublic static java.lang.String[] getOperationList()
public static java.util.Hashtable getPropertyList()
public static java.lang.String[] getSimpleDataNames()
public static java.lang.String[] getSimpleDataNamesContext(java.lang.String ctxName)
ctxName
- String - initial operationpublic static java.lang.String[] getSimpleDataNamesOperation(java.lang.String operName)
operName
- String - initial operationpublic static Vector getSimpleSubTags(Vector simplev, Tag tag)
simplev
- com.ibm.dse.base.Vector to insert Simple Data Namestag
- com.ibm.dse.base.Tagpublic static java.lang.Object getValueAt(java.lang.String propName)
propName
- java.lang.Stringpublic 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)
String
- propetyName the name of the property.String
- propetryValue the new value for the property.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)
String
- propetyName the name of the property.String
- propetryValue the new value for the property.public static void setMaskValues(java.lang.String propetyName, java.lang.String propetryValue)
String
- propetyName the name of the property.String
- propetryValue the new value for the property.public static void setPropertyList(java.util.Hashtable pl)
public static void setValueAt(java.lang.String propName, java.lang.Object value)
java.lang.Object
- propName
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |