public interface IThemeToolBar
| Modifier and Type | Method and Description |
|---|---|
int |
getBottomY()
Gets the bottom y of the toolbar.
|
int |
getCenterX()
Gets the center x of the toolbar.
|
int |
getHeight()
Gets the toolbar height.
|
int |
getMiddleY()
Gets the center/middle y of the toolbar.
|
int |
getRightX()
Gets the right most X position of the toolbar
|
int |
getWidth()
Gets the toolbar width
|
int |
getX()
Gets the x position.
|
int |
getY()
Gets the y position.
|
boolean |
isMouseOver()
Is the mouse over the toolbar.
|
void |
setLayoutCenteredHorizontal(int centerX,
int y,
int buttonGap,
boolean leftToRight)
Centered Horizontal layout
|
void |
setLayoutCenteredVertical(int startX,
int centerY,
int buttonGap,
boolean leftToRight)
Centered Vertical layout
|
void |
setLayoutDistributedHorizontal(int leftX,
int y,
int rightX,
boolean leftToRight)
Distributes the buttons horizontal evenly based on the leftX and rightX values.
|
void |
setLayoutHorizontal(int startX,
int y,
int buttonGap,
boolean leftToRight)
Horizontal layout.
|
void |
setLayoutVertical(int startX,
int startY,
int buttonGap,
boolean leftToRight)
Vertical layout
|
void |
setPosition(int x,
int y)
Sets the x, y position of the toolbar.
|
void |
setReverse()
reverses the button order.
|
void setLayoutHorizontal(int startX,
int y,
int buttonGap,
boolean leftToRight)
startX - - The start x coord.y - - The top Y coordbuttonGap - - The gap between buttons.leftToRight - - Button rendering order, true for left to right, false for right to left.void setLayoutCenteredHorizontal(int centerX,
int y,
int buttonGap,
boolean leftToRight)
centerX - - The x coord that is the toolbar center.y - - The top Y coordbuttonGap - - The gap between buttons.leftToRight - - Button rendering order, true for left to right, false for right to left.void setLayoutDistributedHorizontal(int leftX,
int y,
int rightX,
boolean leftToRight)
leftX - - The leftXy - - The top Y coordrightX - - The right X coord.leftToRight - - Button rendering order, true for left to right, false for right to left.void setLayoutVertical(int startX,
int startY,
int buttonGap,
boolean leftToRight)
startX - - The start x coord.startY - - The start y coord.buttonGap - - The gap between buttons.leftToRight - - Button rendering order, true for left to right, false for right to left.void setLayoutCenteredVertical(int startX,
int centerY,
int buttonGap,
boolean leftToRight)
startX - - The start x coord.centerY - - The center y coord.buttonGap - - The gap between buttons.leftToRight - - Button rendering order, true for left to right, false for right to left.void setReverse()
int getHeight()
int getWidth()
int getX()
int getY()
int getCenterX()
int getMiddleY()
int getBottomY()
int getRightX()
void setPosition(int x,
int y)
x - - the xy - - the yboolean isMouseOver()