leon.view.mobile
Class LyMobileTab
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileTab
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalTab, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetColorInterface, LySetEnabledInterface
public class LyMobileTab
- extends LyMobileObject
- implements LyGraphicalTab
Method Summary |
java.lang.String |
get_id()
|
java.lang.String |
get_label()
|
void |
init()
|
void |
setColor(java.lang.String color)
Updates attribute color to the given value. |
void |
setEnabled(boolean enabled)
Updates attribute enabled to the given value. |
void |
writeJson(java.io.PrintWriter pw,
boolean print,
int index,
java.lang.String sessionId)
|
void |
writeJson(java.io.PrintWriter pw,
java.lang.String sessionId)
|
void |
writeXml(java.io.PrintWriter pw)
Write XML description corresponding to this component. |
void |
writeXml(java.io.PrintWriter pw,
boolean print,
int index)
|
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 |
LyMobileTab
public LyMobileTab(LyTab tab)
writeXml
public void writeXml(java.io.PrintWriter pw,
boolean print,
int index)
writeJson
public void writeJson(java.io.PrintWriter pw,
boolean print,
int index,
java.lang.String sessionId)
init
public void init()
- Specified by:
init
in interface LyMobileComponent
setEnabled
public void setEnabled(boolean enabled)
- Description copied from interface:
LyGraphicalTab
- Updates attribute enabled to the given value.
- Specified by:
setEnabled
in interface LyGraphicalTab
- Specified by:
setEnabled
in interface LySetEnabledInterface
- Parameters:
enabled
- Boolean indicating if attribute enabled is set or unset.
setColor
public void setColor(java.lang.String color)
- Description copied from interface:
LyGraphicalTab
- Updates attribute color to the given value.
- Specified by:
setColor
in interface LyGraphicalTab
- Specified by:
setColor
in interface LySetColorInterface
- Parameters:
color
- New value of color.
get_id
public java.lang.String get_id()
get_label
public java.lang.String get_label()
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
Website: W4 S.A., contact us: support@w4global.com