All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.FontControl

java.lang.Object
   |
   +----dtai.gwt.Gadget
           |
           +----dtai.gwt.ContainerGadget
                   |
                   +----dtai.gwt.PanelGadget
                           |
                           +----dtai.gwt.BorderGadget
                                   |
                                   +----dtai.gwt.DataControl
                                           |
                                           +----dtai.gwt.FontControl

public class FontControl
extends DataControl
implements ActionListener
The FontControl class GUI Class for editing font data


Constructor Index

 o FontControl(String)
constructor which creates a font control with the specified label
 o FontControl(String, Object)
constructor which creates a font control with the specified label and data

Method Index

 o actionPerformed(ActionEvent)
actionPerformed
 o doLayout()
arranges the gadgets
 o getData()
gets the data(font) of the font control
 o reset()
resets the data of the font control
 o setData(Object)
sets the data(font) of the font control
 o setSelected(boolean)
brings up the font choice box

Constructors

 o FontControl
 public FontControl(String label)
constructor which creates a font control with the specified label

Parameters:
label - the label of the font control
 o FontControl
 public FontControl(String label,
                    Object data)
constructor which creates a font control with the specified label and data

Parameters:
label - the label of the font control
data - the data(font) of the font control

Methods

 o setData
 public void setData(Object data)
sets the data(font) of the font control

Parameters:
data - the data(font) of the font control
Overrides:
setData in class DataControl
 o getData
 public Object getData()
gets the data(font) of the font control

Returns:
the data(font) of the font control
Overrides:
getData in class DataControl
 o setSelected
 public void setSelected(boolean in)
brings up the font choice box

Parameters:
in - whether or not the font control is selected
Overrides:
setSelected in class DataControl
 o reset
 public void reset()
resets the data of the font control

Overrides:
reset in class DataControl
 o doLayout
 public void doLayout()
arranges the gadgets

Overrides:
doLayout in class DataControl
 o actionPerformed
 public void actionPerformed(ActionEvent e)
actionPerformed

Parameters:
e - the action event

All Packages  Class Hierarchy  This Package  Previous  Next  Index