All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.URLControl

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

public class URLControl
extends StringControl
implements KeyListener, FocusListener
The URLControl class GUI Class for editing string(URL) data


Constructor Index

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

Method Index

 o focusGained(FocusEvent)
focusGained
 o focusLost(FocusEvent)
focusLost
 o getData()
gets the data(URL) of the URL control
 o keyPressed(KeyEvent)
keyPressed
 o keyReleased(KeyEvent)
keyReleased
 o keyTyped(KeyEvent)
keyTyped
 o setData(Object)
sets the data(URL) of the URL control

Constructors

 o URLControl
 public URLControl(String label,
                   Object data)
constructor which creates a URL control with the specified label and data(URL)

Parameters:
label - the label of the string control
data - the data(URLg) of the string control

Methods

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

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

Returns:
the data(URL) of the URL control
Overrides:
getData in class StringControl
 o keyTyped
 public void keyTyped(KeyEvent e)
keyTyped

Parameters:
e - the key event
 o keyPressed
 public void keyPressed(KeyEvent e)
keyPressed

Parameters:
e - the key event
 o keyReleased
 public void keyReleased(KeyEvent e)
keyReleased

Parameters:
e - the key event
 o focusGained
 public void focusGained(FocusEvent e)
focusGained

Parameters:
e - the focus event
Overrides:
focusGained in class DataControl
 o focusLost
 public void focusLost(FocusEvent e)
focusLost

Parameters:
e - the focus event
Overrides:
focusLost in class DataControl

All Packages  Class Hierarchy  This Package  Previous  Next  Index