public class JTableAgent extends JChildlessAgent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INDEX_SEP
";"
Separator used to delimit individual items in indexed fields like columnNames, etc..
|
static java.lang.String |
objectType
"JTable" (Subclasses will override)
The generic object type supported by this Agent helper class.
|
alternateAncestor, alternateAncestorClassname, factory| Constructor and Description |
|---|
JTableAgent()
Constructor for Agent.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getColumnNames(javax.swing.JTable table)
Returns an INDEX_SEP delimited list of values.
|
protected java.lang.String |
getColumnWidths(javax.swing.JTable table)
Returns an INDEX_SEP delimited list of values.
|
protected java.lang.String |
getHeaderValues(javax.swing.JTable table)
Returns an INDEX_SEP delimited list of values.
|
protected java.lang.String |
getRowHeights(javax.swing.JTable table)
Returns an INDEX_SEP delimited list of values.
|
protected java.lang.String |
getSelectedColumns(javax.swing.JTable table)
Returns an INDEX_SEP delimited list of values.
|
protected java.lang.String |
getSelectedRows(javax.swing.JTable table)
Returns an INDEX_SEP delimited list of values.
|
java.lang.Object |
getSubItemAtIndex(java.lang.Object object,
int index)
Return the subitem at the specified index from the given object.
|
getChildCount, getChildrenconvertCoords, validateActionCommand, validateComponentgetAlternateAncestor, getAlternateAncestorClassname, getAncestorAgent, getCaption, getClassName, getID, getLevel, getLocalAgentFactory, getMatchingPathObject, getName, getProperty, getPropertyNames, getStringData, getSuperClassNames, getText, isMatchingPath, isShowing, isValid, process, processAncestor, setAlternateAncestor, setAlternateAncestorClassname, setLocalAgentFactorypublic static final java.lang.String objectType
public static java.lang.String INDEX_SEP
protected java.lang.String getColumnNames(javax.swing.JTable table)
protected java.lang.String getColumnWidths(javax.swing.JTable table)
protected java.lang.String getRowHeights(javax.swing.JTable table)
protected java.lang.String getSelectedColumns(javax.swing.JTable table)
protected java.lang.String getSelectedRows(javax.swing.JTable table)
protected java.lang.String getHeaderValues(javax.swing.JTable table)
public java.lang.Object getSubItemAtIndex(java.lang.Object object,
int index)
throws java.lang.Exception
LocalSubItemsAgentgetSubItemAtIndex in interface LocalSubItemsAgentgetSubItemAtIndex in class ObjectAgentobject - reference from which to locate the subitem.index - of the subitem to retrieve.java.lang.ExceptionCopyright © SAS Institute. All Rights Reserved.