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
-
EventProxyContainer()
-
-
addFocusListener(FocusListener)
-
-
addKeyListener(KeyListener)
-
-
addMouseListener(MouseListener)
-
-
addMouseMotionListener(MouseMotionListener)
-
-
focusGained(FocusEvent)
-
-
focusLost(FocusEvent)
-
-
getToolTipText()
- Return the tooltip string that has been set with
setToolTipText()
.
-
getToolTipVisual()
- Return the tooltip visual object that has been set with
setToolTipVisual()
.
-
keyPressed(KeyEvent)
-
-
keyReleased(KeyEvent)
-
-
keyTyped(KeyEvent)
-
-
mouseClicked(MouseEvent)
-
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
setToolTipText(String)
- Registers the string to display in a ToolTip.
-
setToolTipText(Text)
- Registers the text object to display in a ToolTip.
-
setToolTipVisual(Visualizable)
- Registers the visual object to display in a ToolTip.
EventProxyContainer
public EventProxyContainer()
addFocusListener
public synchronized void addFocusListener(FocusListener l)
- Overrides:
- addFocusListener in class Component
addKeyListener
public synchronized void addKeyListener(KeyListener l)
- Overrides:
- addKeyListener in class Component
addMouseListener
public synchronized void addMouseListener(MouseListener l)
- Overrides:
- addMouseListener in class Component
addMouseMotionListener
public synchronized void addMouseMotionListener(MouseMotionListener l)
- Overrides:
- addMouseMotionListener in class Component
focusGained
public void focusGained(FocusEvent e)
focusLost
public void focusLost(FocusEvent e)
keyTyped
public void keyTyped(KeyEvent e)
keyPressed
public void keyPressed(KeyEvent e)
keyReleased
public void keyReleased(KeyEvent e)
mouseClicked
public void mouseClicked(MouseEvent e)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)
mouseEntered
public void mouseEntered(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)
mouseDragged
public void mouseDragged(MouseEvent e)
mouseMoved
public void mouseMoved(MouseEvent e)
getToolTipText
public String getToolTipText()
- Return the tooltip string that has been set with
setToolTipText()
.
- Returns:
- the string of the tool tip.
getToolTipVisual
public Visualizable getToolTipVisual()
- Return the tooltip visual object that has been set with
setToolTipVisual()
.
- Returns:
- the visual object of the tool tip.
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.
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.
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