|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.fieldItem.LyJQFieldItem
leon.view.web.jquery.component.form.field.number.LyJQNumber
public class LyJQNumber
LyNumber JQuery internal view
Field Summary |
---|
Fields inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
---|
__VERSION |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalNumber |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQNumber(LyNumber number)
Class constructor of a Number object for the struts target. |
Method Summary | |
---|---|
int |
getDecimals()
get number decimals |
char |
getDecimalSep()
get decimal separator |
java.lang.String |
getDisplayableLabel(java.lang.String label)
Gets the displayable label for this number. |
java.lang.String |
getLabelDecrease(LyNumber number)
Get decrease spinner lable |
java.lang.String |
getLabelIncrease(LyNumber number)
get increase spinner label |
double |
getMax()
get max value |
int |
getMaxChars(LyNumber number)
get max chars |
double |
getMin()
get min value |
boolean |
isNumber()
|
void |
setDecimals(int decimals)
Updates attribute decimals to the given value. |
void |
setFormat(java.lang.String format)
Updates attribute format to the given value. |
void |
setLabel(java.lang.String label)
Sets the label of the component. |
void |
setPitch(double pitch)
Updates attribute pitch to the given value. |
void |
setVMax(double vMax)
Updates attribute vMax to the given value. |
void |
setVMin(double vMin)
Updates attribute vMin to the given value. |
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getReloadScript, getTarget, isEditable, isEnabled, isLabelInstance, isMail, isNetscape, isOptional, isPrintMode, isUrl, isUrlRecurse, needCheck, writeHtml |
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView |
---|
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty |
Methods inherited from class leon.view.web.LyWebObject |
---|
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Constructor Detail |
---|
public LyJQNumber(LyNumber number)
number
- the generic Number defined for every type of view targets.Method Detail |
---|
public int getDecimals()
public double getMin()
public double getMax()
public java.lang.String getDisplayableLabel(java.lang.String label)
label
- the initial labeldecimalSeparator
- the decimal separator to be used
public int getMaxChars(LyNumber number)
public char getDecimalSep()
public java.lang.String getLabelIncrease(LyNumber number)
number
-
public java.lang.String getLabelDecrease(LyNumber number)
number
-
public void setDecimals(int decimals)
LyGraphicalNumber
setDecimals
in interface LyGraphicalNumber
setDecimals
in interface LySetNumberInterface
decimals
- New value of decimals.public void setFormat(java.lang.String format)
LyGraphicalNumber
setFormat
in interface LyGraphicalNumber
setFormat
in interface LySetNumberInterface
format
- New value of format.public void setPitch(double pitch)
LyGraphicalNumber
setPitch
in interface LyGraphicalNumber
setPitch
in interface LySetNumberInterface
pitch
- New value of pitch.public void setVMax(double vMax)
LyGraphicalNumber
setVMax
in interface LyGraphicalNumber
setVMax
in interface LySetNumberInterface
vMax
- New value of vMax.public void setVMin(double vMin)
LyGraphicalNumber
setVMin
in interface LyGraphicalNumber
setVMin
in interface LySetNumberInterface
vMin
- New value of vMin.public boolean isNumber()
public void setLabel(java.lang.String label)
LySetLabelInterface
setLabel
in interface LyGraphicalNumber
setLabel
in interface LySetLabelInterface
setLabel
in class LyJQFieldItem
label
- new label
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |