com.timjohnstondev.unitconverter.view
Interface Configuration

All Known Implementing Classes:
AboutPanel, CalculationPanel, ConfigurationPanel, MolarMassPanel, TopPanel, UnitConverter, UnitLabelPanel, UnitPanel

public interface Configuration

The Configuration interface provides a way to update some of the user configurable UI components.


Method Summary
 void setBackgroundColor(Color color)
          Changes the background color for this and all contained components.
 void setFontSize(float fontSize)
          Changes the font size for this and all contained components while maintaining the font name and style.
 void setForegroundColor(Color color)
          Changes the foreground color for this and all contained components.
 

Method Detail

setFontSize

void setFontSize(float fontSize)
Changes the font size for this and all contained components while maintaining the font name and style.

Parameters:
fontSize - the new font size

setBackgroundColor

void setBackgroundColor(Color color)
Changes the background color for this and all contained components.

Parameters:
color - the new background color

setForegroundColor

void setForegroundColor(Color color)
Changes the foreground color for this and all contained components.

Parameters:
color - the new foreground color


Copyright © 2009 Tim Johnston Development, LLC. All Rights Reserved.