Package org.eclipse.net4j.util.ui.widgets

# Klasse ImageButton

java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Label
org.eclipse.net4j.util.ui.widgets.ImageButton

Alle implementierten Schnittstellen:
  `EventListener`, `MouseListener`, `MouseMoveListener`, `MouseTrackListener`, `Drawable`

public class ImageButton extends Label implements MouseTrackListener, MouseMoveListener, MouseListener

Seit:
  3.5
Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`static enum`
`ImageButton.SelectionMode`

## Feldübersicht

### Von Klasse geerbte Felder org.eclipse.swt.widgets.Control

`handle`

### Von Klasse geerbte Felder org.eclipse.swt.widgets.Widget

`nativeZoom`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`ImageButton(Composite parent, Image hoverImage)`
`ImageButton(Composite parent, Image hoverImage, Image grayImage)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`protected void`
`checkSubclass()`
`Image`
`getGrayImage()`
`Image`
`getHoverImage()`
`ImageButton.SelectionMode`
`getSelectionMode()`
`Runnable`
`getSelectionRunnable()`
`void`
`mouseDoubleClick(MouseEvent e)`
`void`
`mouseDown(MouseEvent e)`
`void`
`mouseEnter(MouseEvent e)`
`void`
`mouseExit(MouseEvent e)`
`void`
`mouseHover(MouseEvent e)`
`void`
`mouseMove(MouseEvent e)`
`void`
`mouseUp(MouseEvent e)`
`void`
`setGrayImage(Image grayImage)`
`void`
`setHoverImage(Image hoverImage)`
`void`
`setSelectionMode(ImageButton.SelectionMode selectionMode)`
`void`
`setSelectionRunnable(Runnable selectionRunnable)`
`protected void`
`widgetSelected()`

### Von Klasse geerbte Methoden org.eclipse.swt.widgets.Label

`getAlignment, getImage, getText, setAlignment, setEnabled, setImage, setText`

### Von Klasse geerbte Methoden org.eclipse.swt.widgets.Control

`addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setFocus, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update`

### Von Klasse geerbte Methoden org.eclipse.swt.widgets.Widget

`addDisposeListener, addListener, addTypedListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, getTypedListeners, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, removeListener, removeTypedListener, reskin, setData, setData, toString`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Von Schnittstelle geerbte Methoden org.eclipse.swt.graphics.Drawable

`isAutoScalable`

## Konstruktordetails

### ImageButton

public ImageButton(Composite parent, Image hoverImage)

### ImageButton

public ImageButton(Composite parent, Image hoverImage, Image grayImage)

## Methodendetails

### getHoverImage

public Image getHoverImage()

Seit:
  3.19

### setHoverImage

public void setHoverImage(Image hoverImage)

Seit:
  3.19

### getGrayImage

public Image getGrayImage()

Seit:
  3.19

### setGrayImage

public void setGrayImage(Image grayImage)

Seit:
  3.19

### getSelectionMode

public ImageButton.SelectionMode getSelectionMode()

Seit:
  3.19

### setSelectionMode

public void setSelectionMode(ImageButton.SelectionMode selectionMode)

Seit:
  3.19

### getSelectionRunnable

public Runnable getSelectionRunnable()

Seit:
  3.19

### setSelectionRunnable

public void setSelectionRunnable(Runnable selectionRunnable)

Seit:
  3.19

### mouseEnter

public void mouseEnter(MouseEvent e)

Angegeben von:
  `mouseEnter` in Schnittstelle `MouseTrackListener`
Seit:
  3.19

### mouseExit

public void mouseExit(MouseEvent e)

Angegeben von:
  `mouseExit` in Schnittstelle `MouseTrackListener`

### mouseHover

public void mouseHover(MouseEvent e)

Angegeben von:
  `mouseHover` in Schnittstelle `MouseTrackListener`

### mouseMove

public void mouseMove(MouseEvent e)

Angegeben von:
  `mouseMove` in Schnittstelle `MouseMoveListener`

### mouseUp

public void mouseUp(MouseEvent e)

Angegeben von:
  `mouseUp` in Schnittstelle `MouseListener`

### mouseDown

public void mouseDown(MouseEvent e)

Angegeben von:
  `mouseDown` in Schnittstelle `MouseListener`

### mouseDoubleClick

public void mouseDoubleClick(MouseEvent e)

Angegeben von:
  `mouseDoubleClick` in Schnittstelle `MouseListener`

### checkSubclass

protected void checkSubclass()

Setzt außer Kraft:
  `checkSubclass` in Klasse `Widget`

### widgetSelected

protected void widgetSelected()