|
org.netbeans.swing.tabcontrol 1.8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabLayoutModel
A model representing the visual layout of tabs in a TabDataModel as a set of rectangles. Used by BasicTabDisplayerUI and its subclasses to manage the layout of tabs in the displayer.
Method Summary | |
---|---|
int |
dropIndexOfPoint(int x,
int y)
Gets the index of possibly dropped component (as a new tab). |
int |
getH(int index)
Get the height of the tab rectangle for the tab at index index in the data model. |
int |
getW(int index)
Get the width of the tab rectangle for the tab at index index in the data model. |
int |
getX(int index)
Get the x coordinate of the tab rectangle for the tab at index index in the data model. |
int |
getY(int index)
Get the y coordinate of the tab rectangle for the tab at index index in the data model. |
int |
indexOfPoint(int x,
int y)
Get the index of the tab in the data model for the supplied point. |
void |
setPadding(Dimension d)
|
Method Detail |
---|
int getX(int index)
index
in the data model.
index
- The tab index
int getY(int index)
index
in the data model.
index
- The tab index
int getW(int index)
index
in the data model.
index
- The tab index
int getH(int index)
index
in the data model.
index
- The tab index
int indexOfPoint(int x, int y)
x
- X coordinate of a point representing a set of pixel coordinate in the space
modeled by this layout modely
- Y coordinate
int dropIndexOfPoint(int x, int y)
void setPadding(Dimension d)
|
org.netbeans.swing.tabcontrol 1.8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |