nl.gx.webmanager.cms.form
Interface FormPartText

All Superinterfaces:
FormPart, Presentable, Wrapper

public interface FormPartText
extends FormPart

Form part for text input.


Method Summary
 java.lang.String getDefaultText()
          Return default text.
 int getHeight()
          Return height of the input field.
 java.lang.String getInputType()
          Return the input type.
 int getMaxLength()
          Return maximum allowed length for the input field.
 java.lang.String getPrefilling()
          Return prefilling tag.
 ResourceEntry getResourceEntry()
          Return resource entry.
 int getWidth()
          Return width of the input field.
 ResourceEntry getWriteResourceEntry()
          Returns the write resource entry.
 
Methods inherited from interface nl.gx.webmanager.cms.form.FormPart
getAlias, getConnectedForm, getConnectedFormPart, getContent, getDescription, getExtraText, getExtraValidationDescriptions, getForm, getHelpText, getIdentifier, getPersonalization, getStyleOptions, getValidators, isPrefilled
 
Methods inherited from interface nl.gx.webmanager.cms.core.Presentable
getPresentation, render, render, setPresentation
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

getDefaultText

java.lang.String getDefaultText()
Return default text.

Returns:
default text

getPrefilling

java.lang.String getPrefilling()
Return prefilling tag.
 <wm-form-entry default="defaulttext of this formpart" fpc="...." flowid="...." />
 

Returns:
prefilling tag.

getWidth

int getWidth()
Return width of the input field.

Returns:
width of the input field (in characters).

getHeight

int getHeight()
Return height of the input field.

Returns:
height of the input field (in rows).

getMaxLength

int getMaxLength()
Return maximum allowed length for the input field.

Returns:
maximum allowed length for the input field (in characters).

getInputType

java.lang.String getInputType()
Return the input type.

Returns:
the input type (text,hidden or textarea).

getResourceEntry

ResourceEntry getResourceEntry()
Return resource entry.

Returns:
resource entry

getWriteResourceEntry

ResourceEntry getWriteResourceEntry()
Returns the write resource entry. For example this can be used to write the update profile value in the database.

Returns:
ResourceEntry write resource entry.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.