public class BodyWeight
extends javax.faces.component.UINamingContainer
COMPONENT_FAMILY, COMPONENT_TYPE, SEPARATOR_CHAR_PARAM_NAME
Constructor and Description |
---|
BodyWeight() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentUnit()
Gets the current unit of weight.
|
javax.faces.component.UINamingContainer |
getKilogramsComponent()
Gets the weight in kilograms input component.
|
Integer |
getPounds()
Gets the weight in pounds.
|
javax.faces.component.UINamingContainer |
getPoundsComponent()
Gets the weight in pounds input component.
|
Integer |
getPoundsOnly()
Gets the weight in pounds only.
|
javax.faces.component.UINamingContainer |
getPoundsOnlyComponent()
Gets the weight in pounds only input component.
|
Integer |
getStones()
Gets the weight in stones.
|
javax.faces.component.UINamingContainer |
getStonesComponent()
Gets the weight in stones input component.
|
String |
getToggleUnitButtonOffLabel()
Gets the label for the toggle unit button in case the button is 'off'.
|
String |
getToggleUnitButtonOnLabel()
Gets the label for the toggle unit button in case the button is 'on'.
|
javax.faces.component.UIComponent |
getToggleWeightUnitButton()
Gets the button to toggle the unit of weight.
|
void |
setKilogramsComponent(javax.faces.component.UINamingContainer kilogramsComponent)
Sets the weight in kilograms input component.
|
void |
setPounds(Integer pounds)
Sets the weight in pounds.
|
void |
setPoundsComponent(javax.faces.component.UINamingContainer poundsComponent)
Sets the weight in pounds input component.
|
void |
setPoundsOnly(Integer poundsOnly)
Sets the weight in pounds only.
|
void |
setPoundsOnlyComponent(javax.faces.component.UINamingContainer poundsOnlyComponent)
Sets the weight in pounds only input component.
|
void |
setStones(Integer stones)
Sets the weight in stones.
|
void |
setStonesComponent(javax.faces.component.UINamingContainer stonesComponent)
Sets the weight in stones input component.
|
void |
setToggleWeightUnitButton(javax.faces.component.UIComponent toggleWeightUnitButton)
Sets the button to toggle the unit of weight.
|
createUniqueId, getFamily, getSeparatorChar, visitTree
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
public javax.faces.component.UINamingContainer getKilogramsComponent()
public void setKilogramsComponent(javax.faces.component.UINamingContainer kilogramsComponent)
kilogramsComponent
- The weight in kilograms component.public javax.faces.component.UINamingContainer getStonesComponent()
public void setStonesComponent(javax.faces.component.UINamingContainer stonesComponent)
stonesComponent
- The length in stones component.public javax.faces.component.UINamingContainer getPoundsComponent()
public void setPoundsComponent(javax.faces.component.UINamingContainer poundsComponent)
poundsComponent
- The weight in pounds component.public javax.faces.component.UINamingContainer getPoundsOnlyComponent()
public void setPoundsOnlyComponent(javax.faces.component.UINamingContainer poundsOnlyComponent)
poundsOnlyComponent
- The weight in pounds only component.public javax.faces.component.UIComponent getToggleWeightUnitButton()
public void setToggleWeightUnitButton(javax.faces.component.UIComponent toggleWeightUnitButton)
toggleWeightUnitButton
- The button to toggle the unit of weight.public Integer getStones()
public void setStones(Integer stones)
stones
- The weight in stones.public Integer getPounds()
public void setPounds(Integer pounds)
pounds
- The weight in pounds.public Integer getPoundsOnly()
public void setPoundsOnly(Integer poundsOnly)
poundsOnly
- The weight in pounds only.public String getCurrentUnit()
public String getToggleUnitButtonOnLabel()
public String getToggleUnitButtonOffLabel()
Copyright © 2008–2018. All rights reserved.