gishur.awt
Class SymbolbarGrasp

java.lang.Object
  |
  +--gishur.awt.SymbolbarElement
        |
        +--gishur.awt.SymbolbarGrasp
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener

public class SymbolbarGrasp
extends SymbolbarElement

Der Griff für eine Symbolleiste.


Fields inherited from class gishur.awt.SymbolbarElement
_needs_repaint, command, label, width
 
Constructor Summary
SymbolbarGrasp()
          Konstruktor.
 
Method Summary
 void mouseDragged(java.awt.event.MouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void mouseEntered(java.awt.event.MouseEvent e)
          Invoked when the mouse enters a component.
 void mouseExited(java.awt.event.MouseEvent e)
          Invoked when the mouse exits a component.
 void mousePressed(java.awt.event.MouseEvent e)
          Invoked when a mouse button has been pressed on a component.
 void mouseReleased(java.awt.event.MouseEvent e)
          Invoked when a mouse button has been released on a component.
 void update(java.awt.Graphics g, int height)
          Zeichnet das Element neu.
 
Methods inherited from class gishur.awt.SymbolbarElement
active, disable, enable, enabled, getCommand, getLabel, getParent, getPreferredHeight, getSize, mouseClicked, mouseMoved, setActive, setCommand, setLabel, setParent, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolbarGrasp

public SymbolbarGrasp()
Konstruktor.
Method Detail

update

public void update(java.awt.Graphics g,
                   int height)
Zeichnet das Element neu.
Overrides:
update in class SymbolbarElement
Parameters:
g - Graphics, auf das gezeichnet werden soll.
height - Höhe des zu zeichnenden Bereiches.

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component.
Overrides:
mousePressed in class SymbolbarElement

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component.
Overrides:
mouseReleased in class SymbolbarElement

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Invoked when the mouse enters a component.
Overrides:
mouseEntered in class SymbolbarElement

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Invoked when the mouse exits a component.
Overrides:
mouseExited in class SymbolbarElement

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. Mouse drag events will continue to be delivered to the component where the first originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).
Overrides:
mouseDragged in class SymbolbarElement