FileUploadTextControl

File Upload Text Control displays the selected file(s) for the associated file upload control.

Further documentation.

FileUploadTextControl Functions

getAssociatedUploadControl FileUploadTextControl.getAssociatedUploadControl( ) Returns the associated FileUpload control if one exists

BackgroundStyleProperties Functions

getBackgroundColor FileUploadTextControl.getBackgroundColor( ) Background color.
setBackgroundColor FileUploadTextControl.setBackgroundColor( backgroundColor ) Sets the background color, this is equivalent to the CSS background-color property and any valid value for this CSS property can be used.
getBackgroundImage FileUploadTextControl.getBackgroundImage( ) URL of the background image.
setBackgroundImage FileUploadTextControl.setBackgroundImage( backgroundImage ) Sets the URL of the background image.
getBackgroundImagePosition FileUploadTextControl.getBackgroundImagePosition( ) Background image position.
setBackgroundImagePosition FileUploadTextControl.setBackgroundImagePosition( backgroundImagePosition ) Sets the background image position.
getBackgroundImageRepeat FileUploadTextControl.getBackgroundImageRepeat( ) Background image repeat property.
setBackgroundImageRepeat FileUploadTextControl.setBackgroundImageRepeat( backgroundImageRepeat ) Sets the background image repeat property.

BorderStyleProperties Functions

getBorderColor FileUploadTextControl.getBorderColor( ) Border color applied to all borders.
setBorderColor FileUploadTextControl.setBorderColor( borderColor ) Sets border color.
getBorderRadius FileUploadTextControl.getBorderRadius( ) Border radius.
setBorderRadius FileUploadTextControl.setBorderRadius( borderRadius ) Sets border radius.
getBorderStyle FileUploadTextControl.getBorderStyle( ) Border style applied to all borders.
setBorderStyle FileUploadTextControl.setBorderStyle( borderStyle ) Sets border style.
getBorderWidth FileUploadTextControl.getBorderWidth( ) Border width applied to all four borders.
setBorderWidth FileUploadTextControl.setBorderWidth( borderWidth ) Sets the border width applied to all four borders.
getBottomBorderWidth FileUploadTextControl.getBottomBorderWidth( ) Bottom border width, overriding property borderWidth.
setBottomBorderWidth FileUploadTextControl.setBottomBorderWidth( bottomBorderWidth ) Sets the bottom border width, overriding property borderWidth.
getLeftBorderWidth FileUploadTextControl.getLeftBorderWidth( ) Left border width, overriding property borderWidth.
setLeftBorderWidth FileUploadTextControl.setLeftBorderWidth( leftBorderWidth ) Sets the left border width, overriding property borderWidth.
getRightBorderWidth FileUploadTextControl.getRightBorderWidth( ) Right border width, overriding property borderWidth.
setRightBorderWidth FileUploadTextControl.setRightBorderWidth( rightBorderWidth ) Sets the right border width, overriding property borderWidth.
getTopBorderWidth FileUploadTextControl.getTopBorderWidth( ) Top border width, overriding property borderWidth.
setTopBorderWidth FileUploadTextControl.setTopBorderWidth( topBorderWidth ) Sets the top border width, overriding property borderWidth.

Control Functions

addCssClass FileUploadTextControl.addCssClass( cssClass ) Adds one or more CSS classes to the list of classes applied to the control, retaining any existing classes.
getAll FileUploadTextControl.getAll( ) Returns a control object of the same type as the control object on which this method is invoked, that gives access to all occurrences of this control on the page.
isContainer FileUploadTextControl.isContainer( ) Returns true if this control is a container control i.e.
getCssClass FileUploadTextControl.getCssClass( ) Returns the list of CSS classes configured for the control.
setCssClass FileUploadTextControl.setCssClass( cssClass ) Sets one or more CSS classes to be applied to the control.
isDisplayOnly FileUploadTextControl.isDisplayOnly( ) Returns true if the control is marked as display only, otherwise returns false.
setDisplayOnly FileUploadTextControl.setDisplayOnly( displayOnly ) Marks the control and all its children as display only (when displayOnly is true) or enterable (when displayOnly is false).
isDisplayOnlyIncludingParents FileUploadTextControl.isDisplayOnlyIncludingParents( ) Returns true if the control or any of its parents is marked as display only, otherwise returns false.
getErrorMsgClass FileUploadTextControl.getErrorMsgClass( ) Returns the list of CSS classes configured for error messages when the messages are displayed locally to the control.
setErrorMsgClass FileUploadTextControl.setErrorMsgClass( errorMsgClass ) Sets one or more CSS classes to be applied to error messages when the messages are displayed locally to the control.
getErrorMsgStyle FileUploadTextControl.getErrorMsgStyle( ) Returns the inline CSS style configured for error messages when the messages are displayed locally to the control.
setErrorMsgStyle FileUploadTextControl.setErrorMsgStyle( errorMsgStyle ) Sets inline CSS style to be applied to error messages when the messages are displayed locally to the control.
isEventField FileUploadTextControl.isEventField( ) Returns true if the control is an event field i.e.
hasModifier FileUploadTextControl.hasModifier( modifier ) Returns true if the control has the specified modifier, otherwise returns false.
isHidden FileUploadTextControl.isHidden( ) Returns true if the control is marked as hidden, otherwise returns false.
setHidden FileUploadTextControl.setHidden( hidden ) Hides or shows the control and all its children.
hide FileUploadTextControl.hide( ) Hides the control, this is equivalent to setting property hidden to true.
getInfoMsgClass FileUploadTextControl.getInfoMsgClass( ) Returns the list of CSS classes configured for info messages when the messages are displayed locally to the control.
setInfoMsgClass FileUploadTextControl.setInfoMsgClass( infoMsgClass ) Sets one or more CSS classes to be applied to info messages when the messages are displayed locally to the control.
getInfoMsgStyle FileUploadTextControl.getInfoMsgStyle( ) Returns the inline CSS style configured for info messages when the messages are displayed locally to the control.
setInfoMsgStyle FileUploadTextControl.setInfoMsgStyle( infoMsgStyle ) Sets inline CSS style to be applied to info messages when the messages are displayed locally to the control.
isInheritMsg FileUploadTextControl.isInheritMsg( ) Returns true if Use parent control setting is checked in the Message Options properties for the control, otherwise returns false.
getLayoutCell FileUploadTextControl.getLayoutCell( ) Returns the LayoutCell object which can be used to override properties of the parent control's layout as applied to this control.
isLocalMsg FileUploadTextControl.isLocalMsg( ) Returns true if Local Message is checked in the Message Options properties for the control, otherwise returns false.
isNewLine FileUploadTextControl.isNewLine( ) Returns the new line property.
setNewLine FileUploadTextControl.setNewLine( newLine ) Sets or unsets the control's new line property.
getNextSiblingControl FileUploadTextControl.getNextSiblingControl( ) Returns the control that appears after this control within the same parent, or null if no such control exists.
getPage FileUploadTextControl.getPage( ) Returns the com.ebasetech.xi.api.Page where this control is located.
getParentControl FileUploadTextControl.getParentControl( ) Returns this control's parent control or null if no such parent exists.
getPreviousSiblingControl FileUploadTextControl.getPreviousSiblingControl( ) Returns the control that appears before this control within the same parent, or null if no such control exists.
refresh FileUploadTextControl.refresh( ) Refreshes this control in the user's browser when the page is next displayed.
removeCssClass FileUploadTextControl.removeCssClass( cssClass ) Removes one or more CSS classes from the control.
requestFocus FileUploadTextControl.requestFocus( ) Sets the browser focus to the control.
getRootHtmlElementProperties FileUploadTextControl.getRootHtmlElementProperties( ) Return the root com.ebasetech.xi.api.controls.HtmlElementProperties for the Control
show FileUploadTextControl.show( ) Shows the control, this is equivalent to setting property hidden to false.
isShowing FileUploadTextControl.isShowing( ) Returns true if the control will be included in the web page when it's next displayed to the user, otherwise returns false.
getStyle FileUploadTextControl.getStyle( ) Returns the inline CSS style configured for the control.
setStyle FileUploadTextControl.setStyle( style ) Sets inline CSS style to be applied to the control.
getWarningMsgClass FileUploadTextControl.getWarningMsgClass( ) Returns the list of CSS classes configured for warning messages when the messages are displayed locally to the control.
setWarningMsgClass FileUploadTextControl.setWarningMsgClass( warningMsgClass ) Sets one or more CSS classes to be applied to warning messages when the messages are displayed locally to the control.
getWarningMsgStyle FileUploadTextControl.getWarningMsgStyle( ) Returns the inline CSS style configured for warning messages when the messages are displayed locally to the control.
setWarningMsgStyle FileUploadTextControl.setWarningMsgStyle( warningMsgStyle ) Sets inline CSS style to be applied to warning messages when the messages are displayed locally to the control.

MarginStyleProperties Functions

getAllMargin FileUploadTextControl.getAllMargin( ) Single MarginStyleProperties size value used for top, bottom, left and right margin.
setAllMargin FileUploadTextControl.setAllMargin( allMargin ) Sets the MarginStyleProperties size value used for top, bottom, left and right margin.
getBottomMargin FileUploadTextControl.getBottomMargin( ) Bottom MarginStyleProperties size value.
setBottomMargin FileUploadTextControl.setBottomMargin( bottomMargin ) Sets the bottom MarginStyleProperties size value.
getLeftMargin FileUploadTextControl.getLeftMargin( ) Left MarginStyleProperties size value.
setLeftMargin FileUploadTextControl.setLeftMargin( leftMargin ) Sets the left MarginStyleProperties size value.
getRightMargin FileUploadTextControl.getRightMargin( ) Right MarginStyleProperties size value.
setRightMargin FileUploadTextControl.setRightMargin( rightMargin ) Sets the right MarginStyleProperties size value.
getTopMargin FileUploadTextControl.getTopMargin( ) Top MarginStyleProperties size value.
setTopMargin FileUploadTextControl.setTopMargin( topMargin ) Sets the top MarginStyleProperties size value.

PaddingStyleProperties Functions

getAllPadding FileUploadTextControl.getAllPadding( ) Single PaddingStyleProperties size value used for top, bottom, left and right padding.
setAllPadding FileUploadTextControl.setAllPadding( allPadding ) Sets the PaddingStyleProperties size value used for top, bottom, left and right padding.
getBottomPadding FileUploadTextControl.getBottomPadding( ) Bottom PaddingStyleProperties size value.
setBottomPadding FileUploadTextControl.setBottomPadding( bottomPadding ) Sets the bottom PaddingStyleProperties size value.
getLeftPadding FileUploadTextControl.getLeftPadding( ) Left PaddingStyleProperties size value.
setLeftPadding FileUploadTextControl.setLeftPadding( leftPadding ) Sets the left PaddingStyleProperties size value.
getRightPadding FileUploadTextControl.getRightPadding( ) Right PaddingStyleProperties size value.
setRightPadding FileUploadTextControl.setRightPadding( rightPadding ) Sets the right PaddingStyleProperties size value.
getTopPadding FileUploadTextControl.getTopPadding( ) Top PaddingStyleProperties size value.
setTopPadding FileUploadTextControl.setTopPadding( topPadding ) Sets the top PaddingStyleProperties size value.

TextStyleProperties Functions

getLineHeight FileUploadTextControl.getLineHeight( ) Line height.
setLineHeight FileUploadTextControl.setLineHeight( lineHeight ) Sets the line height, this is equivalent to the CSS line-height property and any valid value for this CSS property can be used.
getTextBold FileUploadTextControl.getTextBold( ) Text bold setting.
setTextBold FileUploadTextControl.setTextBold( textBold ) Sets the text bold setting.
getTextColor FileUploadTextControl.getTextColor( ) Text color.
setTextColor FileUploadTextControl.setTextColor( textColor ) Sets the text color, this is equivalent to the CSS color property and any valid value for this CSS property can be used.
getTextDecoration FileUploadTextControl.getTextDecoration( ) Text decoration property (shown as Lines in the designer).
setTextDecoration FileUploadTextControl.setTextDecoration( textDecoration ) Sets the text decoration property (shown as Lines in the designer).
getTextFont FileUploadTextControl.getTextFont( ) List of text fonts.
setTextFont FileUploadTextControl.setTextFont( textFont ) Sets the list of text fonts, this is equivalent to the CSS font-family property and any valid value for this CSS property can be used.
getTextItalic FileUploadTextControl.getTextItalic( ) Text italic setting.
setTextItalic FileUploadTextControl.setTextItalic( textItalic ) Sets the text italic setting.
getTextSize FileUploadTextControl.getTextSize( ) Text size.
setTextSize FileUploadTextControl.setTextSize( textSize ) Sets the text size, this is equivalent to the CSS font-size property and any valid value for this CSS property can be used.

MessageContainer Functions

addErrorMessage FileUploadTextControl.addErrorMessage( message [, stopProcessing ] ) Adds an error message that will be displayed to the user.
addErrorMessage FileUploadTextControl.addErrorMessage( messageNo [, replaceParameters ] [, stopProcessing ] ) Adds an error message that will be displayed to the user.
addErrorMessageText FileUploadTextControl.addErrorMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds an error message that will be displayed to the user, sourced from an existing text.
addInfoMessage FileUploadTextControl.addInfoMessage( message [, stopProcessing ] ) Adds an information message that will be displayed to the user.
addInfoMessageText FileUploadTextControl.addInfoMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds an info message that will be displayed to the user, sourced from an existing text.
addWarningMessage FileUploadTextControl.addWarningMessage( message [, stopProcessing ] ) Adds a warning message that will be displayed to the user.
addWarningMessage FileUploadTextControl.addWarningMessage( messageNo [, replaceParameters ] [, stopProcessing ] ) Adds a warning message that will be displayed to the user.
addWarningMessageText FileUploadTextControl.addWarningMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds a warning message that will be displayed to the user, sourced from an existing text.
existErrorMessages FileUploadTextControl.existErrorMessages( ) Returns true if undisplayed error messages exist for this element, otherwise returns false.
existInfoMessages FileUploadTextControl.existInfoMessages( ) Returns true if undisplayed info messages exist for this element, otherwise returns false.
existMessages FileUploadTextControl.existMessages( ) Returns true if undisplayed info, warning or error messages exist for this element, otherwise returns false.
existWarningMessages FileUploadTextControl.existWarningMessages( ) Returns true if undisplayed warning messages exist for this element, otherwise returns false.

Element Functions

getElementName FileUploadTextControl.getElementName( ) Returns the element name
getElementType FileUploadTextControl.getElementType( ) Returns the element type