|
||||||||||
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.JInternalFrame
info.bioinfweb.treegraph.gui.treeframe.TreeInternalFrame
public class TreeInternalFrame
The internal frame displaying a document.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JInternalFrame |
---|
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIcon |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
static int |
DATA_COLUMN_WIDTH
|
static int |
DECIMAL_COLUMN_WIDTH
|
private Document |
document
|
private JSplitPane |
documentSplitPane
|
private InternalFrameListener |
internalFrameListener
|
private JPanel |
jContentPane
|
private JTable |
table
|
private JScrollPane |
tableScrollPane
|
static double |
TREE_WIDTH_RATIO
|
private JScrollPane |
treeScrollPane
|
private TreeEditlInputListener |
treeViewInputListener
|
private TreeViewPanel |
treeViewPanel
|
Fields inherited from class javax.swing.JInternalFrame |
---|
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
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 javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
TreeInternalFrame(Document document)
This is the xxx default constructor |
Method Summary | |
---|---|
Document |
getDocument()
|
Rectangle |
getDocumentRect()
|
private JSplitPane |
getDocumentSplitPane()
This method initializes documentSplitPane |
private InternalFrameListener |
getInternalFrameListener()
|
private JPanel |
getJContentPane()
This method initializes jContentPane |
NodeBranchDataAdapter |
getSelectedAdapter()
Returns the selected adapter in the node/branch data table. |
private JTable |
getTable()
This method initializes table |
private DocumentTableModel |
getTableModel()
|
private JScrollPane |
getTableScrollPane()
This method initializes tableScrollPane |
private JScrollPane |
getTreeScrollPane()
This method initializes scrollPane |
private TreeEditlInputListener |
getTreeViewInputListener()
|
TreeViewPanel |
getTreeViewPanel()
This method initializes treeViewPanel |
private void |
initialize()
This method initializes this |
private void |
setColumnWidths()
|
void |
setScrollPaneBgColor(Color color)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final double TREE_WIDTH_RATIO
public static final int DATA_COLUMN_WIDTH
public static final int DECIMAL_COLUMN_WIDTH
private Document document
private InternalFrameListener internalFrameListener
private JPanel jContentPane
private JSplitPane documentSplitPane
private JScrollPane treeScrollPane
private TreeViewPanel treeViewPanel
private TreeEditlInputListener treeViewInputListener
private JScrollPane tableScrollPane
private JTable table
Constructor Detail |
---|
public TreeInternalFrame(Document document)
Method Detail |
---|
private void initialize()
private InternalFrameListener getInternalFrameListener()
public Document getDocument()
public Rectangle getDocumentRect()
public void setScrollPaneBgColor(Color color)
private void setColumnWidths()
public NodeBranchDataAdapter getSelectedAdapter()
null
if no column is selectedprivate JPanel getJContentPane()
private JSplitPane getDocumentSplitPane()
private JScrollPane getTreeScrollPane()
public TreeViewPanel getTreeViewPanel()
private TreeEditlInputListener getTreeViewInputListener()
private JScrollPane getTableScrollPane()
private JTable getTable()
private DocumentTableModel getTableModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |