All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.awt.EventProxyContainer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----jp.kyasu.awt.KContainer
                           |
                           +----jp.kyasu.awt.EventProxyContainer

public abstract class EventProxyContainer
extends KContainer
implements FocusListener, KeyListener, MouseListener, MouseMotionListener
A EventProxyContainer is a container that delegates events from an event source to the listeners of this container. The event source should be a lightweight component contained by this container.

Version:
19 Dec 1997
Author:
Kazuki YASUMATSU

Constructor Index

 o EventProxyContainer()

Method Index

 o addFocusListener(FocusListener)
 o addKeyListener(KeyListener)
 o addMouseListener(MouseListener)
 o addMouseMotionListener(MouseMotionListener)
 o focusGained(FocusEvent)
 o focusLost(FocusEvent)
 o getToolTipText()
Return the tooltip string that has been set with setToolTipText().
 o getToolTipVisual()
Return the tooltip visual object that has been set with setToolTipVisual().
 o keyPressed(KeyEvent)
 o keyReleased(KeyEvent)
 o keyTyped(KeyEvent)
 o mouseClicked(MouseEvent)
 o mouseDragged(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMoved(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o setToolTipText(String)
Registers the string to display in a ToolTip.
 o setToolTipText(Text)
Registers the text object to display in a ToolTip.
 o setToolTipVisual(Visualizable)
Registers the visual object to display in a ToolTip.

Constructors

 o EventProxyContainer
 public EventProxyContainer()

Methods

 o addFocusListener
 public synchronized void addFocusListener(FocusListener l)
Overrides:
addFocusListener in class Component
 o addKeyListener
 public synchronized void addKeyListener(KeyListener l)
Overrides:
addKeyListener in class Component
 o addMouseListener
 public synchronized void addMouseListener(MouseListener l)
Overrides:
addMouseListener in class Component
 o addMouseMotionListener
 public synchronized void addMouseMotionListener(MouseMotionListener l)
Overrides:
addMouseMotionListener in class Component
 o focusGained
 public void focusGained(FocusEvent e)
 o focusLost
 public void focusLost(FocusEvent e)
 o keyTyped
 public void keyTyped(KeyEvent e)
 o keyPressed
 public void keyPressed(KeyEvent e)
 o keyReleased
 public void keyReleased(KeyEvent e)
 o mouseClicked
 public void mouseClicked(MouseEvent e)
 o mousePressed
 public void mousePressed(MouseEvent e)
 o mouseReleased
 public void mouseReleased(MouseEvent e)
 o mouseEntered
 public void mouseEntered(MouseEvent e)
 o mouseExited
 public void mouseExited(MouseEvent e)
 o mouseDragged
 public void mouseDragged(MouseEvent e)
 o mouseMoved
 public void mouseMoved(MouseEvent e)
 o getToolTipText
 public String getToolTipText()
Return the tooltip string that has been set with setToolTipText().

Returns:
the string of the tool tip.
 o getToolTipVisual
 public Visualizable getToolTipVisual()
Return the tooltip visual object that has been set with setToolTipVisual().

Returns:
the visual object of the tool tip.
 o setToolTipText
 public void setToolTipText(String string)
Registers the string to display in a ToolTip.

Parameters:
string - The string to display when the cursor lingers over the component. If string is null, then it turns off tool tip for this component.
 o setToolTipText
 public void setToolTipText(Text text)
Registers the text object to display in a ToolTip.

Parameters:
text - The text object to display when the cursor lingers over the component. If text is null, then it turns off tool tip for this component.
 o setToolTipVisual
 public void setToolTipVisual(Visualizable visual)
Registers the visual object to display in a ToolTip.

Parameters:
visual - The visual object to display when the cursor lingers over the component. If visual is null, then it turns off tool tip for this component.

All Packages  Class Hierarchy  This Package  Previous  Next  Index