Class SingleRowLayout
java.lang.Object
com.intellij.ui.tabs.impl.TabLayout
com.intellij.ui.tabs.impl.singleRow.SingleRowLayout
- Direct Known Subclasses:
CompressibleSingleRowLayout,ScrollableSingleRowLayout
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanapplyTabLayout(SingleRowPassInfo data, TabLabel label, int length, int deltaToFit) protected voidprotected booleancreateShapeTransform(Rectangle labelRec) protected TabLabelintgetDropIndexFor(Point point) protected intgetRequiredLength(TabInfo eachInfo) intbooleanbooleanbooleanisTabHidden(TabInfo tabInfo) protected voidprotected voidlayoutSingleRow(List<TabInfo> visibleInfos) protected voidprepareLayoutPassInfo(SingleRowPassInfo data, TabInfo selected) protected voidvoidscroll(int units) voidprotected voidMethods inherited from class com.intellij.ui.tabs.impl.TabLayout
createShapeTransform, getDragOutMultiplier
-
Field Details
-
myLastSingRowLayout
-
myMorePopup
-
myLeftGhost
-
myRightGhost
-
-
Constructor Details
-
SingleRowLayout
-
-
Method Details
-
isSideComponentOnTabs
public boolean isSideComponentOnTabs()- Overrides:
isSideComponentOnTabsin classTabLayout
-
createShapeTransform
- Overrides:
createShapeTransformin classTabLayout
-
isDragOut
-
checkLayoutLabels
-
scroll
public void scroll(int units) -
getScrollUnitIncrement
public int getScrollUnitIncrement() -
scrollSelectionInView
public void scrollSelectionInView() -
layoutSingleRow
-
findLastVisibleLabel
-
prepareLayoutPassInfo
-
updateMoreIconVisibility
-
layoutMoreButton
-
layoutLabelsAndGhosts
-
applyTabLayout
protected boolean applyTabLayout(SingleRowPassInfo data, TabLabel label, int length, int deltaToFit) -
recomputeToLayout
-
calculateRequiredLength
-
getRequiredLength
-
isTabHidden
-
getDropIndexFor
- Specified by:
getDropIndexForin classTabLayout
-