leon.view.mobile
Class LyMobileObject
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
- All Implemented Interfaces:
- LyGraphicalComponent, LyViewComponent, LyMobileComponent, LyFreeInterface
- Direct Known Subclasses:
- LyMobileArea, LyMobileBoolean, LyMobileCanvas, LyMobileCaption, LyMobileChart, LyMobileChoice, LyMobileColor, LyMobileCommand, LyMobileCommands, LyMobileConstraint, LyMobileDate, LyMobileDictionary, LyMobileEntry, LyMobileFile, LyMobileForm, LyMobileFrame, LyMobileGantt, LyMobileGauge, LyMobileHRef, LyMobileHRefs, LyMobileIcon, LyMobileInterval, LyMobileItem, LyMobileLabel, LyMobileLayout, LyMobileLine, LyMobileLink, LyMobileList, LyMobileListOption, LyMobileMap, LyMobileMapNode, LyMobileMenu, LyMobileMenuBar, LyMobileMessage, LyMobileMessages, LyMobileNotice, LyMobileNumber, LyMobileOption, LyMobilePopupMenu, LyMobileRelation, LyMobileReporting, LyMobileSelectBar, LyMobileSelectItem, LyMobileSplitter, LyMobileTab, LyMobileTable, LyMobileTableObject, LyMobileTabs, LyMobileText, LyMobileTip, LyMobileTitleBar, LyMobileTool, LyMobileTree, LyMobileTreeNode
public abstract class LyMobileObject
- extends LyGraphicalObject
- implements LyMobileComponent
The LyMobileObject class implements root object for all Mobile components.
Field Summary |
static boolean |
REWRITING_MODE
Boolean used for activating raw XML writing of components
This boolean inhibits attributes initialization from properties and initFromModel. |
static java.lang.String |
SEP_ID
Id for sep components. |
static java.lang.String |
WEB_COMPONENT_ID
|
static java.lang.String |
WEB_CONTROLLER_ID
|
static java.lang.String |
WEB_SESSION_ID
|
Method Summary |
void |
createWebview(java.io.PrintWriter pw,
java.lang.String sessionId)
|
java.lang.String |
expandUrl(java.lang.String text)
Replaces within a given String some $properties$ found in the system environment. |
java.lang.String |
getDirForDownloadImage(java.lang.String url)
|
java.lang.String |
getImageUrl(java.lang.String image)
|
java.lang.String |
getUrl(java.lang.String image)
|
boolean |
printJsonAttributeSeparator(boolean first,
java.io.PrintWriter pw)
|
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 |
SEP_ID
public static final java.lang.String SEP_ID
- Id for sep components.
WEB_COMPONENT_ID
public static final java.lang.String WEB_COMPONENT_ID
WEB_CONTROLLER_ID
public static final java.lang.String WEB_CONTROLLER_ID
WEB_SESSION_ID
public static final java.lang.String WEB_SESSION_ID
REWRITING_MODE
public static boolean REWRITING_MODE
- Boolean used for activating raw XML writing of components
This boolean inhibits attributes initialization from properties and initFromModel.
Reserved for internal use.
LyMobileObject
public LyMobileObject(LyComponent viewComponent)
getUrl
public java.lang.String getUrl(java.lang.String image)
getImageUrl
public java.lang.String getImageUrl(java.lang.String image)
getDirForDownloadImage
public java.lang.String getDirForDownloadImage(java.lang.String url)
expandUrl
public final java.lang.String expandUrl(java.lang.String text)
- Replaces within a given String some $properties$ found in the system environment. This method
is looking for macros between '$' and replaces these macros by a property if any (such as
$LY_APP_DIR$/data/test.html).
- Parameters:
text
- The original string, before any substitution.
- Returns:
- The string after all substitutions.
printJsonAttributeSeparator
public boolean printJsonAttributeSeparator(boolean first,
java.io.PrintWriter pw)
createWebview
public void createWebview(java.io.PrintWriter pw,
java.lang.String sessionId)
Website: W4 S.A., contact us: support@w4global.com