public interface GuiComponent
Modifier and Type | Method and Description |
---|---|
void |
setBackground(Color bgColor)
Sets the background of the component
|
void |
setFont(Font font)
Sets the font of the component
|
void |
setForeground(Color fgColor)
Sets the foreground of the component
|
void |
setVisible(boolean status)
Sets the visibility status of the component
|
void setBackground(Color bgColor)
bgColor
- the background Colorvoid setForeground(Color fgColor)
fgColor
- the foreground Colorvoid setVisible(boolean status)
status
- is true to set the component visible and false elsevoid setFont(Font font)
font
- the fontCopyright © 2007-2012 Artenum. All Rights Reserved.