public abstract class TabsLayoutBase extends java.lang.Object implements TabsLayout
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
protected TabsLayoutCallback |
myCallback |
Constructor and Description |
---|
TabsLayoutBase() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected abstract LayoutPassInfo |
doLayout(java.util.List<TabInfo> infosToShow,
boolean isForced) |
protected double |
getDragOutMultiplier() |
java.awt.event.MouseListener |
getMouseListener() |
java.awt.event.MouseMotionListener |
getMouseMotionListener() |
java.awt.event.MouseWheelListener |
getMouseWheelListener() |
boolean |
ignoreTabLabelLimitedWidthWhenPaint() |
void |
init(TabsLayoutCallback callback) |
boolean |
isDragOut(TabLabel tabLabel,
int deltaX,
int deltaY) |
boolean |
isToolbarOnTabs() |
protected java.awt.Rectangle |
layout(javax.swing.JComponent c,
int x,
int y,
int width,
int height) |
protected java.awt.Rectangle |
layout(javax.swing.JComponent component,
java.awt.Rectangle bounds) |
protected java.awt.Rectangle |
layoutComp(int componentX,
int componentY,
javax.swing.JComponent comp,
int deltaWidth,
int deltaHeight) |
protected java.awt.Rectangle |
layoutComp(java.awt.Rectangle bounds,
javax.swing.JComponent comp,
int deltaWidth,
int deltaHeight) |
LayoutPassInfo |
layoutContainer(boolean isForced) |
void |
mouseMotionEventDispatched(java.awt.event.MouseEvent mouseMotionEvent) |
protected void |
reset(TabInfo each,
boolean resetLabels) |
protected void |
resetLayout(boolean resetLabels) |
protected void |
resetLayout(javax.swing.JComponent component) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDropIndexFor, isSingleRow
protected TabsLayoutCallback myCallback
protected double getDragOutMultiplier()
protected abstract LayoutPassInfo doLayout(java.util.List<TabInfo> infosToShow, boolean isForced)
public void init(TabsLayoutCallback callback)
init
in interface TabsLayout
public final LayoutPassInfo layoutContainer(boolean isForced)
layoutContainer
in interface TabsLayout
public java.awt.event.MouseListener getMouseListener()
getMouseListener
in interface TabsLayout
public java.awt.event.MouseMotionListener getMouseMotionListener()
getMouseMotionListener
in interface TabsLayout
public java.awt.event.MouseWheelListener getMouseWheelListener()
getMouseWheelListener
in interface TabsLayout
public void mouseMotionEventDispatched(java.awt.event.MouseEvent mouseMotionEvent)
mouseMotionEventDispatched
in interface TabsLayout
public boolean isToolbarOnTabs()
isToolbarOnTabs
in interface TabsLayout
public boolean isDragOut(TabLabel tabLabel, int deltaX, int deltaY)
isDragOut
in interface TabsLayout
public boolean ignoreTabLabelLimitedWidthWhenPaint()
ignoreTabLabelLimitedWidthWhenPaint
in interface TabsLayout
public void dispose()
Disposable
dispose
in interface Disposable
protected java.awt.Rectangle layoutComp(int componentX, int componentY, javax.swing.JComponent comp, int deltaWidth, int deltaHeight)
protected java.awt.Rectangle layoutComp(java.awt.Rectangle bounds, javax.swing.JComponent comp, int deltaWidth, int deltaHeight)
protected java.awt.Rectangle layout(javax.swing.JComponent c, int x, int y, int width, int height)
protected java.awt.Rectangle layout(javax.swing.JComponent component, java.awt.Rectangle bounds)
protected void resetLayout(boolean resetLabels)
protected void reset(TabInfo each, boolean resetLabels)
protected void resetLayout(javax.swing.JComponent component)