java.lang.Object
apollo.gui.genomemap.LinearView
apollo.gui.genomemap.GraphView
- All Implemented Interfaces:
- javax.swing.event.ChangeListener, java.util.EventListener, LinearViewI, PopupViewI, ViewI
- public class GraphView
- extends LinearView
- implements javax.swing.event.ChangeListener, PopupViewI
| Methods inherited from class apollo.gui.genomemap.LinearView |
addViewListener, areLimitsSet, fireViewEvent, getBackgroundColour, getBounds, getCentre, getComponent, getDrawBounds, getForegroundColour, getLimits, getMaximum, getMinimum, getName, getTransform, getVisibleFeatures, getVisibleRange, init, isInvalid, isVisible, paintView, setBackgroundColour, setBounds, setCentre, setComponent, setDebug, setForegroundColour, setGraphics, setInvalidity, setLimits, setLimitsSet, setMaximum, setMinimum, setName, setTransform, setVisible, setZoomFactor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
calculator
apollo.gui.ScoreCalculator calculator
scroller
private int scroller
prefHeight
private static final int prefHeight
- See Also:
- Constant Field Values
plotColour
java.awt.Color plotColour
GraphView
public GraphView(javax.swing.JComponent component,
java.lang.String name)
getScoreCalculator
public apollo.gui.ScoreCalculator getScoreCalculator()
setScoreCalculator
public void setScoreCalculator(apollo.gui.ScoreCalculator calc)
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent evt)
- I dont think this is actually used
- Specified by:
stateChanged in interface javax.swing.event.ChangeListener
setScrollFlag
public void setScrollFlag(int scroller)
setScrollSpace
public java.awt.Rectangle setScrollSpace(int where)
setDrawBounds
public void setDrawBounds(java.awt.Rectangle rect)
- Overrides:
setDrawBounds in class LinearView
paintView
public void paintView()
- Description copied from interface:
ViewI
- Paint the Drawable objects in the View.
- Specified by:
paintView in interface ViewI- Overrides:
paintView in class LinearView
setPlotColour
public void setPlotColour(java.awt.Color colour)
getPlotColour
public java.awt.Color getPlotColour()
getPreferredSize
public java.awt.Rectangle getPreferredSize()
- Description copied from interface:
ViewI
- Get the preferred size for the view
- Specified by:
getPreferredSize in interface ViewI- Overrides:
getPreferredSize in class LinearView
setXOrientation
public void setXOrientation(int direction)
showPopupMenu
public void showPopupMenu(java.awt.event.MouseEvent evt)
- Specified by:
showPopupMenu in interface PopupViewI