charite.christo.metannogen
Class AbstractDatasetView
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
charite.christo.ChPanel
charite.christo.metannogen.AbstractDatasetView
- All Implemented Interfaces:
- ChProcessEvent, ChRunnable, Disposable, PaintHook, DatasetView, ImageObserver, MenuContainer, Serializable, Accessible, Scrollable
- Direct Known Subclasses:
- ORIGINAL_DatasetView
public abstract class AbstractDatasetView
- extends ChPanel
- implements DatasetView, ChProcessEvent, PaintHook, ChRunnable
- See Also:
- Serialized Form
Methods inherited from class charite.christo.ChPanel |
getDndDateien, getPreferredScrollableViewportSize, getPreferredSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getToolTipLocation, getToolTipText, getWhenPainted, isAlreadyPainted, isShowing, paintChildren, paintComponent, processEvent |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
BUT_LAB_changeSource
public static final String BUT_LAB_changeSource
- See Also:
- Constant Field Values
AbstractDatasetView
public AbstractDatasetView()
toggle
public ChButton toggle(String columnName)
- GUI Element for datasets.
For a data-field containing the values true and false
choice
public ChCombo choice(String columnName,
String[] values)
- GUI Element for datasets.
For a datafield containing a choice of values.
textField
public JTextComponent textField(String columnName,
int width,
boolean multiLine)
- GUI Element for datasets.
Single-line or multi-line Textfield
horizontalBox
public static JComponent horizontalBox(Object... compounds)
- GUI Element for datasets.
Creates a horizontal container with the given compounds
verticalBox
public static JComponent verticalBox(Object... compounds)
- GUI Element for datasets.
Creates a vertical container with the given compounds
panel
public static JComponent panel(Object... compounds)
- GUI Element for datasets.
Creates a horizontal container with the given compounds
textFieldComments
public JTextComponent textFieldComments()
textFieldCommentsScrollPane
public JScrollPane textFieldCommentsScrollPane()
textFieldEquation
public JTextComponent textFieldEquation()
panelDatasetIdentifier
public JComponent panelDatasetIdentifier()
textFieldEC
public JTextComponent textFieldEC()
textFieldDeltaG
public JTextComponent textFieldDeltaG()
textFieldPathway
public JTextComponent textFieldPathway()
togglePermanent
public ChButton togglePermanent()
toggleAccepted
public AbstractButton toggleAccepted()
toggleNotUsed
public AbstractButton toggleNotUsed()
buttonUpload
public JComponent buttonUpload()
buttonAddCompound
public JComponent buttonAddCompound()
buttonAddCompartment
public JComponent buttonAddCompartment()
buttonKill
public JComponent buttonKill()
buttonClose
public JComponent buttonClose()
panelWarnIfChangedOnServer
public JComponent panelWarnIfChangedOnServer()
panelEquationHumanReadable
public JComponent panelEquationHumanReadable()
panelEquationOriginal
public JComponent panelEquationOriginal()
processEvent
public boolean processEvent(JComponent c,
AWTEvent ev)
- Description copied from interface:
ChProcessEvent
- returns true if the component should also invoke processEvent();
- Specified by:
processEvent
in interface ChProcessEvent
run
public Object run(String id,
Object arg)
- Specified by:
run
in interface ChRunnable
getCompartmentPanel
public JComponent getCompartmentPanel()
isPermanent
public boolean isPermanent()
- Specified by:
isPermanent
in interface DatasetView
setIsPermanent
public void setIsPermanent(boolean b)
- Specified by:
setIsPermanent
in interface DatasetView
setChangedOnServer
public void setChangedOnServer()
- Specified by:
setChangedOnServer
in interface DatasetView
getDataset
public Dataset getDataset()
- Specified by:
getDataset
in interface DatasetView
setDataset
public void setDataset(Dataset ds)
- Call this exactly once after instantiation
- Specified by:
setDataset
in interface DatasetView
layoutDatasetView
public abstract void layoutDatasetView()
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
paintHook
public boolean paintHook(JComponent c,
Graphics g,
boolean after)
- Specified by:
paintHook
in interface PaintHook
after
- This method is called once before and once after super.paintComponent.
- Returns:
- means do not call super.paintComponent
'The most important classes are StrapAlign, StrapProtein and StrapEvent.'