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, validate
addParentListener, getDragSource, getDropTarget, getLayoutConstraints, getMaxSize, getMinSize, getParent, getPreferredSize, getRoot, removeParentListener, setLayoutConstraints, setMaxSize, setMinSize, setParent, setPreferredSize
addComponentListener, 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, toScreen
addDisposeListener, dispose, getUiReference, isDisposed, isEnabled, removeDisposeListener, setEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addValidator, hasModifications, isEditable, resetModificationState
getValue, setValue
addValidationConditionListener, removeValidationConditionListener, validate
setEditable
addInputListener, removeInputListener
getDragSource, getDropTarget, getParent, getRoot, setMaxSize, setMinSize, setParent, setPreferredSize
createPopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreen
dispose, isDisposed
addDisposeListener, removeDisposeListener
addShowingStateListener, removeShowingStateListener
addParentListener, removeParentListener
getLayoutConstraints, getMaxSize, getMinSize, getPreferredSize, setLayoutConstraints
getBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisible
getUiReference, isEnabled, setEnabled
addComponentListener, removeComponentListener
addFocusListener, removeFocusListener
addKeyListener, removeKeyListener
addMouseListener, removeMouseListener
addMouseMotionListener, removeMouseMotionListener
addPopupDetectionListener, removePopupDetectionListener
public CheckBoxWrapper(ICheckBox widget)
protected ICheckBox getWidget()
getWidget
in class InputControlWrapper<java.lang.Boolean>
public java.lang.String getText()
getText
in interface ITextLabel
public void setFontSize(int size)
setFontSize
in interface ITextLabelCommon
public void setFontName(java.lang.String fontName)
setFontName
in interface ITextLabelCommon
public void setMarkup(Markup markup)
setMarkup
in interface ITextLabelCommon
public void setText(java.lang.String text)
setText
in interface ITextLabelCommon
public void setToolTipText(java.lang.String text)
IControlCommon
setToolTipText
in interface IControlCommon
setToolTipText
in class ControlWrapper
text
- The tooltip text or null if the control should not show any tooltippublic boolean isSelected()
ICheckBox
isSelected
in interface ICheckBox
public void setSelected(boolean selected)
ICheckBox
setSelected
in interface ICheckBox
selected
- the selection state to setpublic IObservableValue<java.lang.Boolean> getObservableValue()
IObservableValueViewer
getObservableValue
in interface IObservableValueViewer<java.lang.Boolean>
Siehe auch Jowidgets Nutzerhandbuch