All Packages Class Hierarchy This Package Previous Next Index
Class dtai.gwt.DataSheet
java.lang.Object
|
+----dtai.gwt.Gadget
|
+----dtai.gwt.ContainerGadget
|
+----dtai.gwt.PanelGadget
|
+----dtai.gwt.DataSheet
- public class DataSheet
- extends PanelGadget
- implements ItemSelectable, KeyListener
The DataSheet Class
Container class for Data Controls
-
DataSheet()
- default constructor which constructs a data sheet
-
addItemListener(ItemListener)
- Adds the specified listener to be notified when component
events occur on this component.
-
clearSelection()
-
-
doLayout()
- arranges the gadgets
-
getActiveControl()
- gets the active control of the data sheet
-
getPreferredSize()
- gets the preferred size of the data sheet
-
getSelectedIndexes()
- gets the selected indeces
-
getSelectedItems()
- gets the selected items
-
keyPressed(KeyEvent)
- keyPressed
-
keyReleased(KeyEvent)
- keyReleased
-
keyTyped(KeyEvent)
- keyTyped
-
processItemEvent(ItemEvent)
- processItemEvent
-
removeItemListener(ItemListener)
- Removes the specified listener so it no longer receives
item events on this item.
-
setActiveControl(DataControl)
- sets the active control of the data sheet
-
updateScreen(DataControl)
- updates the screen
DataSheet
public DataSheet()
- default constructor which constructs a data sheet
getActiveControl
public DataControl getActiveControl()
- gets the active control of the data sheet
- Returns:
- the active control
clearSelection
public void clearSelection()
setActiveControl
public void setActiveControl(DataControl control)
- sets the active control of the data sheet
- Parameters:
- control - the active control
doLayout
public void doLayout()
- arranges the gadgets
- Overrides:
- doLayout in class ContainerGadget
getPreferredSize
public Dimension getPreferredSize()
- gets the preferred size of the data sheet
- Returns:
- the preferred size
- Overrides:
- getPreferredSize in class ContainerGadget
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
addItemListener
public synchronized void addItemListener(ItemListener l)
- Adds the specified listener to be notified when component
events occur on this component.
- Parameters:
- l - the listener to receive the events
removeItemListener
public synchronized void removeItemListener(ItemListener l)
- Removes the specified listener so it no longer receives
item events on this item.
- Parameters:
- l - the listener to remove
getSelectedIndexes
public int[] getSelectedIndexes()
- gets the selected indeces
- Returns:
- int[]
getSelectedItems
public String[] getSelectedItems()
- gets the selected items
- Returns:
- the selected items
updateScreen
public void updateScreen(DataControl control)
- updates the screen
- Parameters:
- control - the control to be updated
processItemEvent
protected void processItemEvent(ItemEvent e)
- processItemEvent
- Parameters:
- e - the item event
All Packages Class Hierarchy This Package Previous Next Index