Public Member Functions | |
| HorizontalLine (int margininit, boolean showtopinit, boolean showbottominit) | |
| HorizontalLine () | |
| HorizontalLine (int margininit) | |
| HorizontalLine (boolean showtopinit, boolean showbottominit) | |
| Insets | getBorderInsets (Component component) |
| boolean | isBorderOpaque () |
| void | paintBorder (Component component, Graphics graphics, int left, int top, int width, int height) |
Private Attributes | |
| int | margin |
| boolean | showtop |
| boolean | showbottom |
| tit.gui.border.HorizontalLine.HorizontalLine | ( | int | margininit, | |
| boolean | showtopinit, | |||
| boolean | showbottominit | |||
| ) |
Constructs a new HorizontalLine.
| margininit | The margin. | |
| showtopinit | Show the top line? | |
| showbottominit | Show the bottom line? |
| tit.gui.border.HorizontalLine.HorizontalLine | ( | ) |
Constructs a new HorizontalLine.
| tit.gui.border.HorizontalLine.HorizontalLine | ( | int | margininit | ) |
Constructs a new HorizontalLine.
| margininit | The margin. |
| tit.gui.border.HorizontalLine.HorizontalLine | ( | boolean | showtopinit, | |
| boolean | showbottominit | |||
| ) |
Constructs a new HorizontalLine.
| showtopinit | Show the top line? | |
| showbottominit | Show the bottom line? |
| Insets tit.gui.border.HorizontalLine.getBorderInsets | ( | Component | component | ) |
Returns the insets of the border.
| component | The component for which this border insets value applies. |
| boolean tit.gui.border.HorizontalLine.isBorderOpaque | ( | ) |
Returns whether or not the border is opaque.
true if the border is opaque, false otherwise. | void tit.gui.border.HorizontalLine.paintBorder | ( | Component | component, | |
| Graphics | graphics, | |||
| int | left, | |||
| int | top, | |||
| int | width, | |||
| int | height | |||
| ) |
Paints the border for the specified component with the specified position and size.
| component | The component for which this border is being painted. | |
| graphics | The paint graphics. | |
| left | The x position of the painted border. | |
| top | The y position of the painted border. | |
| width | The width of the painted border. | |
| height | The height of the painted border. |
int tit.gui.border.HorizontalLine.margin [private] |
This border's margin.
boolean tit.gui.border.HorizontalLine.showtop [private] |
Show the top line?
boolean tit.gui.border.HorizontalLine.showbottom [private] |
Show the bottom line?
1.5.1