LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.event
Class LySimpleParameterValues

java.lang.Object
  extended by leon.view.event.LySimpleParameterValues
All Implemented Interfaces:
java.io.Serializable, LyParameterValues
Direct Known Subclasses:
LySwingParameterValues

public class LySimpleParameterValues
extends java.lang.Object
implements LyParameterValues, java.io.Serializable

Retrieve pairs id / values when submiting data from a view.

See Also:
Serialized Form

Field Summary
static java.lang.String __VERSION
           
static char SEP
          Separator used in javascript method for relations.
 
Constructor Summary
LySimpleParameterValues(LyComponent root)
          Constructor.
 
Method Summary
 LyComponent getComponent()
           
 java.lang.String getParameter(java.lang.String param)
          Returns a string containing the lone value of the specified parameter, or null if the parameter does not exist.
 java.lang.String[] getParameterNames()
          Returns the parameter names for this request as an enumeration of strings, or an empty enumeration if there are no parameters or the input stream is empty.
 java.lang.String[] getParameterValues(java.lang.String param)
          Returns the values of the specified parameter for the request as an array of strings, or null if the named parameter does not exist.
 java.util.HashMap<java.lang.String,java.lang.String> getValues()
           
 void setComponent(LyComponent root)
           
 void setValues(java.util.HashMap<java.lang.String,java.lang.String> values)
           
 void updateViewFromValues(LyComponent component)
          Update a view with the specified values.
 void updateViewFromValues(LyComponent component, boolean needValueChange)
          Update a view with the specified values.
 void updateViewFromValues(LyComponent component, LyComponent priorityComponent, boolean needValueChange)
          Update a view with the specified values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values

SEP

public static char SEP
Separator used in javascript method for relations.

Constructor Detail

LySimpleParameterValues

public LySimpleParameterValues(LyComponent root)
Constructor.

Method Detail

getParameter

public java.lang.String getParameter(java.lang.String param)
Returns a string containing the lone value of the specified parameter, or null if the parameter does not exist.

Specified by:
getParameter in interface LyParameterValues

getParameterNames

public java.lang.String[] getParameterNames()
Returns the parameter names for this request as an enumeration of strings, or an empty enumeration if there are no parameters or the input stream is empty.

Specified by:
getParameterNames in interface LyParameterValues

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String param)
Returns the values of the specified parameter for the request as an array of strings, or null if the named parameter does not exist.

Specified by:
getParameterValues in interface LyParameterValues

updateViewFromValues

public void updateViewFromValues(LyComponent component)
Update a view with the specified values.

Specified by:
updateViewFromValues in interface LyParameterValues

updateViewFromValues

public void updateViewFromValues(LyComponent component,
                                 boolean needValueChange)
Update a view with the specified values.

Specified by:
updateViewFromValues in interface LyParameterValues

updateViewFromValues

public void updateViewFromValues(LyComponent component,
                                 LyComponent priorityComponent,
                                 boolean needValueChange)
Update a view with the specified values.

Specified by:
updateViewFromValues in interface LyParameterValues

getComponent

public LyComponent getComponent()

getValues

public java.util.HashMap<java.lang.String,java.lang.String> getValues()

setComponent

public void setComponent(LyComponent root)

setValues

public void setValues(java.util.HashMap<java.lang.String,java.lang.String> values)

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com