info.bioinfweb.treegraph.gui.dialogs.datatable
Class DataTableDialog

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by javax.swing.JDialog
                      extended by info.webinsel.util.swing.OkCancelApplyDialog
                          extended by info.webinsel.util.swing.OkCancelApplyHelpDialog
                              extended by info.webinsel.wikihelp.client.OkCancelApplyWikiHelpDialog
                                  extended by info.bioinfweb.treegraph.gui.dialogs.EditDialog
                                      extended by info.bioinfweb.treegraph.gui.dialogs.datatable.DataTableDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class DataTableDialog
extends EditDialog

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
 
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
 
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
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
private  JButton addToValuesButton
           
private  JButton applyNameTableButton
           
private  AssignImportColumnsDialog assignImportDialog
           
private  JButton copyButton
           
private  CopyNodeDataDialog copyDialog
           
static int DATA_COLUMN_WIDTH
           
private  JSplitPane dataSplitPane
           
static int DECIMAL_COLUMN_WIDTH
           
private  info.webinsel.util.swing.DecimalInputDialog decimalInputDialog
           
static int DEFAULT_TREE_VIEW_WIDTH
           
private  JButton deleteButton
           
private  JPanel editButtonsPanel
           
static String EXPORT_FILE_EXT
           
private  JButton exportButton
           
private  ExportNodeDataDialog exportDialog
           
private  JButton expValuesButton
           
private  JFileChooser fileChooser
           
private  JButton importButton
           
private  JButton IntervalButton
           
private  IntervalDialog intervalDialog
           
private  JPanel jContentPane
           
private  JButton logValuesButton
           
private  JButton multiplyValuesButton
           
private  ApplyNameTableDialog nameTableDialog
           
private  JButton raiseToButton
           
private  JButton renameIDButton
           
private  RenameIDDialog renameIDDialog
           
private  JButton replaceButton
           
private  ReplaceInNodeDataDialog replaceDialog
           
private  DataTableDialog self
           
private static long serialVersionUID
           
private  JButton setDecimalToAllButton
           
private  JButton setTextToAllButton
           
private  JTable table
           
private  JScrollPane tableScrollPane
           
private  JScrollPane treeScrollPane
           
private  TreeViewPanel treeViewPanel
           
 
Fields inherited from class info.webinsel.wikihelp.client.OkCancelApplyWikiHelpDialog
UNDEFINED_HELP_CODE
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
 
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
DataTableDialog(Frame owner)
           
 
Method Summary
protected  boolean apply()
           
private  void assignDocument(Document document)
           
private  boolean executeDialog(EditDialog dialog)
           
private  JButton getAddToValuesButton()
          This method initializes addToValuesButton
private  JButton getApplyNameTableButton()
          This method initializes applyNameTableButton
private  JButton getCopyButton()
          This method initializes copyButton
private  JSplitPane getDataSplitPane()
          This method initializes dataSplitPane
private  JButton getDeleteButton()
          This method initializes deleteButton
private  JPanel getEditButtonsPanel()
          This method initializes editButtonsPanel
private  JButton getExportButton()
          This method initializes exportButton
private  JButton getExpValuesButton()
          This method initializes expValuesButton
private  JFileChooser getFileChooser()
           
private  JButton getImportButton()
          This method initializes importButton
private  JButton getIntervalButton()
          This method initializes IntervalButton
private  JPanel getJContentPane()
          This method initializes jContentPane
private  JButton getLogValuesButton()
          This method initializes logButton
private  JButton getMultiplyValuesButton()
          This method initializes multiplyValuesButton
private  JButton getRaiseToButton()
          This method initializes raiseToButton
private  JButton getRenameIDButton()
          This method initializes renameIDButton
private  JButton getReplaceButton()
          This method initializes replaceButton
private  JButton getSetDecimalToAllButton()
          This method initializes setDecimalToAllButton
private  JButton getSetTextToAllButton()
          This method initializes setTextToAllButton
private  JTable getTable()
          This method initializes table
private  NodeDataTableModel getTableModel()
           
private  JScrollPane getTableScrollPane()
          This method initializes tableScrollPane
private  JScrollPane getTreeScrollPane()
          This method initializes treeScrollPane
private  TreeViewPanel getTreeViewPanel()
          This method initializes treeViewPanel
private  void initialize()
          This method initializes this
protected  boolean onExecute()
           
private  void setButtonStatus()
           
private  void setColumnWidths()
           
 
Methods inherited from class info.bioinfweb.treegraph.gui.dialogs.EditDialog
execute, getDocument, getSelection, setDocument, setSelection
 
Methods inherited from class info.webinsel.wikihelp.client.OkCancelApplyWikiHelpDialog
getHelpCode, getWikiHelp, help, setHelpCode
 
Methods inherited from class info.webinsel.util.swing.OkCancelApplyHelpDialog
addMoreButtons
 
Methods inherited from class info.webinsel.util.swing.OkCancelApplyDialog
execute, getApplyButton, getButtonsPanel, getCancelButton, getOkButton
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXPORT_FILE_EXT

public static final String EXPORT_FILE_EXT
See Also:
Constant Field Values

DEFAULT_TREE_VIEW_WIDTH

public static final int DEFAULT_TREE_VIEW_WIDTH
See Also:
Constant Field Values

DATA_COLUMN_WIDTH

public static final int DATA_COLUMN_WIDTH
See Also:
Constant Field Values

DECIMAL_COLUMN_WIDTH

public static final int DECIMAL_COLUMN_WIDTH
See Also:
Constant Field Values

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

self

private DataTableDialog self

exportDialog

private ExportNodeDataDialog exportDialog

fileChooser

private JFileChooser fileChooser

assignImportDialog

private AssignImportColumnsDialog assignImportDialog

copyDialog

private CopyNodeDataDialog copyDialog

decimalInputDialog

private info.webinsel.util.swing.DecimalInputDialog decimalInputDialog

nameTableDialog

private ApplyNameTableDialog nameTableDialog

replaceDialog

private ReplaceInNodeDataDialog replaceDialog

renameIDDialog

private RenameIDDialog renameIDDialog

intervalDialog

private IntervalDialog intervalDialog

jContentPane

private JPanel jContentPane

editButtonsPanel

private JPanel editButtonsPanel

deleteButton

private JButton deleteButton

copyButton

private JButton copyButton

importButton

private JButton importButton

exportButton

private JButton exportButton

addToValuesButton

private JButton addToValuesButton

multiplyValuesButton

private JButton multiplyValuesButton

dataSplitPane

private JSplitPane dataSplitPane

treeViewPanel

private TreeViewPanel treeViewPanel

tableScrollPane

private JScrollPane tableScrollPane

table

private JTable table

treeScrollPane

private JScrollPane treeScrollPane

applyNameTableButton

private JButton applyNameTableButton

renameIDButton

private JButton renameIDButton

logValuesButton

private JButton logValuesButton

expValuesButton

private JButton expValuesButton

raiseToButton

private JButton raiseToButton

replaceButton

private JButton replaceButton

setDecimalToAllButton

private JButton setDecimalToAllButton

setTextToAllButton

private JButton setTextToAllButton

IntervalButton

private JButton IntervalButton
Constructor Detail

DataTableDialog

public DataTableDialog(Frame owner)
Parameters:
owner -
Method Detail

executeDialog

private boolean executeDialog(EditDialog dialog)

setColumnWidths

private void setColumnWidths()

assignDocument

private void assignDocument(Document document)

onExecute

protected boolean onExecute()
Specified by:
onExecute in class EditDialog

apply

protected boolean apply()
Specified by:
apply in class info.webinsel.util.swing.OkCancelApplyDialog

setButtonStatus

private void setButtonStatus()

getTableModel

private NodeDataTableModel getTableModel()

initialize

private void initialize()
This method initializes this


getFileChooser

private JFileChooser getFileChooser()

getJContentPane

private JPanel getJContentPane()
This method initializes jContentPane

Returns:
javax.swing.JPanel

getEditButtonsPanel

private JPanel getEditButtonsPanel()
This method initializes editButtonsPanel

Returns:
javax.swing.JPanel

getImportButton

private JButton getImportButton()
This method initializes importButton

Returns:
javax.swing.JButton

getExportButton

private JButton getExportButton()
This method initializes exportButton

Returns:
javax.swing.JButton

getAddToValuesButton

private JButton getAddToValuesButton()
This method initializes addToValuesButton

Returns:
javax.swing.JButton

getMultiplyValuesButton

private JButton getMultiplyValuesButton()
This method initializes multiplyValuesButton

Returns:
javax.swing.JButton

getDeleteButton

private JButton getDeleteButton()
This method initializes deleteButton

Returns:
javax.swing.JButton

getCopyButton

private JButton getCopyButton()
This method initializes copyButton

Returns:
javax.swing.JButton

getDataSplitPane

private JSplitPane getDataSplitPane()
This method initializes dataSplitPane

Returns:
javax.swing.JSplitPane

getTreeViewPanel

private TreeViewPanel getTreeViewPanel()
This method initializes treeViewPanel

Returns:
javax.swing.JPanel

getTableScrollPane

private JScrollPane getTableScrollPane()
This method initializes tableScrollPane

Returns:
javax.swing.JScrollPane

getTable

private JTable getTable()
This method initializes table

Returns:
javax.swing.JTable

getTreeScrollPane

private JScrollPane getTreeScrollPane()
This method initializes treeScrollPane

Returns:
javax.swing.JScrollPane

getApplyNameTableButton

private JButton getApplyNameTableButton()
This method initializes applyNameTableButton

Returns:
javax.swing.JButton

getRenameIDButton

private JButton getRenameIDButton()
This method initializes renameIDButton

Returns:
javax.swing.JButton

getLogValuesButton

private JButton getLogValuesButton()
This method initializes logButton

Returns:
javax.swing.JButton

getExpValuesButton

private JButton getExpValuesButton()
This method initializes expValuesButton

Returns:
javax.swing.JButton

getRaiseToButton

private JButton getRaiseToButton()
This method initializes raiseToButton

Returns:
javax.swing.JButton

getReplaceButton

private JButton getReplaceButton()
This method initializes replaceButton

Returns:
javax.swing.JButton

getSetDecimalToAllButton

private JButton getSetDecimalToAllButton()
This method initializes setDecimalToAllButton

Returns:
javax.swing.JButton

getSetTextToAllButton

private JButton getSetTextToAllButton()
This method initializes setTextToAllButton

Returns:
javax.swing.JButton

getIntervalButton

private JButton getIntervalButton()
This method initializes IntervalButton

Returns:
javax.swing.JButton