public interface TabLayoutModel
Modifier and Type | Method and Description |
---|---|
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) |
int getX(int index)
index
in the data model.index
- The tab indexint getY(int index)
index
in the data model.index
- The tab indexint getW(int index)
index
in the data model.index
- The tab indexint getH(int index)
index
in the data model.index
- The tab indexint 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 coordinateint dropIndexOfPoint(int x, int y)
void setPadding(Dimension d)