|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISahitsComponent
The ISahitsComponent is a renderable form element whithin a ISahitsContainer. It is the equivalent to a JComponent in swing.
| Method Summary | |
|---|---|
Rectangle |
getBounds()
Retrieve the bounds of the component |
Font |
getFont()
Retrieve the font |
Dimension |
getPreferredSize()
Retrieve the preferred size of the component. |
void |
paint(Graphics g)
Draw the component with the appropriate graphic context. |
void |
setBounds(int x,
int y,
int width,
int height)
Define the measurements of the component |
void |
setFont(Font f)
Set the font |
void |
setInsets(int top,
int right,
int bottom,
int left)
Define the insets of the component |
| Method Detail |
|---|
void paint(Graphics g)
g -
void setBounds(int x,
int y,
int width,
int height)
x - position along the x axisy - position along the y axiswidth - of the componentheight - of the componentDimension getPreferredSize()
void setInsets(int top,
int right,
int bottom,
int left)
top - right - bottom - left - Font getFont()
void setFont(Font f)
f - Rectangle getBounds()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||