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

# Klasse PreferenceButton

java.lang.Object
org.eclipse.net4j.util.ui.widgets.PreferenceButton

public class PreferenceButton extends Object

Autor:
  Eike Stepper

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`PreferenceButton(Composite parent, int style, String text, OMPreference<Boolean> preference)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`void`
`addListener(int evenType, Listener listener)`
`int`
`getAlignment()`
`Button`
`getButton()`
`Image`
`getImage()`
`OMPreference<Boolean>`
`getPreference()`
`boolean`
`getSelection()`
`boolean`
`getSelection(boolean setPreference)`
`String`
`getText()`
`void`
`removeListener(int evenType, Listener listener)`
`void`
`setAlignment(int alignment)`
`boolean`
`setFocus()`
`void`
`setImage(Image image)`
`void`
`setSelection(boolean selected)`
`void`
`setText(String string)`

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

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

## Konstruktordetails

### PreferenceButton

public PreferenceButton(Composite parent, int style, String text, OMPreference<Boolean> preference)

## Methodendetails

### getPreference

public OMPreference<Boolean> getPreference()

### getButton

public Button getButton()

### getAlignment

public int getAlignment()

### getImage

public Image getImage()

### getSelection

public boolean getSelection(boolean setPreference)

### getSelection

public boolean getSelection()

### getText

public String getText()

### setAlignment

public void setAlignment(int alignment)

### setImage

public void setImage(Image image)

### setSelection

public void setSelection(boolean selected)

### setText

public void setText(String string)

### setFocus

public boolean setFocus()

### addListener

public void addListener(int evenType, Listener listener)

Seit:
  3.0

### removeListener

public void removeListener(int evenType, Listener listener)

Seit:
  3.0