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, myMoreToolbar
myCallback
KEY
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, showMorePopup
getMouseListener, getMouseMotionListener, layoutContainer, reset, resetLayout, resetLayout
public static final int DEADZONE_FOR_DECLARE_TAB_HIDDEN
public void scroll(int units)
scroll
in class SingleRowLayout
protected boolean checkLayoutLabels(SingleRowPassInfo data, boolean isForcedLayout)
checkLayoutLabels
in class SingleRowLayout
public int getScrollUnitIncrement()
getScrollUnitIncrement
in class SingleRowLayout
protected void recomputeToLayout(SingleRowPassInfo data)
recomputeToLayout
in class SingleRowLayout
protected void layoutMoreButton(SingleRowPassInfo data)
layoutMoreButton
in class SingleRowLayout
protected boolean applyTabLayout(SingleRowPassInfo data, TabLabel label, int length)
applyTabLayout
in class SingleRowLayout
public boolean isTabOutOfView(TabInfo tabInfo)
isTabOutOfView
in class SingleRowLayout
protected int getSplitterSideTabsLimit()
getSplitterSideTabsLimit
in class SingleRowLayout
public void dispose()
Disposable
dispose
in interface Disposable
dispose
in class SingleRowLayout
protected SingleRowPassInfo doLayout(java.util.List<TabInfo> infosToShow, boolean isForced)
doLayout
in class SingleRowLayout
public java.awt.event.MouseWheelListener getMouseWheelListener()
getMouseWheelListener
in interface TabsLayout
getMouseWheelListener
in class TabsLayoutBase
public void mouseMotionEventDispatched(java.awt.event.MouseEvent mouseMotionEvent)
mouseMotionEventDispatched
in interface TabsLayout
mouseMotionEventDispatched
in class TabsLayoutBase
public boolean ignoreTabLabelLimitedWidthWhenPaint()
ignoreTabLabelLimitedWidthWhenPaint
in interface TabsLayout
ignoreTabLabelLimitedWidthWhenPaint
in class TabsLayoutBase