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
-
FontControl(String)
- constructor which creates a font control with the specified label
-
FontControl(String, Object)
- constructor which creates a font control with the specified label
and data
-
actionPerformed(ActionEvent)
- actionPerformed
-
doLayout()
- arranges the gadgets
-
getData()
- gets the data(font) of the font control
-
reset()
- resets the data of the font control
-
setData(Object)
- sets the data(font) of the font control
-
setSelected(boolean)
- brings up the font choice box
FontControl
public FontControl(String label)
- constructor which creates a font control with the specified label
- Parameters:
- label - the label of the font control
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
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
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
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
reset
public void reset()
- resets the data of the font control
- Overrides:
- reset in class DataControl
doLayout
public void doLayout()
- arranges the gadgets
- Overrides:
- doLayout in class DataControl
actionPerformed
public void actionPerformed(ActionEvent e)
- actionPerformed
- Parameters:
- e - the action event
All Packages Class Hierarchy This Package Previous Next Index