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
-
URLControl(String, Object)
- constructor which creates a URL control with the specified label
and data(URL)
-
focusGained(FocusEvent)
- focusGained
-
focusLost(FocusEvent)
- focusLost
-
getData()
- gets the data(URL) of the URL control
-
keyPressed(KeyEvent)
- keyPressed
-
keyReleased(KeyEvent)
- keyReleased
-
keyTyped(KeyEvent)
- keyTyped
-
setData(Object)
- sets the data(URL) of the URL control
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
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
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
keyTyped
public void keyTyped(KeyEvent e)
- keyTyped
- Parameters:
- e - the key event
keyPressed
public void keyPressed(KeyEvent e)
- keyPressed
- Parameters:
- e - the key event
keyReleased
public void keyReleased(KeyEvent e)
- keyReleased
- Parameters:
- e - the key event
focusGained
public void focusGained(FocusEvent e)
- focusGained
- Parameters:
- e - the focus event
- Overrides:
- focusGained in class DataControl
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