leon.view.mobile
Class LyMobileNumber
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileNumber
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalNumber, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetLabelInterface, LySetNumberInterface
public class LyMobileNumber
- extends LyMobileObject
- implements LyGraphicalNumber
Method Summary |
void |
init()
|
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)
Updates attribute label to the given value. |
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. |
void |
writeJson(java.io.PrintWriter pw,
java.lang.String sessionId)
|
void |
writeXml(java.io.PrintWriter pw)
Write XML description corresponding to this component. |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
expand, free, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, 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 |
LyMobileNumber
public LyMobileNumber(LyNumber number)
writeXml
public void writeXml(java.io.PrintWriter pw)
- Description copied from interface:
LyMobileComponent
- Write XML description corresponding to this component.
- Specified by:
writeXml
in interface LyMobileComponent
- Parameters:
pw
- the print writer
writeJson
public void writeJson(java.io.PrintWriter pw,
java.lang.String sessionId)
- Specified by:
writeJson
in interface LyMobileComponent
init
public void init()
- Specified by:
init
in interface LyMobileComponent
setLabel
public void setLabel(java.lang.String label)
- Description copied from interface:
LyGraphicalNumber
- Updates attribute label to the given value.
- Specified by:
setLabel
in interface LyGraphicalNumber
- Specified by:
setLabel
in interface LySetLabelInterface
- Parameters:
label
- New value of label.
setFormat
public void setFormat(java.lang.String format)
- Description copied from interface:
LyGraphicalNumber
- Updates attribute format to the given value.
- Specified by:
setFormat
in interface LyGraphicalNumber
- Specified by:
setFormat
in interface LySetNumberInterface
- Parameters:
format
- New value of format.
setVMin
public void setVMin(double vMin)
- Description copied from interface:
LyGraphicalNumber
- Updates attribute vMin to the given value.
- Specified by:
setVMin
in interface LyGraphicalNumber
- Specified by:
setVMin
in interface LySetNumberInterface
- Parameters:
vMin
- New value of vMin.
setVMax
public void setVMax(double vMax)
- Description copied from interface:
LyGraphicalNumber
- Updates attribute vMax to the given value.
- Specified by:
setVMax
in interface LyGraphicalNumber
- Specified by:
setVMax
in interface LySetNumberInterface
- Parameters:
vMax
- New value of vMax.
setPitch
public void setPitch(double pitch)
- Description copied from interface:
LyGraphicalNumber
- Updates attribute pitch to the given value.
- Specified by:
setPitch
in interface LyGraphicalNumber
- Specified by:
setPitch
in interface LySetNumberInterface
- Parameters:
pitch
- New value of pitch.
setDecimals
public void setDecimals(int decimals)
- Description copied from interface:
LyGraphicalNumber
- Updates attribute decimals to the given value.
- Specified by:
setDecimals
in interface LyGraphicalNumber
- Specified by:
setDecimals
in interface LySetNumberInterface
- Parameters:
decimals
- New value of decimals.
Website: W4 S.A., contact us: support@w4global.com