| java.lang.Object org.netbeans.swing.tabcontrol.plaf.BaseTabLayoutModel
All known Subclasses: org.netbeans.swing.tabcontrol.plaf.DefaultTabLayoutModel,
BaseTabLayoutModel | class BaseTabLayoutModel implements TabLayoutModel(Code) | | Default implementation of TabLayoutModel. Simply provides a series of
rectangles for each tab starting at 0 and ending at the last element, with
the width set to the calculated width for the string plus a padding value
assigned in setPadding .
To implement TabLayoutModel, it is often useful to create an implementation which
wraps an instance of DefaultTabLayoutModel , and uses it to calculate
tab sizes.
Do not use this class directly, use DefaultTabLayoutModel - this class
exists to enable unit tests to provide a subclass
author: Tim Boudreau |
textHeight | protected int textHeight(Code) | | |
dropIndexOfPoint | public int dropIndexOfPoint(int x, int y)(Code) | | |
getH | public int getH(int index)(Code) | | |
getW | public int getW(int index)(Code) | | |
getX | public int getX(int index)(Code) | | |
getY | public int getY(int index)(Code) | | |
iconHeight | protected int iconHeight(int index)(Code) | | |
iconWidth | protected int iconWidth(int index)(Code) | | |
indexOfPoint | public int indexOfPoint(int x, int y)(Code) | | |
textHeight | protected int textHeight(int index)(Code) | | |
textWidth | protected int textWidth(int index)(Code) | | |
|
|