apollo.gui.genomemap
Class LaidoutViewContainer

java.lang.Object
  extended by apollo.gui.genomemap.LinearView
      extended by apollo.gui.genomemap.ContainerView
          extended by apollo.gui.genomemap.LaidoutViewContainer
All Implemented Interfaces:
ControlledObjectI, ContainerViewI, PickViewI, ViewI, java.io.Serializable

public class LaidoutViewContainer
extends ContainerView
implements PickViewI

See Also:
Serialized Form

Field Summary
protected  ColumnApolloLayout layout
           
 
Fields inherited from class apollo.gui.genomemap.ContainerView
controller, views
 
Fields inherited from class apollo.gui.genomemap.LinearView
apollo_panel, backgroundColour, debug, foregroundColour, graphics, limitsSet, logger, transformer, transparent, viewBounds, visibilityListeners, visible
 
Fields inherited from interface apollo.gui.genomemap.ViewI
LEFTSIDE, NONE, RIGHTSIDE
 
Constructor Summary
LaidoutViewContainer(javax.swing.JComponent ap, ColumnApolloLayout layout, java.lang.String name)
           
 
Method Summary
 void add(ViewI v, java.lang.Object constraints)
           
 void addFirst(ViewI v, java.lang.Object constraints)
           
 void invertViews()
           
 void remove(ViewI v)
           
 void setBounds(java.awt.Rectangle rect)
          Set the coordinates of the rectangle containing the View.
 java.awt.Rectangle setScrollSpace(int where)
           
 
Methods inherited from class apollo.gui.genomemap.ContainerView
findFeaturesForSelection, findFeaturesForSelection, getContainedViewAt, getController, getControllerWindow, getViews, getViewsOfClass, needsAutoRemoval, paintView, setCentre, setComponent, setController, setDrawBounds, setGraphics, setInvalidity, setLimits, setLimitsSet, setMaximum, setMinimum, setZoomFactor
 
Methods inherited from class apollo.gui.genomemap.LinearView
addViewListener, addVisibilityListener, areLimitsSet, clear, fireViewEvent, getBackgroundColour, getBounds, getCentre, getComponent, getDrawBounds, getForegroundColour, getGraphics, getLimits, getMaximum, getMinimum, getName, getPreferredSize, getSelectionRectangle, getStrand, getTransform, getVisibleRange, init, isInvalid, isTransparent, isVisible, setBackgroundColour, setDebug, setForegroundColour, setName, setStrand, setTransform, setTransparent, setVisible, setVisible
 
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.PickViewI
findFeaturesForSelection, findFeaturesForSelection
 
Methods inherited from interface apollo.gui.genomemap.ViewI
addViewListener, areLimitsSet, clear, getBounds, getCentre, getComponent, getLimits, getMaximum, getMinimum, getName, getPreferredSize, getTransform, getVisibleRange, isInvalid, isTransparent, isVisible, paintView, setCentre, setComponent, setGraphics, setInvalidity, setLimits, setLimitsSet, setMaximum, setMinimum, setName, setTransparent, setVisible, setZoomFactor
 

Field Detail

layout

protected ColumnApolloLayout layout
Constructor Detail

LaidoutViewContainer

public LaidoutViewContainer(javax.swing.JComponent ap,
                            ColumnApolloLayout layout,
                            java.lang.String name)
Method Detail

setScrollSpace

public java.awt.Rectangle setScrollSpace(int where)
Specified by:
setScrollSpace in class ContainerView

setBounds

public void setBounds(java.awt.Rectangle rect)
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:
rect - The rectangle describing the new bounds of the View in parent component coordinates.

add

public void add(ViewI v,
                java.lang.Object constraints)

addFirst

public void addFirst(ViewI v,
                     java.lang.Object constraints)

remove

public void remove(ViewI v)

invertViews

public void invertViews()