|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.gjt.jclasslib.browser.AbstractDetailPane
org.gjt.jclasslib.browser.detail.ListDetailPane
org.gjt.jclasslib.browser.detail.attributes.AbstractAttributeListDetailPane
Base class for all detail panes showing specific information for a specific attribute tree node selected in BrowserTreePane which can be displayed as a list of row entries with the same number of columns.
Nested Class Summary |
Nested classes inherited from class org.gjt.jclasslib.browser.detail.ListDetailPane |
ListDetailPane.ColumnCache, ListDetailPane.Link |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected static int |
LINK_COLUMN_WIDTH
Default width in pixels for a column displaying a hyperlink. |
protected static int |
NUMBER_COLUMN_WIDTH
Default width in pixels for a column displaying a number. |
protected static int |
VERBOSE_COLUMN_WIDTH
Default width in pixels for a column displaying a verbose entry. |
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 |
AbstractAttributeListDetailPane(BrowserServices services)
Constructor. |
Method Summary | |
protected void |
createTableColumnModel(JTable table,
TableModel tableModel)
Create the table column model for the given table and table column model. |
protected abstract AbstractAttributeTableModel |
createTableModel(AttributeInfo attribute)
Create the table model for a specific attribute. |
protected int |
getColumnWidth(int column)
Get the width in pixels for a specific column. |
protected 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. |
Methods inherited from class org.gjt.jclasslib.browser.detail.ListDetailPane |
createCommentLink, getRowHeightFactor, setupComponent, show |
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 |
Field Detail |
protected static final int NUMBER_COLUMN_WIDTH
protected static final int LINK_COLUMN_WIDTH
protected static final int VERBOSE_COLUMN_WIDTH
Constructor Detail |
protected AbstractAttributeListDetailPane(BrowserServices services)
services
- the associated browser services.Method Detail |
protected TableModel getTableModel(TreePath treePath)
ListDetailPane
getTableModel
in class ListDetailPane
treePath
- the tree path selected in BrowserTreePane
protected void link(int row, int column)
ListDetailPane
link
in class ListDetailPane
row
- the row number of the hyperlinkcolumn
- the column number of the hyperlinkprotected abstract AbstractAttributeTableModel createTableModel(AttributeInfo attribute)
attribute
- the attribute
protected int getColumnWidth(int column)
column
- the index of the column in the model
protected void createTableColumnModel(JTable table, TableModel tableModel)
ListDetailPane
createTableColumnModel
in class ListDetailPane
table
- the tabletableModel
- the table model
|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |