public class SWTAlignmentContentArea extends SWTAlignmentRowsArea<AlignmentSubArea> implements ToolkitSpecificAlignmentContentArea
AlignmentContentArea
.Constructor and Description |
---|
SWTAlignmentContentArea(AlignmentContentArea independentComponent,
org.eclipse.swt.widgets.Composite parentComposite,
int style) |
Modifier and Type | Method and Description |
---|---|
void |
addDataAreaList(DataAreaList list)
Adds a list of data areas as children of this component.
|
void |
assignSequenceAreaSize(String sequenceID)
Delegates to the
SequenceArea contained in this component to assign its current size. |
void |
assignSize() |
AlignmentSubArea |
getAreaByY(int y)
Returns the child component containing the specified y-coordinate.
|
int |
getHeight()
Returns the height of this component.
|
AlignmentContentArea |
getIndependentComponent() |
SequenceArea |
getSequenceAreaByID(String sequenceID)
Returns the
SequenceArea inside this area that displays the sequence with the specified ID. |
void |
reinsertSubelements()
Recreates the components displaying sequences and data areas in the alignment according to
the current model information.
|
void |
repaintSequenceAreas()
Forces all contained
SequenceArea s (not data areas) to be repainted. |
removeAll, repaint, subAreaIterator
getLocationInParent, getTargetToolkit, getToolkitSize
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
subAreaIterator
getLocationInParent, getTargetToolkit, getToolkitSize, repaint
public SWTAlignmentContentArea(AlignmentContentArea independentComponent, org.eclipse.swt.widgets.Composite parentComposite, int style)
public AlignmentContentArea getIndependentComponent()
getIndependentComponent
in interface ToolkitComponent
getIndependentComponent
in class AbstractSWTComposite
public void addDataAreaList(DataAreaList list)
ToolkitSpecificAlignmentContentArea
addDataAreaList
in interface ToolkitSpecificAlignmentContentArea
list
- the data areas to be addedpublic void assignSize()
assignSize
in interface ToolkitComponent
assignSize
in class AbstractSWTComposite
public AlignmentSubArea getAreaByY(int y)
ToolkitSpecificAlignmentContentArea
getAreaByY
in interface ToolkitSpecificAlignmentContentArea
y
- the y-coordinate relative to this alignment content areapublic void reinsertSubelements()
ToolkitSpecificAlignmentRowsArea
reinsertSubelements
in interface ToolkitSpecificAlignmentRowsArea<AlignmentSubArea>
public SequenceArea getSequenceAreaByID(String sequenceID)
ToolkitSpecificAlignmentContentArea
SequenceArea
inside this area that displays the sequence with the specified ID.getSequenceAreaByID
in interface ToolkitSpecificAlignmentContentArea
sequenceID
- the ID of the sequence displayed in the returned areanull
if no sequence with the specified ID is displayed in this areapublic int getHeight()
ToolkitSpecificAlignmentContentArea
getHeight
in interface ToolkitSpecificAlignmentContentArea
public void assignSequenceAreaSize(String sequenceID) throws IllegalArgumentException
ToolkitSpecificAlignmentContentArea
SequenceArea
contained in this component to assign its current size.assignSequenceAreaSize
in interface ToolkitSpecificAlignmentContentArea
sequenceID
- the ID of the sequence displayed in the sequence area to be resizedIllegalArgumentException
- if no sequence area for the specified sequence ID was foundpublic void repaintSequenceAreas()
ToolkitSpecificAlignmentContentArea
SequenceArea
s (not data areas) to be repainted.repaintSequenceAreas
in interface ToolkitSpecificAlignmentContentArea