public class CheckBoxWrapper extends InputControlWrapper<java.lang.Boolean> implements ICheckBox
| Constructor and Description |
|---|
CheckBoxWrapper(ICheckBox widget) |
| Modifier and Type | Method and Description |
|---|---|
IObservableValue<java.lang.Boolean> |
getObservableValue()
Gets the observable value
|
java.lang.String |
getText() |
protected ICheckBox |
getWidget() |
boolean |
isSelected()
Convenience method for the generic method getValue()
|
void |
setFontName(java.lang.String fontName) |
void |
setFontSize(int size) |
void |
setMarkup(Markup markup) |
void |
setSelected(boolean selected)
Convenience method for the generic method setValue(Boolean value)
|
void |
setText(java.lang.String text) |
void |
setToolTipText(java.lang.String text)
Sets the tooltip text for the control
|
addInputListener, addValidationConditionListener, addValidator, getValue, hasModifications, isEditable, removeInputListener, removeValidationConditionListener, resetModificationState, setEditable, setValue, validateaddParentListener, getDragSource, getDropTarget, getLayoutConstraints, getMaxSize, getMinSize, getParent, getPreferredSize, getRoot, removeParentListener, setLayoutConstraints, setMaxSize, setMinSize, setParent, setPreferredSizeaddComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, addPopupDetectionListener, addShowingStateListener, createPopupMenu, fromComponent, getBackgroundColor, getBounds, getForegroundColor, getPosition, getSize, hasFocus, isReparentable, isShowing, isVisible, redraw, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePopupDetectionListener, removeShowingStateListener, requestFocus, setBackgroundColor, setBounds, setCursor, setForegroundColor, setPopupMenu, setPosition, setPosition, setRedrawEnabled, setSize, setSize, setVisible, toComponent, toLocal, toScreenaddDisposeListener, dispose, getUiReference, isDisposed, isEnabled, removeDisposeListener, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddValidator, hasModifications, isEditable, resetModificationStategetValue, setValueaddValidationConditionListener, removeValidationConditionListener, validatesetEditableaddInputListener, removeInputListenergetDragSource, getDropTarget, getParent, getRoot, setMaxSize, setMinSize, setParent, setPreferredSizecreatePopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreendispose, isDisposedaddDisposeListener, removeDisposeListeneraddShowingStateListener, removeShowingStateListeneraddParentListener, removeParentListenergetLayoutConstraints, getMaxSize, getMinSize, getPreferredSize, setLayoutConstraintsgetBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisiblegetUiReference, isEnabled, setEnabledaddComponentListener, removeComponentListeneraddFocusListener, removeFocusListeneraddKeyListener, removeKeyListeneraddMouseListener, removeMouseListeneraddMouseMotionListener, removeMouseMotionListeneraddPopupDetectionListener, removePopupDetectionListenerpublic CheckBoxWrapper(ICheckBox widget)
protected ICheckBox getWidget()
getWidget in class InputControlWrapper<java.lang.Boolean>public java.lang.String getText()
getText in interface ITextLabelpublic void setFontSize(int size)
setFontSize in interface ITextLabelCommonpublic void setFontName(java.lang.String fontName)
setFontName in interface ITextLabelCommonpublic void setMarkup(Markup markup)
setMarkup in interface ITextLabelCommonpublic void setText(java.lang.String text)
setText in interface ITextLabelCommonpublic void setToolTipText(java.lang.String text)
IControlCommonsetToolTipText in interface IControlCommonsetToolTipText in class ControlWrappertext - The tooltip text or null if the control should not show any tooltippublic boolean isSelected()
ICheckBoxisSelected in interface ICheckBoxpublic void setSelected(boolean selected)
ICheckBoxsetSelected in interface ICheckBoxselected - the selection state to setpublic IObservableValue<java.lang.Boolean> getObservableValue()
IObservableValueViewergetObservableValue in interface IObservableValueViewer<java.lang.Boolean>Siehe auch Jowidgets Nutzerhandbuch