public class ScrollableSingleRowLayout extends SingleRowLayout
| Modifier and Type | Class and Description |
|---|---|
static class |
ScrollableSingleRowLayout.ScrollableSingleRowTabsLayoutInfo |
Disposable.Parent| Modifier and Type | Field and Description |
|---|---|
static int |
DEADZONE_FOR_DECLARE_TAB_HIDDEN |
myLastSingRowLayout, myMoreToolbarmyCallbackKEY| Constructor and Description |
|---|
ScrollableSingleRowLayout() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applyTabLayout(SingleRowPassInfo data,
TabLabel label,
int length) |
protected boolean |
checkLayoutLabels(SingleRowPassInfo data,
boolean isForcedLayout) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected SingleRowPassInfo |
doLayout(java.util.List<TabInfo> infosToShow,
boolean isForced) |
java.awt.event.MouseWheelListener |
getMouseWheelListener() |
int |
getScrollUnitIncrement() |
protected int |
getSplitterSideTabsLimit() |
boolean |
ignoreTabLabelLimitedWidthWhenPaint() |
boolean |
isTabOutOfView(TabInfo tabInfo) |
protected void |
layoutMoreButton(SingleRowPassInfo data) |
void |
mouseMotionEventDispatched(java.awt.event.MouseEvent mouseMotionEvent) |
protected void |
recomputeToLayout(SingleRowPassInfo data) |
void |
scroll(int units) |
calculateRequiredLength, canShowMorePopup, getCallback, getDragOutMultiplier, getDropIndexFor, getRequiredLength, init, isDragOut, isSingleRow, isToolbarOnTabs, layout, layout, layoutComp, layoutComp, layoutLabels, prepareLayoutPassInfo, showMorePopupgetMouseListener, getMouseMotionListener, layoutContainer, reset, resetLayout, resetLayoutpublic static final int DEADZONE_FOR_DECLARE_TAB_HIDDEN
public void scroll(int units)
scroll in class SingleRowLayoutprotected boolean checkLayoutLabels(SingleRowPassInfo data, boolean isForcedLayout)
checkLayoutLabels in class SingleRowLayoutpublic int getScrollUnitIncrement()
getScrollUnitIncrement in class SingleRowLayoutprotected void recomputeToLayout(SingleRowPassInfo data)
recomputeToLayout in class SingleRowLayoutprotected void layoutMoreButton(SingleRowPassInfo data)
layoutMoreButton in class SingleRowLayoutprotected boolean applyTabLayout(SingleRowPassInfo data, TabLabel label, int length)
applyTabLayout in class SingleRowLayoutpublic boolean isTabOutOfView(TabInfo tabInfo)
isTabOutOfView in class SingleRowLayoutprotected int getSplitterSideTabsLimit()
getSplitterSideTabsLimit in class SingleRowLayoutpublic void dispose()
Disposabledispose in interface Disposabledispose in class SingleRowLayoutprotected SingleRowPassInfo doLayout(java.util.List<TabInfo> infosToShow, boolean isForced)
doLayout in class SingleRowLayoutpublic java.awt.event.MouseWheelListener getMouseWheelListener()
getMouseWheelListener in interface TabsLayoutgetMouseWheelListener in class TabsLayoutBasepublic void mouseMotionEventDispatched(java.awt.event.MouseEvent mouseMotionEvent)
mouseMotionEventDispatched in interface TabsLayoutmouseMotionEventDispatched in class TabsLayoutBasepublic boolean ignoreTabLabelLimitedWidthWhenPaint()
ignoreTabLabelLimitedWidthWhenPaint in interface TabsLayoutignoreTabLabelLimitedWidthWhenPaint in class TabsLayoutBase