com.artenum.rosetta.interfaces.ui
Interface GuiComponent

All Known Subinterfaces:
InputCommandView, OutputView, PromptView
All Known Implementing Classes:
BufferedOutputViewImpl, Console, ConsoleTextPane, InputCommandViewImpl, OutputViewImpl, PromptViewImpl

public interface GuiComponent

Author:
Sebastien Jourdain (jourdain@artenum.com)

Method Summary
 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
 

Method Detail

setBackground

void setBackground(Color bgColor)
Sets the background of the component

Parameters:
bgColor - the background Color

setForeground

void setForeground(Color fgColor)
Sets the foreground of the component

Parameters:
fgColor - the foreground Color

setVisible

void setVisible(boolean status)
Sets the visibility status of the component

Parameters:
status - is true to set the component visible and false else

setFont

void setFont(Font font)
Sets the font of the component

Parameters:
font - the font


Copyright © 2007-2011 Artenum. All Rights Reserved.