public interface ToolkitSpecificAlignmentArea extends ToolkitComponent
AlignmentArea
.Modifier and Type | Method and Description |
---|---|
Rectangle |
getVisibleAlignmentRect()
Returns the rectangle in pixels of the alignment (with associated data areas) that is visible in the current
scroll container.
|
void |
scrollAlignmentRectToVisible(Rectangle rectangle)
Scrolls the contained components so that the specified rectangle is visible.
|
void |
setHideHorizontalScrollBar(boolean hideHorizontalScrollBar)
Determines whether a horizontal scroll bar should be displayed underneath this element.
|
assignSize, getIndependentComponent, getLocationInParent, getTargetToolkit, getToolkitSize, repaint
void scrollAlignmentRectToVisible(Rectangle rectangle)
rectangle
- the rectangle in the specified alignment that shall become visibleRectangle getVisibleAlignmentRect()
void setHideHorizontalScrollBar(boolean hideHorizontalScrollBar)
MultipleAlignmentsContainer
only the scroll bar of the bottom most alignment is displayed. If
you use an instance of AlignmentArea
is used outside MultipleAlignmentsContainer
you would
usually display a scroll bar.hideHorizontalScrollBar
- Specify true
here to display a horizontal scroll bar and false
otherwise