leon.view.mobile
Class LyMobileHeader
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileTableObject
leon.view.mobile.LyMobileHeader
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalHeader, LyViewComponent, LyMobileComponent, LyFreeInterface
public class LyMobileHeader
- extends LyMobileTableObject
- implements LyGraphicalHeader
Method Summary |
void |
init()
|
void |
setBorderColor(java.lang.String borderColor)
Updates attribute borderColor to the given value. |
void |
setBorderWidth(int borderWidth)
Updates attribute borderWidth to the given value. |
void |
setColumnWidth(double columnWidth)
Sets attribute columnWidth to the given value. |
void |
setFixed(boolean fixed)
Updates attribute fixed to the given value. |
void |
setIncreasing(boolean increasing)
Updates attribute increasing to the given value. |
void |
setSort(int sort)
Updates attribute sort 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. |
int |
writeXml(java.io.PrintWriter pw,
int nb)
|
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 |
LyMobileHeader
public LyMobileHeader(LyHeader header)
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
- Overrides:
writeXml
in class LyMobileTableObject
- 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
- Overrides:
init
in class LyMobileTableObject
setSort
public void setSort(int sort)
- Description copied from interface:
LyGraphicalHeader
- Updates attribute sort to the given value.
- Specified by:
setSort
in interface LyGraphicalHeader
- Parameters:
sort
- New value of sort.
setIncreasing
public void setIncreasing(boolean increasing)
- Description copied from interface:
LyGraphicalHeader
- Updates attribute increasing to the given value.
- Specified by:
setIncreasing
in interface LyGraphicalHeader
- Parameters:
increasing
- Boolean indicating if attribute increasing is set or unset.
setFixed
public void setFixed(boolean fixed)
- Description copied from interface:
LyGraphicalHeader
- Updates attribute fixed to the given value.
- Specified by:
setFixed
in interface LyGraphicalHeader
- Parameters:
fixed
- Boolean indicating if attribute fixed is set or unset.
setBorderWidth
public void setBorderWidth(int borderWidth)
- Description copied from interface:
LyGraphicalHeader
- Updates attribute borderWidth to the given value.
- Specified by:
setBorderWidth
in interface LyGraphicalHeader
- Parameters:
borderWidth
- New value of borderWidth.
setBorderColor
public void setBorderColor(java.lang.String borderColor)
- Description copied from interface:
LyGraphicalHeader
- Updates attribute borderColor to the given value.
- Specified by:
setBorderColor
in interface LyGraphicalHeader
- Parameters:
borderColor
- New value of borderColor.
writeXml
public int writeXml(java.io.PrintWriter pw,
int nb)
- Specified by:
writeXml
in class LyMobileTableObject
setColumnWidth
public void setColumnWidth(double columnWidth)
- Sets attribute columnWidth to the given value.
- Specified by:
setColumnWidth
in interface LyGraphicalHeader
- Parameters:
columnWidth
- New value of columnWidth.
Website: W4 S.A., contact us: support@w4global.com