Style Intelligence v12.0

inetsoft.report
Interface TextFieldElement

All Superinterfaces:
Cloneable, FieldElement, HyperlinkSupport, PainterElement, ReportElement, Serializable

public interface TextFieldElement
extends FieldElement

Textfield form element is an active element for entering text values. The value is posted to the server when the form is submitted.

* Only available in Style Report/EE.


Field Summary
 
Fields inherited from interface inetsoft.report.ReportElement
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH
 
Method Summary
 int getCols()
          Set the number of columns in the text field.
 int getMaxLength()
          Get the maximum number of characters this textfield allows.
 String getText()
          Get the text contents of this text field.
 boolean isOptional()
          Check if this field is optional.
 void setCols(int cols)
          Get the number of columns in the text field.
 void setMaxLength(int max)
          Set the maximum number of characters this textfield allows.
 void setOptional(boolean optional)
          Set the optional property.
 void setText(String text)
          Set the text contents of this text field.
 
Methods inherited from interface inetsoft.report.FieldElement
containsHiddenField, getForm, getHiddenField, getHiddenFieldNames, getName, getOnMouseDown, getOnSubmit, getToolTip, getValue, isDisabledOnStage, isEnabled, isSubmitOnChange, removeHiddenField, setEnabled, setForm, setHiddenField, setName, setOnMouseDown, setOnSubmit, setSubmitOnChange, setToolTip, setValue
 
Methods inherited from interface inetsoft.report.PainterElement
getAnchor, getHyperlink, getHyperlinkAreas, getLayout, getMargin, getPainter, getRotation, getSize, getWrapping, setAnchor, setHyperlink, setLayout, setMargin, setPainter, setRotation, setSize, setWrapping
 
Methods inherited from interface inetsoft.report.ReportElement
clone, getAlignment, getBackground, getCSSClass, getFont, getForeground, getFullName, getID, getIndent, getOnClick, getPreferredSize, getProperty, getPropertyNames, getScript, getSpacing, getTarget, getType, getUserObject, isHideOnPrint, isKeepWithNext, isVisible, setAlignment, setBackground, setContext, setCSSClass, setFont, setForeground, setFullName, setHideOnPrint, setID, setIndent, setKeepWithNext, setOnClick, setProperty, setScript, setSpacing, setTarget, setUserObject, setVisible
 
Methods inherited from interface inetsoft.report.HyperlinkSupport
getHyperlink, setHyperlink
 

Method Detail

getText

String getText()
Get the text contents of this text field.


setText

void setText(String text)
Set the text contents of this text field.


getCols

int getCols()
Set the number of columns in the text field.


setCols

void setCols(int cols)
Get the number of columns in the text field.


getMaxLength

int getMaxLength()
Get the maximum number of characters this textfield allows.


setMaxLength

void setMaxLength(int max)
Set the maximum number of characters this textfield allows.


isOptional

boolean isOptional()
Check if this field is optional.


setOptional

void setOptional(boolean optional)
Set the optional property.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.