to.etc.domui.dom.html
Class RadioButton<T>
java.lang.Object
to.etc.domui.dom.css.CssBase
to.etc.domui.dom.html.NodeBase
to.etc.domui.dom.html.RadioButton<T>
- All Implemented Interfaces:
- IModelBinding, INodeErrorDelegate, IHasModifiedIndication
public class RadioButton<T>
- extends NodeBase
- implements IHasModifiedIndication
- Author:
- Jo Seaton
Created on Aug 20, 2008
Methods inherited from class to.etc.domui.dom.html.NodeBase |
$, addCssClass, addGlobalMessage, afterCreateContent, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, build, changed, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, componentHandleWebAction, createContent, findComponentBundle, forceRebuild, getActualID, getAllocationTracepoint, getClicked, getComponentBundle, getCreateJS, getCssClass, getErrorDelegate, getErrorLocation, getMessage, getOnClickJS, getOnMouseDownJS, getPage, getParent, getParent, getParent, getSharedContext, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTitle, getUserObject, handleDrop, hasCssClass, hasError, internalClearDelta, internalClearDeltaFully, internalGetOldParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, internalShelve, internalUnshelve, isBuilt, isFocusRequested, isStretchHeight, moveControlToModel, moveModelToControl, onAddedToPage, onBeforeFullRender, onForceRebuild, onHeaderContributors, onRefresh, onRemoveFromPage, onShelve, onUnshelve, refresh, remove, removeCssClass, renderJavascriptState, replaceWith, setClicked, setComponentBundle, setControlsEnabled, setCssClass, setErrorDelegate, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setSpecialAttribute, setStretchHeight, setTestID, setTitle, setUserObject, toString |
Methods inherited from class to.etc.domui.dom.css.CssBase |
getBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RadioButton
public RadioButton()
RadioButton
public RadioButton(@Nonnull
RadioGroup<T> g)
RadioButton
public RadioButton(@Nonnull
RadioGroup<T> g,
T value)
RadioButton
public RadioButton(T value)
visit
public void visit(INodeVisitor v)
throws java.lang.Exception
- Description copied from class:
NodeBase
- This must visit the appropriate method in the node visitor. It should NOT recurse it's children.
- Specified by:
visit
in class NodeBase
- Throws:
java.lang.Exception
setGroup
public void setGroup(@Nonnull
RadioGroup<T> g)
- All buttons must be in a group; all buttons in that group expose a single value.
- Parameters:
g
-
getGroup
public RadioGroup<T> getGroup()
getName
public java.lang.String getName()
getButtonValue
public T getButtonValue()
setButtonValue
public void setButtonValue(T selectedValue)
isChecked
public boolean isChecked()
setChecked
public void setChecked(boolean checked)
isDisabled
public boolean isDisabled()
setDisabled
public void setDisabled(boolean disabled)
isReadOnly
public boolean isReadOnly()
setReadOnly
public void setReadOnly(boolean readOnly)
acceptRequestParameter
public boolean acceptRequestParameter(java.lang.String[] values)
- Overrides:
acceptRequestParameter
in class NodeBase
internalOnValueChanged
public void internalOnValueChanged()
throws java.lang.Exception
- Description copied from class:
NodeBase
- Default handling of change messages.
- Overrides:
internalOnValueChanged
in class NodeBase
- Throws:
java.lang.Exception
isModified
public boolean isModified()
- Returns the modified-by-user flag.
- Specified by:
isModified
in interface IHasModifiedIndication
- See Also:
IHasModifiedIndication.isModified()
setModified
public void setModified(boolean as)
- Set or clear the modified by user flag.
- Specified by:
setModified
in interface IHasModifiedIndication
- See Also:
IHasModifiedIndication.setModified(boolean)