|
ej-technologies | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--org.gjt.jclasslib.browser.AbstractDetailPane
|
+--org.gjt.jclasslib.browser.detail.ListDetailPane
Base class for all detail panes with a structure of a variable number of row entries with the same number of columns.
| Nested Class Summary | |
static class |
ListDetailPane.ColumnCache
Class for caching dynamically computed values in a read only table. |
static class |
ListDetailPane.Link
Marker class returned by getColumnClass() to indicate a hyperlink in a table. |
| Field Summary |
| Fields inherited from class org.gjt.jclasslib.browser.AbstractDetailPane |
COLOR_HIGHLIGHT, COLOR_LINK, CPINFO_LINK_TEXT, services |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
protected |
ListDetailPane(BrowserServices services)
Constructor. |
| Method Summary | |
protected Object |
createCommentLink(int index)
Create a link value object with a comment for use of a LinkRenderer. |
protected void |
createTableColumnModel(JTable table,
TableModel tableModel)
Create the table column model for the given table and table column model. |
protected float |
getRowHeightFactor()
Get the factor for calculating the row height as a multiple of the normal row height of a single label. |
protected abstract TableModel |
getTableModel(TreePath treePath)
Get the table model for the selected tree node. |
protected void |
link(int row,
int column)
Link to the destination described by the target of the hyperlink contained in a specific cell. |
protected void |
setupComponent()
Setup the detail pane at the beginning of its life cycle. |
void |
show(TreePath treePath)
Show the detail pane for a specific tree node selected in BrowserTreePane. |
| Methods inherited from class org.gjt.jclasslib.browser.AbstractDetailPane |
constantPoolHyperlink, findAttribute, getBrowserServices, getConstantPoolEntryName, getIndex, highlightLabel, linkLabel, normalLabel, normalLabel |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected ListDetailPane(BrowserServices services)
services - the associated browser services.| Method Detail |
protected void setupComponent()
AbstractDetailPane
setupComponent in class AbstractDetailPanepublic void show(TreePath treePath)
AbstractDetailPane
show in class AbstractDetailPanetreePath - the TreePath for the selection
in BrowserTreePaneprotected float getRowHeightFactor()
protected void createTableColumnModel(JTable table,
TableModel tableModel)
table - the tabletableModel - the table modelprotected abstract TableModel getTableModel(TreePath treePath)
treePath - the tree path selected in BrowserTreePane
protected Object createCommentLink(int index)
index - the constant pool index to link to.
protected void link(int row,
int column)
row - the row number of the hyperlinkcolumn - the column number of the hyperlink
|
ej-technologies | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||