apollo.gui.genomemap
Class ManagedView
java.lang.Object
apollo.gui.genomemap.LinearView
apollo.gui.genomemap.ManagedView
- All Implemented Interfaces:
- ManagedViewI, ViewI
- Direct Known Subclasses:
- DragView, TierView
public abstract class ManagedView
- extends LinearView
- implements ManagedViewI
An extension of LinearView for drawing analysis results.
| Fields inherited from class apollo.gui.genomemap.LinearView |
apollo_panel, backgroundColour, debug, foregroundColour, graphics, limitsSet, transformer, transparent, viewBounds, visibilityListeners, visible |
|
Constructor Summary |
ManagedView(javax.swing.JComponent ap,
java.lang.String name,
boolean visible)
|
| Methods inherited from class apollo.gui.genomemap.LinearView |
addViewListener, addVisibilityListener, areLimitsSet, fireViewEvent, getBackgroundColour, getBounds, getCentre, getComponent, getDrawBounds, getForegroundColour, getGraphics, getLimits, getMaximum, getMinimum, getName, getPreferredSize, getSelectionRectangle, getStrand, getTransform, getVisibleRange, init, isInvalid, isTransparent, isVisible, setBackgroundColour, setCentre, setComponent, setDebug, setDrawBounds, setForegroundColour, setGraphics, setInvalidity, setLimits, setLimitsSet, setMaximum, setMinimum, setName, setStrand, setTransform, setTransparent, setVisible, setVisible, setZoomFactor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface apollo.gui.genomemap.ViewI |
addViewListener, areLimitsSet, getBounds, getCentre, getComponent, getLimits, getMaximum, getMinimum, getName, getPreferredSize, getTransform, getVisibleRange, isInvalid, isTransparent, isVisible, setCentre, setComponent, setGraphics, setInvalidity, setLimits, setLimitsSet, setMaximum, setMinimum, setName, setTransparent, setVisible, setZoomFactor |
logger
protected static final org.apache.log4j.Logger logger
manager
protected TierManagerI manager
visibleDrawables
protected java.util.Vector visibleDrawables
leadSpaceSize
protected int leadSpaceSize
dropSpaceSize
protected int dropSpaceSize
ManagedView
public ManagedView(javax.swing.JComponent ap,
java.lang.String name,
boolean visible)
setTierManager
public void setTierManager(TierManagerI ftm)
- Description copied from interface:
ManagedViewI
- Set the tier manager for the view
- Specified by:
setTierManager in interface ManagedViewI
getTierManager
public TierManagerI getTierManager()
- Specified by:
getTierManager in interface ManagedViewI
setBounds
public void setBounds(java.awt.Rectangle bounds)
- Description copied from interface:
ViewI
- Set the coordinates of the rectangle containing the View.
- Specified by:
setBounds in interface ViewI- Overrides:
setBounds in class LinearView
- Parameters:
bounds - The rectangle describing the new bounds of the View in
parent component coordinates.
updateManagerHeight
protected void updateManagerHeight()
getYRange
protected int[] getYRange()
getLeadSpaceSize
public int getLeadSpaceSize()
setLeadSpaceSize
public void setLeadSpaceSize(int size)
getDropSpaceSize
public int getDropSpaceSize()
setDropSpaceSize
public void setDropSpaceSize(int size)
setXOrientation
public void setXOrientation(int direction)
setYOrientation
public void setYOrientation(int direction)
- YOrientation gets flipped with revcomping
clear
public void clear()
- Specified by:
clear in interface ViewI- Overrides:
clear in class LinearView
getVisibleDrawables
public java.util.Vector getVisibleDrawables()
paintView
public void paintView()
- Description copied from class:
LinearView
- paintView draws a cross in the centre of the View
and a small cross in the upper left quadrant
- Specified by:
paintView in interface ViewI- Overrides:
paintView in class LinearView
paintDrawables
protected void paintDrawables()