Package com.helger.html.hc.html.forms
Class AbstractHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
- java.lang.Object
-
- com.helger.html.hc.impl.AbstractHCNode
-
- com.helger.html.hc.html.AbstractHCElement<IMPLTYPE>
-
- com.helger.html.hc.html.AbstractHCElementWithInternalChildren<IMPLTYPE,IHCNode>
-
- com.helger.html.hc.html.AbstractHCElementWithChildren<IMPLTYPE>
-
- com.helger.html.hc.html.forms.AbstractHCMeter<IMPLTYPE>
-
- All Implemented Interfaces:
com.helger.commons.hierarchy.IHasChildren<IHCNode>,com.helger.commons.hierarchy.IHasChildrenRecursive<IHCNode>,com.helger.commons.hierarchy.IHasChildrenSorted<IHCNode>,com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>,IHCMeter<IMPLTYPE>,IHCElement<IMPLTYPE>,IHCElementWithChildren<IMPLTYPE>,IHCElementWithInternalChildren<IMPLTYPE,IHCNode>,IHCHasCSSClasses<IMPLTYPE>,IHCHasCSSStyles<IMPLTYPE>,IHCHasChildrenMutable<IMPLTYPE,IHCNode>,IHCHasID<IMPLTYPE>,IHCNode,IHCNodeWithChildren<IMPLTYPE>,Serializable
- Direct Known Subclasses:
HCMeter
public abstract class AbstractHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>> extends AbstractHCElementWithChildren<IMPLTYPE> implements IHCMeter<IMPLTYPE>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.helger.html.hc.html.AbstractHCElement
DEFAULT_HIDDEN, DEFAULT_SPELLCHECK, DEFAULT_TRANSLATE, DEFAULT_UNFOCUSABLE
-
Fields inherited from interface com.helger.html.hc.html.IHCElement
DEFAULT_TABINDEX
-
-
Constructor Summary
Constructors Constructor Description AbstractHCMeter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfillMicroElement(com.helger.xml.microdom.IMicroElement aElement, IHCConversionSettingsToNode aConversionSettings)Set all attributes and child elements of this objectdoublegetHigh()doublegetLow()doublegetMax()doublegetMin()doublegetOptimum()doublegetValue()protected voidonConsistencyCheck(IHCConversionSettingsToNode aConversionSettings)IMPLTYPEsetHigh(double dHigh)IMPLTYPEsetLow(double dLow)IMPLTYPEsetMax(double dMax)IMPLTYPEsetMin(double dMin)IMPLTYPEsetOptimum(double dOptimum)IMPLTYPEsetValue(double dValue)-
Methods inherited from class com.helger.html.hc.html.AbstractHCElementWithInternalChildren
addChild, addChildAt, afterAddChild, afterRemoveChild, beforeAddChild, canConvertToMicroNode, children, findFirstChild, findFirstChildMapped, forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getAllChildren, getAllChildrenAsNodeList, getChildAtIndex, getChildCount, getChildren, getChildrenFormEmitting, getFirstChild, getLastChild, getPlainText, hasChildren, removeAllChildren, removeChild, removeChildAt, sortAllChildren, toString
-
Methods inherited from class com.helger.html.hc.html.AbstractHCElement
addClass, addEventHandler, addStyle, containsClass, containsEventHandler, containsStyle, createMicroElement, customAttrs, finishMicroElement, getAccessKey, getAllClasses, getAllClassesAsString, getAllClassNames, getAllStyles, getAllStylesAsString, getAllStyleValues, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getID, getLanguage, getRole, getStyleValue, getTabIndex, getTagName, getTitle, getTranslate, hasAnyClass, hasAnyStyle, hasStyle, internalConvertToMicroNode, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, isValidID, onFinalizeNodeState, prependEventHandler, removeAllClasses, removeAllEventHandler, removeAllStyles, removeClass, removeStyle, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setID, setID, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setUnfocusable
-
Methods inherited from class com.helger.html.hc.impl.AbstractHCNode
consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, internalSetNodeState, onCustomizeNode, onRegisterExternalResources, registerExternalResources
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildren
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildren
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenRecursive
forAllChildrenRecursive, forAllChildrenRecursive
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenSorted
findFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChild
-
Methods inherited from interface com.helger.html.hc.html.IHCElement
addEventHandler, containsEventHandler, customAttrs, getAccessKey, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getLanguage, getRole, getTabIndex, getTagName, getTitle, getTranslate, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, withCustomAttrs
-
Methods inherited from interface com.helger.html.hc.html.IHCElementWithInternalChildren
recursiveContainsChildWithTagName
-
Methods inherited from interface com.helger.html.hc.IHCHasChildrenMutable
addAndReturnChild, addAndReturnChildAt, addChild, addChildAt, addChildren, addChildren, addChildren, addChildrenAt, addChildrenAt, getAllChildrenAsNodeList, removeAllChildren, removeChild, removeChildAt, setChild, sortAllChildren
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSClasses
addClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClass
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSStyles
addStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyle
-
Methods inherited from interface com.helger.html.hc.IHCHasID
ensureID, getID, hasID, hasNoID, setID, setUniqueID
-
Methods inherited from interface com.helger.html.hc.IHCNode
canConvertToMicroNode, consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResources
-
Methods inherited from interface com.helger.html.hc.IHCNodeWithChildren
addChild, addChildAt, addChildren, addChildren, setChild
-
-
-
-
Method Detail
-
getValue
public final double getValue()
- Specified by:
getValuein interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
setValue
@Nonnull public final IMPLTYPE setValue(double dValue)
- Specified by:
setValuein interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
getMin
public final double getMin()
- Specified by:
getMinin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
setMin
@Nonnull public final IMPLTYPE setMin(double dMin)
- Specified by:
setMinin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
getMax
public final double getMax()
- Specified by:
getMaxin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
setMax
@Nonnull public final IMPLTYPE setMax(double dMax)
- Specified by:
setMaxin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
getLow
public final double getLow()
- Specified by:
getLowin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
setLow
@Nonnull public final IMPLTYPE setLow(double dLow)
- Specified by:
setLowin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
getHigh
public final double getHigh()
- Specified by:
getHighin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
setHigh
@Nonnull public final IMPLTYPE setHigh(double dHigh)
- Specified by:
setHighin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
getOptimum
public final double getOptimum()
- Specified by:
getOptimumin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
setOptimum
@Nonnull public final IMPLTYPE setOptimum(double dOptimum)
- Specified by:
setOptimumin interfaceIHCMeter<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>
-
onConsistencyCheck
protected void onConsistencyCheck(@Nonnull IHCConversionSettingsToNode aConversionSettings)
- Overrides:
onConsistencyCheckin classAbstractHCElement<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>>- Parameters:
aConversionSettings- HC conversion settings
-
fillMicroElement
protected void fillMicroElement(com.helger.xml.microdom.IMicroElement aElement, IHCConversionSettingsToNode aConversionSettings)Description copied from class:AbstractHCElementSet all attributes and child elements of this object- Overrides:
fillMicroElementin classAbstractHCElementWithInternalChildren<IMPLTYPE extends AbstractHCMeter<IMPLTYPE>,IHCNode>- Parameters:
aElement- The current micro element to be filled. Nevernull.aConversionSettings- The conversion settings to be used. Nevernull.
-
-