leon.view.mobile
Class LyMobileRelation
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileRelation
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalRelation, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetLinksInterface
public class LyMobileRelation
- extends LyMobileObject
- implements LyGraphicalRelation
Method Summary |
void |
addLink(LyLink links,
int pos)
Inserts a sub-component links at given position. |
void |
init()
|
void |
removeLink(LyLink links)
Removes a sub-component links. |
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 |
LyMobileRelation
public LyMobileRelation(LyRelation relation)
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
addLink
public void addLink(LyLink links,
int pos)
- Description copied from interface:
LyGraphicalRelation
- Inserts a sub-component links at given position.
- Specified by:
addLink
in interface LyGraphicalRelation
- Specified by:
addLink
in interface LySetLinksInterface
- Parameters:
links
- The links to add to links list.pos
- Position where the sub-component is inserted.
removeLink
public void removeLink(LyLink links)
- Description copied from interface:
LyGraphicalRelation
- Removes a sub-component links.
- Specified by:
removeLink
in interface LyGraphicalRelation
- Specified by:
removeLink
in interface LySetLinksInterface
- Parameters:
links
- The links to remove to links list.
Website: W4 S.A., contact us: support@w4global.com