tit.gui.border.HorizontalLine Class Reference

List of all members.

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

Detailed Description

A border that draws an horizontal line underneath a component.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.gui.border.HorizontalLine.HorizontalLine ( int  margininit,
boolean  showtopinit,
boolean  showbottominit 
)

Constructs a new HorizontalLine.

Parameters:
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.

Parameters:
margininit The margin.

tit.gui.border.HorizontalLine.HorizontalLine ( boolean  showtopinit,
boolean  showbottominit 
)

Constructs a new HorizontalLine.

Parameters:
showtopinit Show the top line?
showbottominit Show the bottom line?


Member Function Documentation

Insets tit.gui.border.HorizontalLine.getBorderInsets ( Component  component  ) 

Returns the insets of the border.

Parameters:
component The component for which this border insets value applies.
Returns:
The insets of the border.

boolean tit.gui.border.HorizontalLine.isBorderOpaque (  ) 

Returns whether or not the border is opaque.

Returns:
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.

Parameters:
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.


Member Data Documentation

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?


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:00 2007 by  doxygen 1.5.1