fi.hut.tml.xsmiles.gui.components.awt
Class AWTComponent

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.awt.ComponentWithCaption
      extended byfi.hut.tml.xsmiles.gui.components.awt.AWTComponent
All Implemented Interfaces:
XComponent
Direct Known Subclasses:
AWTContainer, AWTLink, XAMedia

public abstract class AWTComponent
extends ComponentWithCaption
implements XComponent

Interface to plain GUI component The GUI component package contains an abstract set of components that can generally be used.

Author:
Mikko Honkala, Juha Vierinen

Field Summary
protected  java.lang.String fInputMode
           
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.awt.ComponentWithCaption
actionable, axis, caption, container, content, currentZoom, layoutDone, X_AXIS, Y_AXIS
 
Constructor Summary
AWTComponent()
           
 
Method Summary
protected  void addCaption(java.lang.String text)
           
protected  void createHint()
           
 void init()
          in init the subclass always creates its component first and then calls super.init
 void setHintText(java.lang.String hint)
          Sets the components Tooltip (Hint) text
 void setInputMode(java.lang.String inputmode)
          set the input mode attribute (from XForms)
protected  void sizeComponent(double zoom)
           
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.awt.ComponentWithCaption
addActionListener, addFocusListener, addHelpListener, addMouseListener, getActionable, getComponent, getDefaultBackgroundColor, getHeight, getMinimumSize, getSize, getStyle, getWidth, getX, getY, layoutComponent, removeActionListener, removeFocusListener, removeHelpListener, removeMouseListener, setActionable, setBackground, setBounds, setCaptionStyle, setCaptionText, setEnabled, setFocus, setFont, setForeground, setStyle, setVisible, setZoom
 
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
addActionListener, addFocusListener, addHelpListener, addMouseListener, getComponent, getEnabled, getHeight, getSize, getStyle, getWidth, getX, getY, removeActionListener, removeFocusListener, removeHelpListener, removeMouseListener, setBackground, setBounds, setEnabled, setFocus, setForeground, setStyle, setVisible, setZoom
 

Field Detail

fInputMode

protected java.lang.String fInputMode
Constructor Detail

AWTComponent

public AWTComponent()
Method Detail

init

public void init()
in init the subclass always creates its component first and then calls super.init

Overrides:
init in class ComponentWithCaption

addCaption

protected void addCaption(java.lang.String text)
Specified by:
addCaption in class ComponentWithCaption

sizeComponent

protected void sizeComponent(double zoom)
Overrides:
sizeComponent in class ComponentWithCaption

setHintText

public void setHintText(java.lang.String hint)
Sets the components Tooltip (Hint) text

Specified by:
setHintText in interface XComponent
Specified by:
setHintText in class ComponentWithCaption

createHint

protected void createHint()

setInputMode

public void setInputMode(java.lang.String inputmode)
set the input mode attribute (from XForms)

Specified by:
setInputMode in interface XComponent


X-Smiles 1.2