fi.hut.tml.xsmiles.gui.components.havi
Class HaviStylableComponent

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.general.ComponentBase
      extended byfi.hut.tml.xsmiles.gui.components.havi.HaviStylableComponent
Direct Known Subclasses:
HaviButton, HaviCaption, HaviSelectBase, HaviTextComponent

public class HaviStylableComponent
extends ComponentBase

This ontains common functionality to style each of the components (caption, content)

Author:
Mikko Honkala

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
content, currentFont, currentZoom, defaultBGColor, defaultFont, defaultSize, fInputMode, hintText, minSize, style
 
Constructor Summary
HaviStylableComponent()
           
HaviStylableComponent(java.awt.Component comp)
           
 
Method Summary
 void setBackground(java.awt.Color col)
          set the background, if null, then reset to default
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
addActionListener, addFocusListener, addHelpListener, addMouseListener, getAddableComponent, getComponent, getDefaultBackgroundColor, getDefaultSize, getEnabled, getFormatter, getHeight, getMinimumSize, getPreferredSize, getSizableComponent, getSize, getStylableComponent, getStyle, getWidth, getX, getY, removeActionListener, removeFocusListener, removeHelpListener, removeMouseListener, setBounds, setDefaultSize, setEnabled, setFocus, setFont, setForeground, setHintText, setInputMode, setStyle, setVisible, setZoom, sizeComponent, sizeComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HaviStylableComponent

public HaviStylableComponent()

HaviStylableComponent

public HaviStylableComponent(java.awt.Component comp)
Method Detail

setBackground

public void setBackground(java.awt.Color col)
Description copied from class: ComponentBase
set the background, if null, then reset to default

Overrides:
setBackground in class ComponentBase


X-Smiles 1.2