|
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.FixedListDetailPane
Base class for all detail panes with a structure of a fixed number of key-value pairs arranged in a list.
| 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 |
FixedListDetailPane(BrowserServices services)
Constructor. |
| Method Summary | |
protected void |
addDetailPaneEntry(ExtendedJLabel key,
ExtendedJLabel value)
Add a detail entry consisting of a key value pair. |
protected void |
addDetailPaneEntry(ExtendedJLabel key,
ExtendedJLabel value,
ExtendedJLabel comment)
Add a detail entry consisting of a key value pair with a associated comment which is made scrollable. |
protected int |
addSpecial(int gridy)
Hook for derived classes to add additional visual elements. |
JScrollPane |
getScrollPane()
Get the scroll pane. |
protected void |
setupComponent()
Setup the detail pane at the beginning of its life cycle. |
protected abstract void |
setupLabels()
Setup all label and fill the detailPaneEntries list so that setupComponent can layout the pane. |
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 FixedListDetailPane(BrowserServices services)
services - the associated browser services.| Method Detail |
protected void addDetailPaneEntry(ExtendedJLabel key,
ExtendedJLabel value)
key - the key labelvalue - the value label
protected void addDetailPaneEntry(ExtendedJLabel key,
ExtendedJLabel value,
ExtendedJLabel comment)
key - the key labelvalue - the value labelcomment - the commentprotected void setupComponent()
AbstractDetailPane
setupComponent in class AbstractDetailPanepublic JScrollPane getScrollPane()
public void show(TreePath treePath)
AbstractDetailPane
show in class AbstractDetailPanetreePath - the TreePath for the selection
in BrowserTreePaneprotected abstract void setupLabels()
protected int addSpecial(int gridy)
gridy - the current gridy of the GridbagLayout.
|
ej-technologies | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||