|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.models.JDBCToTreeViewModelAdapter
public class JDBCToTreeViewModelAdapter
The JDBCToTreeViewModelAdapter is a JDBCToTreeModelAdapter which
is specialized for the TreeView
.
Data is read from a database table and each row represents a node.
Columns may be configured to correspond to the properties of the
TreeNode and determine the hierarchy of the nodes.
TreeView
,
JDBCToTreeModelAdapter
,
TreeNode
,
Serialized FormNested Class Summary | |
---|---|
class |
JDBCToTreeViewModelAdapter.LevelTreeNode
|
Field Summary |
---|
Fields inherited from class com.sas.storage.jdbc.JDBCToTreeModelAdapter |
---|
indexColumnName, inInit, initialLevelsRead, levelColumnName, listenerList, nodeTransform, RB_KEY, treeModel, whereClause |
Fields inherited from class com.sas.storage.jdbc.JDBCColumnValuesAdapter |
---|
columnValuesTransform, retrieveAllColumnValues |
Fields inherited from class com.sas.storage.jdbc.JDBCAdapter |
---|
autoCommit, CLASS_NAME, columnInfoUsed, conn, designTime, displayTransform, forwardOnly, initialized, isRowCountKnown, LABEL, meta, NAME, printWarnings, queryRowCountDisabled, queryStatement, readOnly, result, resultSetRequeryUsed, resultSetType, resultSetUsed, retrieveNumericTypesAsDouble, rowCount, rowCountQueryString, rowNumber, spcs, stmt, trimUsed |
Fields inherited from interface com.sas.servlet.tbeans.html.TreeViewStyleKeysInterface |
---|
TREEVIEW_BACKGROUND_IMAGE, TREEVIEW_BACKGROUND_IMAGE1, TREEVIEW_CURSOR_HAND, TREEVIEW_DESCRIPTION, TREEVIEW_DISABLED, TREEVIEW_DIV_IMAGE_SPACE, TREEVIEW_FLOAT, TREEVIEW_IMAGE, TREEVIEW_IMAGE_SPACE, TREEVIEW_LINK, TREEVIEW_LINKACTIVE, TREEVIEW_PANE, TREEVIEW_SELECTED, TREEVIEW_TABLE, TREEVIEW_TEXT |
Constructor Summary | |
---|---|
JDBCToTreeViewModelAdapter()
|
Method Summary | |
---|---|
protected JDBCToTreeViewModelAdapter.LevelTreeNode |
createNode(java.lang.String name,
java.lang.String text)
|
java.lang.String |
getAccessKeyColumnName()
Returns the accessKeyColumnName. |
java.lang.String |
getDefaultImageAltTextColumnName()
Returns the defaultImageAltTextColumnName. |
java.lang.String |
getDefaultImageColumnName()
Returns the defaultImageColumnName. |
java.lang.String |
getDescriptionColumnName()
Returns the descriptionColumnName. |
java.lang.String |
getDescriptionStyleClassColumnName()
Returns the descriptionStyleClassColumnName. |
java.lang.String |
getDisabledImageAltTextColumnName()
Returns the disabledImageAltTextColumnName. |
java.lang.String |
getDisabledImageColumnName()
Returns the disabledImageColumnName. |
java.lang.String |
getDisabledStyleClassColumnName()
Returns the disabledStyleClassColumnName. |
java.lang.String |
getEnabledColumnName()
Returns the enabledColumnName. |
java.lang.String |
getExpandedColumnName()
Returns the expandedColumnName. |
java.lang.String |
getExpandedImageAltTextColumnName()
Returns the expandedImageAltTextColumnName. |
java.lang.String |
getExpandedImageColumnName()
Returns the expandedImageColumnName. |
java.lang.String |
getImageLocationColumnName()
Returns the imageLocationColumnName. |
java.lang.String |
getImageStyleClassColumnName()
Returns the imageStyleClassColumnName. |
java.lang.String |
getLinkActiveStyleClassColumnName()
Returns the linkActiveStyleClassColumnName. |
java.lang.String |
getLinkStyleClassColumnName()
Returns the linkStyleClassColumnName. |
java.lang.String |
getNameColumnName()
Returns the nameColumnName. |
java.lang.String |
getSelectedStyleClassColumnName()
Returns the selectedStyleClassColumnName. |
java.lang.String |
getStyleClassPrefixColumnName()
Returns the styleClassPrefixColumnName. |
java.lang.String |
getTabIndexColumnName()
Returns the tabIndexColumnName. |
java.lang.String |
getTargetColumnName()
Returns the targetColumnName. |
java.lang.String |
getTextColumnName()
Returns the textColumnName. |
java.lang.String |
getTextStyleClassColumnName()
Returns the textStyleClassColumnName. |
java.lang.String |
getTitleColumnName()
Returns the titleColumnName. |
java.lang.String |
getURLColumnName()
Returns the uRLColumnName. |
void |
setAccessKeyColumnName(java.lang.String accessKeyColumnName)
Sets the accessKeyColumnName. |
void |
setDefaultImageAltTextColumnName(java.lang.String defaultImageAltTextColumnName)
Sets the defaultImageAltTextColumnName. |
void |
setDefaultImageColumnName(java.lang.String defaultImageColumnName)
Sets the defaultImageColumnName. |
void |
setDescriptionColumnName(java.lang.String descriptionColumnName)
Sets the descriptionColumnName. |
void |
setDescriptionStyleClassColumnName(java.lang.String descriptionStyleClassColumnName)
Sets the descriptionStyleClassColumnName. |
void |
setDisabledImageAltTextColumnName(java.lang.String disabledImageAltTextColumnName)
Sets the disabledImageAltTextColumnName. |
void |
setDisabledImageColumnName(java.lang.String disabledImageColumnName)
Sets the disabledImageColumnName. |
void |
setDisabledStyleClassColumnName(java.lang.String disabledStyleClassColumnName)
Sets the disabledStyleClassColumnName. |
void |
setEnabledColumnName(java.lang.String enabledColumnName)
Sets the enabledColumnName. |
void |
setExpandedColumnName(java.lang.String expandedColumnName)
Sets the expandedColumnName. |
void |
setExpandedImageAltTextColumnName(java.lang.String expandedImageAltTextColumnName)
Sets the expandedImageAltTextColumnName. |
void |
setExpandedImageColumnName(java.lang.String expandedImageColumnName)
Sets the expandedImageColumnName. |
void |
setImageLocationColumnName(java.lang.String imageLocationColumnName)
Sets the imageLocationColumnName. |
void |
setImageStyleClassColumnName(java.lang.String imageStyleClassColumnName)
Sets the imageStyleClassColumnName. |
void |
setLinkActiveStyleClassColumnName(java.lang.String linkActiveStyleClassColumnName)
Sets the linkActiveStyleClassColumnName. |
void |
setLinkStyleClassColumnName(java.lang.String linkStyleClassColumnName)
Sets the linkStyleClassColumnName. |
void |
setNameColumnName(java.lang.String nameColumnName)
Sets the nameColumnName. |
void |
setSelectedStyleClassColumnName(java.lang.String selectedStyleClassColumnName)
Sets the selectedStyleClassColumnName. |
void |
setStyleClassPrefixColumnName(java.lang.String styleClassPrefixColumnName)
Sets the styleClassPrefixColumnName. |
void |
setTabIndexColumnName(java.lang.String tabIndexColumnName)
Sets the tabIndexColumnName. |
void |
setTargetColumnName(java.lang.String targetColumnName)
Sets the targetColumnName. |
void |
setTextColumnName(java.lang.String textColumnName)
Sets the textColumnName. |
void |
setTextStyleClassColumnName(java.lang.String textStyleClassColumnName)
Sets the textStyleClassColumnName. |
void |
setTitleColumnName(java.lang.String titleColumnName)
Sets the titleColumnName. |
void |
setURLColumnName(java.lang.String uRLColumnName)
Sets the uRLColumnName. |
java.lang.Object |
transform(java.lang.Object obj)
|
Methods inherited from class com.sas.storage.jdbc.JDBCToTreeModelAdapter |
---|
addChildren, addTreeModelListener, fireCellEvent, fireModelEvent, fireModelEvent, getChild, getChildCount, getExtendedBeanInfo, getIndexColumnName, getIndexOfChild, getInitialLevelsRead, getLevelColumnName, getNodeTransform, getRoot, init, isLeaf, readChildren, removeTreeModelListener, setIndexColumnName, setInitialLevelsRead, setLevelColumnName, setNodeTransform, valueForPathChanged |
Methods inherited from class com.sas.storage.jdbc.JDBCColumnValuesAdapter |
---|
getColumnValuesMap, getColumnValuesTransform, isRetrieveAllColumnValues, retrieveColumnValueAt, retrieveValueAt, setColumnValuesTransform, setRetrieveAllColumnValues |
Constructor Detail |
---|
public JDBCToTreeViewModelAdapter()
Method Detail |
---|
public java.lang.Object transform(java.lang.Object obj)
transform
in interface com.sas.util.transforms.TransformInterface
protected JDBCToTreeViewModelAdapter.LevelTreeNode createNode(java.lang.String name, java.lang.String text)
public java.lang.String getAccessKeyColumnName()
public java.lang.String getDefaultImageAltTextColumnName()
public java.lang.String getDefaultImageColumnName()
public java.lang.String getDescriptionColumnName()
public java.lang.String getDescriptionStyleClassColumnName()
public java.lang.String getDisabledImageAltTextColumnName()
public java.lang.String getDisabledImageColumnName()
public java.lang.String getDisabledStyleClassColumnName()
public java.lang.String getEnabledColumnName()
public java.lang.String getExpandedColumnName()
public java.lang.String getExpandedImageAltTextColumnName()
public java.lang.String getExpandedImageColumnName()
public java.lang.String getImageLocationColumnName()
public java.lang.String getImageStyleClassColumnName()
public java.lang.String getLinkActiveStyleClassColumnName()
public java.lang.String getLinkStyleClassColumnName()
public java.lang.String getNameColumnName()
public java.lang.String getSelectedStyleClassColumnName()
public java.lang.String getStyleClassPrefixColumnName()
public java.lang.String getTabIndexColumnName()
public java.lang.String getTargetColumnName()
public java.lang.String getTextColumnName()
getTextColumnName
in interface LevelDataInterface
getTextColumnName
in class JDBCToTreeModelAdapter
public java.lang.String getTextStyleClassColumnName()
public java.lang.String getTitleColumnName()
public java.lang.String getURLColumnName()
public void setAccessKeyColumnName(java.lang.String accessKeyColumnName)
accessKeyColumnName
- The accessKeyColumnName to setpublic void setDefaultImageAltTextColumnName(java.lang.String defaultImageAltTextColumnName)
defaultImageAltTextColumnName
- The defaultImageAltTextColumnName to setpublic void setDefaultImageColumnName(java.lang.String defaultImageColumnName)
defaultImageColumnName
- The defaultImageColumnName to setpublic void setDescriptionColumnName(java.lang.String descriptionColumnName)
descriptionColumnName
- The descriptionColumnName to setpublic void setDescriptionStyleClassColumnName(java.lang.String descriptionStyleClassColumnName)
descriptionStyleClassColumnName
- The descriptionStyleClassColumnName to setpublic void setDisabledImageAltTextColumnName(java.lang.String disabledImageAltTextColumnName)
disabledImageAltTextColumnName
- The disabledImageAltTextColumnName to setpublic void setDisabledImageColumnName(java.lang.String disabledImageColumnName)
disabledImageColumnName
- The disabledImageColumnName to setpublic void setDisabledStyleClassColumnName(java.lang.String disabledStyleClassColumnName)
disabledStyleClassColumnName
- The disabledStyleClassColumnName to setpublic void setEnabledColumnName(java.lang.String enabledColumnName)
enabledColumnName
- The enabledColumnName to setpublic void setExpandedColumnName(java.lang.String expandedColumnName)
expandedColumnName
- The expandedColumnName to setpublic void setExpandedImageAltTextColumnName(java.lang.String expandedImageAltTextColumnName)
expandedImageAltTextColumnName
- The expandedImageAltTextColumnName to setpublic void setExpandedImageColumnName(java.lang.String expandedImageColumnName)
expandedImageColumnName
- The expandedImageColumnName to setpublic void setImageLocationColumnName(java.lang.String imageLocationColumnName)
imageLocationColumnName
- The imageLocationColumnName to setpublic void setImageStyleClassColumnName(java.lang.String imageStyleClassColumnName)
imageStyleClassColumnName
- The imageStyleClassColumnName to setpublic void setLinkActiveStyleClassColumnName(java.lang.String linkActiveStyleClassColumnName)
linkActiveStyleClassColumnName
- The linkActiveStyleClassColumnName to setpublic void setLinkStyleClassColumnName(java.lang.String linkStyleClassColumnName)
linkStyleClassColumnName
- The linkStyleClassColumnName to setpublic void setNameColumnName(java.lang.String nameColumnName)
nameColumnName
- The nameColumnName to setpublic void setSelectedStyleClassColumnName(java.lang.String selectedStyleClassColumnName)
selectedStyleClassColumnName
- The selectedStyleClassColumnName to setpublic void setStyleClassPrefixColumnName(java.lang.String styleClassPrefixColumnName)
styleClassPrefixColumnName
- The styleClassPrefixColumnName to setpublic void setTabIndexColumnName(java.lang.String tabIndexColumnName)
tabIndexColumnName
- The tabIndexColumnName to setpublic void setTargetColumnName(java.lang.String targetColumnName)
targetColumnName
- The targetColumnName to setpublic void setTextColumnName(java.lang.String textColumnName)
setTextColumnName
in interface LevelDataInterface
setTextColumnName
in class JDBCToTreeModelAdapter
textColumnName
- The textColumnName to setpublic void setTextStyleClassColumnName(java.lang.String textStyleClassColumnName)
textStyleClassColumnName
- The textStyleClassColumnName to setpublic void setTitleColumnName(java.lang.String titleColumnName)
titleColumnName
- The titleColumnName to setpublic void setURLColumnName(java.lang.String uRLColumnName)
uRLColumnName
- The uRLColumnName to set
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |