Class PreferenceButton
java.lang.Object
org.eclipse.net4j.util.ui.widgets.PreferenceButton
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorDescriptionPreferenceButton
(Composite parent, int style, String text, OMPreference<Boolean> preference) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(int evenType, Listener listener) int
getImage()
boolean
boolean
getSelection
(boolean setPreference) getText()
void
removeListener
(int evenType, Listener listener) void
setAlignment
(int alignment) boolean
setFocus()
void
void
setSelection
(boolean selected) void
-
Constructor Details
-
PreferenceButton
-
-
Method Details
-
getPreference
-
getButton
-
getAlignment
public int getAlignment() -
getImage
-
getSelection
public boolean getSelection(boolean setPreference) -
getSelection
public boolean getSelection() -
getText
-
setAlignment
public void setAlignment(int alignment) -
setImage
-
setSelection
public void setSelection(boolean selected) -
setText
-
setFocus
public boolean setFocus() -
addListener
- Since:
- 3.0
-
removeListener
- Since:
- 3.0
-