public class SWTAlignmentLabelArea extends SWTAlignmentRowsArea<AlignmentLabelSubArea> implements ToolkitSpecificAlignmentLabelArea
Constructor and Description |
---|
SWTAlignmentLabelArea(AlignmentLabelArea independentComponent,
org.eclipse.swt.widgets.Composite parent,
int style)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
AlignmentLabelArea |
getIndependentComponent() |
void |
reinsertSubelements()
Recreates the components displaying labels for sequences and data areas in the alignment according to
the current model information.
|
void |
setVerticalScrollPosition(int position)
Sets the vertical scroll position of this component.
|
removeAll, repaint
getSWTComponent
changed, checkSubclass, 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, 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, requestLayout, 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, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
assignSize, getLocationInParent, getTargetToolkit, getToolkitSize, isFocusOwner, repaint, requestFocus
assignSize, getLocationInParent, getTargetToolkit, getToolkitSize, isFocusOwner, requestFocus
public SWTAlignmentLabelArea(AlignmentLabelArea independentComponent, org.eclipse.swt.widgets.Composite parent, int style)
Note that this method will only add subelements if the subelements of the associated ScrollContainerSWTAlignmentContentArea
are already present. Otherwise the component will be empty after calling this method and you need to call
reinsertSubelements()
again after the associated alignment content area has been created.
parent
- the parent componentstyle
- the SWT style valueindependentComponent
- the toolkit independent component that uses this instancepublic void setVerticalScrollPosition(int position)
AlignmentContentArea
will not adjust its position. Set the content area scroll position instead, which will also scroll
this label area.position
- the y-coordinate that shall be the new originpublic AlignmentLabelArea getIndependentComponent()
getIndependentComponent
in interface ToolkitComponent
getIndependentComponent
in class AbstractSWTComposite
public void reinsertSubelements()
Note that this method will only add elements if the subelements of the associated
ScrollContainerSWTAlignmentContentArea
are already present. Otherwise the component will be
empty after calling this method.
reinsertSubelements
in interface ToolkitSpecificAlignmentRowsArea<AlignmentLabelSubArea>