LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.builder
Class LyShowUrlBuilder

java.lang.Object
  extended by leon.control.builder.LyBuilder
      extended by leon.control.builder.LyAreaBuilder
          extended by leon.control.builder.LyShowUrlBuilder

public class LyShowUrlBuilder
extends LyAreaBuilder

Creates a view to show Text.

See Also:
LyTextController

Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyShowUrlBuilder(LyController parent)
          Default constructor.
 
Method Summary
 LyComponent build()
          Builds the view component for the specified parent controller.
 LyText setText(java.lang.String fieldId, java.lang.String fieldLabel, java.lang.String itemLabel, int nCols, int nRows, java.lang.String format, boolean optional)
          Add a text field in the user input window.
 void setUrl(java.lang.String url)
          Sets a new url on the main component.
 void setUrl(java.lang.String url, LyArea area)
          Sets the given url (if not null) on the given area.
 
Methods inherited from class leon.control.builder.LyAreaBuilder
buildComponent, completeMenuBar, completeMessages, getRightLabel, setTitleBarParameters, updateSelectFile, updateTitleBar
 
Methods inherited from class leon.control.builder.LyBuilder
getComponent, getParent
 
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
File version

See Also:
Constant Field Values
Constructor Detail

LyShowUrlBuilder

public LyShowUrlBuilder(LyController parent)
Default constructor.

Parameters:
parent - Parent controller of this builder
Method Detail

build

public LyComponent build()
Builds the view component for the specified parent controller. The component may create the XML Tree or the internal view.

Specified by:
build in class LyBuilder
Returns:
the view Component

setUrl

public void setUrl(java.lang.String url)
Sets a new url on the main component.

Parameters:
url - the new url to set

setUrl

public void setUrl(java.lang.String url,
                   LyArea area)
Sets the given url (if not null) on the given area.

Parameters:
url - the new url
area - the area

setText

public LyText setText(java.lang.String fieldId,
                      java.lang.String fieldLabel,
                      java.lang.String itemLabel,
                      int nCols,
                      int nRows,
                      java.lang.String format,
                      boolean optional)
Add a text field in the user input window.

Parameters:
fieldId - Id of the field
fieldLabel - Label of the field
itemLabel - Text to display
nCols - Number of columns of the text field
nRows - Number of rows of the text field
format - Format of the text Field (See also tag of leon.dtd)
optional - In user input mode, tells if the field is optional
Returns:
The text component created.

(c) January 2013 - W4 S.A.

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