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

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.general.ComponentBase
      extended byfi.hut.tml.xsmiles.gui.components.havi.HaviStylableComponent
          extended byfi.hut.tml.xsmiles.gui.components.havi.HaviButton
              extended byfi.hut.tml.xsmiles.gui.components.havi.HaviUpload
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, org.ftv.ui.event.HActionListener, XButton, XComponent, XUpload

public class HaviUpload
extends HaviButton
implements XUpload, java.awt.event.ActionListener

The XForms/Button element

Author:
Mikko Honkala

Nested Class Summary
 
Nested classes inherited from class fi.hut.tml.xsmiles.gui.components.havi.HaviButton
HaviButton.HaviActionListenerWrapper
 
Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.havi.HaviButton
actionListenerList, button, icon, layoutDone, name
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
content, currentFont, currentZoom, defaultBGColor, defaultFont, defaultSize, fInputMode, hintText, minSize, style
 
Constructor Summary
HaviUpload(java.lang.String captionText, ComponentFactory cf)
          Constructs a new XButton (XForms/button).
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent actionEvent)
           
 void addActionListener(java.awt.event.ActionListener tl)
          At the moment ALL events are delegated through a simple actionListener
 void init()
           
 void removeActionListener(java.awt.event.ActionListener tl)
           
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.havi.HaviButton
addKeyListener, createContent, getComponent, getDefaultBackgroundColor, setActionCommand, setCaptionText, setEnabled, setImage, setImageDisabled, setImagePressed, setImageRollOver, setLabel
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.havi.HaviStylableComponent
setBackground
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.general.ComponentBase
addFocusListener, addHelpListener, addMouseListener, getAddableComponent, getDefaultSize, getEnabled, getFormatter, getHeight, getMinimumSize, getPreferredSize, getSizableComponent, getSize, getStylableComponent, getStyle, getWidth, getX, getY, removeFocusListener, removeHelpListener, removeMouseListener, setBounds, setDefaultSize, 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
 
Methods inherited from interface fi.hut.tml.xsmiles.gui.components.XComponent
addFocusListener, addHelpListener, addMouseListener, getComponent, getEnabled, getHeight, getSize, getStyle, getWidth, getX, getY, removeFocusListener, removeHelpListener, removeMouseListener, setBackground, setBounds, setEnabled, setFocus, setForeground, setHintText, setInputMode, setStyle, setVisible, setZoom
 

Constructor Detail

HaviUpload

public HaviUpload(java.lang.String captionText,
                  ComponentFactory cf)
Constructs a new XButton (XForms/button).

Method Detail

init

public void init()
Overrides:
init in class HaviButton

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent actionEvent)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class HaviButton

addActionListener

public void addActionListener(java.awt.event.ActionListener tl)
Description copied from interface: XComponent
At the moment ALL events are delegated through a simple actionListener

Specified by:
addActionListener in interface XComponent
Overrides:
addActionListener in class HaviButton

removeActionListener

public void removeActionListener(java.awt.event.ActionListener tl)
Specified by:
removeActionListener in interface XComponent
Overrides:
removeActionListener in class HaviButton


X-Smiles 1.2