All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.bootsfaces.component.inputText.InputTextCore Maven / Gradle / Ivy

The newest version!
/**
 *  Copyright 2014-2019 Riccardo Massera (TheCoder4.Eu), Dario D'Urzo and Stephan Rauh (http://www.beyondjava.net).
 *
 *  This file is part of BootsFaces.
 *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
 */

package net.bootsfaces.component.inputText;

import jakarta.faces.component.html.HtmlInputText;

/** This class holds the attributes of <b:inputText />. */
public abstract class InputTextCore extends HtmlInputText implements net.bootsfaces.render.IHasTooltip {

	protected enum PropertyKeys {
		ajax, autoUpdate, binding, colLg, colMd, colSm, colXs, converterMessage, delay, display, fieldId, fieldSize, hidden, inline, labelColLg, labelColMd, labelColSm, labelColXs, labelLargeScreen, labelMediumScreen, labelSmallScreen, labelStyle, labelStyleClass, labelTinyScreen, largeScreen, mask, mediumScreen, name, offset, offsetLg, offsetMd, offsetSm, offsetXs, onclick, oncomplete, onerror, onsuccess, placeholder, process, renderLabel, required, requiredMessage, smallScreen, span, style, styleClass, tags, tinyScreen, tooltip, tooltipContainer, tooltipDelay, tooltipDelayHide, tooltipDelayShow, tooltipPosition, type, typeahead, typeaheadHighlight, typeaheadHint, typeaheadLimit, typeaheadMinLength, typeaheadValues, update, visible;
		String toString;

		PropertyKeys(String toString) {
			this.toString = toString;
		}

		PropertyKeys() {
		}

		public String toString() {
			return ((this.toString != null) ? this.toString : super.toString());
		}
	}

	/**
	 * Whether the Button submits the form with AJAX. 

* @return Returns the value of the attribute, or , false, if it hasn't been set by the JSF file. */ public boolean isAjax() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.ajax, false); } /** * Whether the Button submits the form with AJAX.

* Usually this method is called internally by the JSF engine. */ public void setAjax(boolean _ajax) { getStateHelper().put(PropertyKeys.ajax, _ajax); } /** * Setting this flag updates the widget on every AJAX request.

* @return Returns the value of the attribute, or , false, if it hasn't been set by the JSF file. */ public boolean isAutoUpdate() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.autoUpdate, false); } /** * Setting this flag updates the widget on every AJAX request.

* Usually this method is called internally by the JSF engine. */ public void setAutoUpdate(boolean _autoUpdate) { getStateHelper().put(PropertyKeys.autoUpdate, _autoUpdate); } /** * An EL expression referring to a server side UIComponent instance in a backing bean.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public jakarta.faces.component.UIComponent getBinding() { return (jakarta.faces.component.UIComponent) getStateHelper().eval(PropertyKeys.binding); } /** * An EL expression referring to a server side UIComponent instance in a backing bean.

* Usually this method is called internally by the JSF engine. */ public void setBinding(jakarta.faces.component.UIComponent _binding) { getStateHelper().put(PropertyKeys.binding, _binding); } /** * Integer value to specify how many columns to span on large screens (≥1200 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getColLg() { return (String) getStateHelper().eval(PropertyKeys.colLg, "-1"); } /** * Integer value to specify how many columns to span on large screens (≥1200 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setColLg(String _colLg) { getStateHelper().put(PropertyKeys.colLg, _colLg); } /** * Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getColMd() { return (String) getStateHelper().eval(PropertyKeys.colMd, "-1"); } /** * Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setColMd(String _colMd) { getStateHelper().put(PropertyKeys.colMd, _colMd); } /** * Integer value to specify how many columns to span on small screens (≥768p pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getColSm() { return (String) getStateHelper().eval(PropertyKeys.colSm, "-1"); } /** * Integer value to specify how many columns to span on small screens (≥768p pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setColSm(String _colSm) { getStateHelper().put(PropertyKeys.colSm, _colSm); } /** * Integer value to specify how many columns to span on tiny screens (≤ 767 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getColXs() { return (String) getStateHelper().eval(PropertyKeys.colXs, "-1"); } /** * Integer value to specify how many columns to span on tiny screens (≤ 767 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setColXs(String _colXs) { getStateHelper().put(PropertyKeys.colXs, _colXs); } /** * Message to display when conversion fails.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getConverterMessage() { return (String) getStateHelper().eval(PropertyKeys.converterMessage); } /** * Message to display when conversion fails.

* Usually this method is called internally by the JSF engine. */ public void setConverterMessage(String _converterMessage) { getStateHelper().put(PropertyKeys.converterMessage, _converterMessage); } /** * Delays the AJAX request.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getDelay() { return (String) getStateHelper().eval(PropertyKeys.delay); } /** * Delays the AJAX request.

* Usually this method is called internally by the JSF engine. */ public void setDelay(String _delay) { getStateHelper().put(PropertyKeys.delay, _delay); } /** * If you use the "visible" attribute, the value of this attribute is added. Legal values: block, inline, inline-block. Default: block.

* @return Returns the value of the attribute, or "block", if it hasn't been set by the JSF file. */ public String getDisplay() { return (String) getStateHelper().eval(PropertyKeys.display, "block"); } /** * If you use the "visible" attribute, the value of this attribute is added. Legal values: block, inline, inline-block. Default: block.

* Usually this method is called internally by the JSF engine. */ public void setDisplay(String _display) { getStateHelper().put(PropertyKeys.display, _display); } /** * Unique id of the input field itself (as opposed to the id, which is belongs to the entire component, including the div surrounding the input field). Useful for frameworks like JAAS, which require you to use a specific field id.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getFieldId() { return (String) getStateHelper().eval(PropertyKeys.fieldId); } /** * Unique id of the input field itself (as opposed to the id, which is belongs to the entire component, including the div surrounding the input field). Useful for frameworks like JAAS, which require you to use a specific field id.

* Usually this method is called internally by the JSF engine. */ public void setFieldId(String _fieldId) { getStateHelper().put(PropertyKeys.fieldId, _fieldId); } /** * The size of the input. Possible values are xs (extra small), sm (small), md (medium) and lg (large) .

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getFieldSize() { return (String) getStateHelper().eval(PropertyKeys.fieldSize); } /** * The size of the input. Possible values are xs (extra small), sm (small), md (medium) and lg (large) .

* Usually this method is called internally by the JSF engine. */ public void setFieldSize(String _fieldSize) { getStateHelper().put(PropertyKeys.fieldSize, _fieldSize); } /** * This column is hidden on a certain screen size and below. Legal values: lg, md, sm, xs.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getHidden() { return (String) getStateHelper().eval(PropertyKeys.hidden); } /** * This column is hidden on a certain screen size and below. Legal values: lg, md, sm, xs.

* Usually this method is called internally by the JSF engine. */ public void setHidden(String _hidden) { getStateHelper().put(PropertyKeys.hidden, _hidden); } /** * Inline forms are more compact and put the label to the left hand side of the input field instead of putting it above the input field. Inline applies only to screens that are at least 768 pixels wide.

* @return Returns the value of the attribute, or false, if it hasn't been set by the JSF file. */ public boolean isInline() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.inline, false); } /** * Inline forms are more compact and put the label to the left hand side of the input field instead of putting it above the input field. Inline applies only to screens that are at least 768 pixels wide.

* Usually this method is called internally by the JSF engine. */ public void setInline(boolean _inline) { getStateHelper().put(PropertyKeys.inline, _inline); } /** * Integer value to specify how many columns to span on large screens (≥1200 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLabelColLg() { return (String) getStateHelper().eval(PropertyKeys.labelColLg, "-1"); } /** * Integer value to specify how many columns to span on large screens (≥1200 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLabelColLg(String _labelColLg) { getStateHelper().put(PropertyKeys.labelColLg, _labelColLg); } /** * Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLabelColMd() { return (String) getStateHelper().eval(PropertyKeys.labelColMd, "-1"); } /** * Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLabelColMd(String _labelColMd) { getStateHelper().put(PropertyKeys.labelColMd, _labelColMd); } /** * Integer value to specify how many columns to span on small screens (≥768p pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLabelColSm() { return (String) getStateHelper().eval(PropertyKeys.labelColSm, "-1"); } /** * Integer value to specify how many columns to span on small screens (≥768p pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLabelColSm(String _labelColSm) { getStateHelper().put(PropertyKeys.labelColSm, _labelColSm); } /** * Integer value to specify how many columns to span on tiny screens (≤ 767 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLabelColXs() { return (String) getStateHelper().eval(PropertyKeys.labelColXs, "-1"); } /** * Integer value to specify how many columns to span on tiny screens (≤ 767 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLabelColXs(String _labelColXs) { getStateHelper().put(PropertyKeys.labelColXs, _labelColXs); } /** * Alternative spelling to col-lg. Integer value to specify how many columns to span on large screens (≥1200 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLabelLargeScreen() { return (String) getStateHelper().eval(PropertyKeys.labelLargeScreen, "-1"); } /** * Alternative spelling to col-lg. Integer value to specify how many columns to span on large screens (≥1200 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLabelLargeScreen(String _labelLargeScreen) { getStateHelper().put(PropertyKeys.labelLargeScreen, _labelLargeScreen); } /** * Alternative spelling to col-md. Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLabelMediumScreen() { return (String) getStateHelper().eval(PropertyKeys.labelMediumScreen, "-1"); } /** * Alternative spelling to col-md. Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLabelMediumScreen(String _labelMediumScreen) { getStateHelper().put(PropertyKeys.labelMediumScreen, _labelMediumScreen); } /** * Alternative spelling to col-sm. Integer value to specify how many columns to span on small screens (≥768p pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLabelSmallScreen() { return (String) getStateHelper().eval(PropertyKeys.labelSmallScreen, "-1"); } /** * Alternative spelling to col-sm. Integer value to specify how many columns to span on small screens (≥768p pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLabelSmallScreen(String _labelSmallScreen) { getStateHelper().put(PropertyKeys.labelSmallScreen, _labelSmallScreen); } /** * The CSS inline style of the label.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getLabelStyle() { return (String) getStateHelper().eval(PropertyKeys.labelStyle); } /** * The CSS inline style of the label.

* Usually this method is called internally by the JSF engine. */ public void setLabelStyle(String _labelStyle) { getStateHelper().put(PropertyKeys.labelStyle, _labelStyle); } /** * The CSS class of the label.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getLabelStyleClass() { return (String) getStateHelper().eval(PropertyKeys.labelStyleClass); } /** * The CSS class of the label.

* Usually this method is called internally by the JSF engine. */ public void setLabelStyleClass(String _labelStyleClass) { getStateHelper().put(PropertyKeys.labelStyleClass, _labelStyleClass); } /** * Alternative spelling to col-xs. Integer value to specify how many columns to span on tiny screens (≤ 767 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLabelTinyScreen() { return (String) getStateHelper().eval(PropertyKeys.labelTinyScreen, "-1"); } /** * Alternative spelling to col-xs. Integer value to specify how many columns to span on tiny screens (≤ 767 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLabelTinyScreen(String _labelTinyScreen) { getStateHelper().put(PropertyKeys.labelTinyScreen, _labelTinyScreen); } /** * Alternative spelling to col-lg. Integer value to specify how many columns to span on large screens (≥1200 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getLargeScreen() { return (String) getStateHelper().eval(PropertyKeys.largeScreen, "-1"); } /** * Alternative spelling to col-lg. Integer value to specify how many columns to span on large screens (≥1200 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setLargeScreen(String _largeScreen) { getStateHelper().put(PropertyKeys.largeScreen, _largeScreen); } /** * Input mask. Default masking definitions: "9": numeric, "a": alphabetical, "*": alphanumeric.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getMask() { return (String) getStateHelper().eval(PropertyKeys.mask); } /** * Input mask. Default masking definitions: "9": numeric, "a": alphabetical, "*": alphanumeric.

* Usually this method is called internally by the JSF engine. */ public void setMask(String _mask) { getStateHelper().put(PropertyKeys.mask, _mask); } /** * Alternative spelling to col-md. Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getMediumScreen() { return (String) getStateHelper().eval(PropertyKeys.mediumScreen, "-1"); } /** * Alternative spelling to col-md. Integer value to specify how many columns to span on medium screens (≥992 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setMediumScreen(String _mediumScreen) { getStateHelper().put(PropertyKeys.mediumScreen, _mediumScreen); } /** * The name of the field in the HMTL form and the HTTP request. Useful for frameworks like JAAS, which require you to use a specific field name.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getName() { return (String) getStateHelper().eval(PropertyKeys.name); } /** * The name of the field in the HMTL form and the HTTP request. Useful for frameworks like JAAS, which require you to use a specific field name.

* Usually this method is called internally by the JSF engine. */ public void setName(String _name) { getStateHelper().put(PropertyKeys.name, _name); } /** * Integer value to specify how many columns to offset.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOffset() { return (String) getStateHelper().eval(PropertyKeys.offset); } /** * Integer value to specify how many columns to offset.

* Usually this method is called internally by the JSF engine. */ public void setOffset(String _offset) { getStateHelper().put(PropertyKeys.offset, _offset); } /** * Integer value to specify how many columns to offset.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOffsetLg() { return (String) getStateHelper().eval(PropertyKeys.offsetLg); } /** * Integer value to specify how many columns to offset.

* Usually this method is called internally by the JSF engine. */ public void setOffsetLg(String _offsetLg) { getStateHelper().put(PropertyKeys.offsetLg, _offsetLg); } /** * Integer value to specify how many columns to offset.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOffsetMd() { return (String) getStateHelper().eval(PropertyKeys.offsetMd); } /** * Integer value to specify how many columns to offset.

* Usually this method is called internally by the JSF engine. */ public void setOffsetMd(String _offsetMd) { getStateHelper().put(PropertyKeys.offsetMd, _offsetMd); } /** * Integer value to specify how many columns to offset.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOffsetSm() { return (String) getStateHelper().eval(PropertyKeys.offsetSm); } /** * Integer value to specify how many columns to offset.

* Usually this method is called internally by the JSF engine. */ public void setOffsetSm(String _offsetSm) { getStateHelper().put(PropertyKeys.offsetSm, _offsetSm); } /** * Integer value to specify how many columns to offset.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOffsetXs() { return (String) getStateHelper().eval(PropertyKeys.offsetXs); } /** * Integer value to specify how many columns to offset.

* Usually this method is called internally by the JSF engine. */ public void setOffsetXs(String _offsetXs) { getStateHelper().put(PropertyKeys.offsetXs, _offsetXs); } /** * The onclick attribute.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOnclick() { return (String) getStateHelper().eval(PropertyKeys.onclick); } /** * The onclick attribute.

* Usually this method is called internally by the JSF engine. */ public void setOnclick(String _onclick) { getStateHelper().put(PropertyKeys.onclick, _onclick); } /** * JavaScript to be executed when ajax completes.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOncomplete() { return (String) getStateHelper().eval(PropertyKeys.oncomplete); } /** * JavaScript to be executed when ajax completes.

* Usually this method is called internally by the JSF engine. */ public void setOncomplete(String _oncomplete) { getStateHelper().put(PropertyKeys.oncomplete, _oncomplete); } /** * JavaScript to be executed when ajax results on an error (including both network errors and Java exceptions).

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOnerror() { return (String) getStateHelper().eval(PropertyKeys.onerror); } /** * JavaScript to be executed when ajax results on an error (including both network errors and Java exceptions).

* Usually this method is called internally by the JSF engine. */ public void setOnerror(String _onerror) { getStateHelper().put(PropertyKeys.onerror, _onerror); } /** * JavaScript to be executed when ajax completes with success (i.e. there's neither a network error nor a Java exception).

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getOnsuccess() { return (String) getStateHelper().eval(PropertyKeys.onsuccess); } /** * JavaScript to be executed when ajax completes with success (i.e. there's neither a network error nor a Java exception).

* Usually this method is called internally by the JSF engine. */ public void setOnsuccess(String _onsuccess) { getStateHelper().put(PropertyKeys.onsuccess, _onsuccess); } /** * The placeholder attribute shows text in a field until the field is focused upon, then hides the text.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getPlaceholder() { return (String) getStateHelper().eval(PropertyKeys.placeholder); } /** * The placeholder attribute shows text in a field until the field is focused upon, then hides the text.

* Usually this method is called internally by the JSF engine. */ public void setPlaceholder(String _placeholder) { getStateHelper().put(PropertyKeys.placeholder, _placeholder); } /** * Comma or space separated list of ids or search expressions denoting which values are to be sent to the server.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getProcess() { return (String) getStateHelper().eval(PropertyKeys.process); } /** * Comma or space separated list of ids or search expressions denoting which values are to be sent to the server.

* Usually this method is called internally by the JSF engine. */ public void setProcess(String _process) { getStateHelper().put(PropertyKeys.process, _process); } /** * Allows you to suppress automatic rendering of labels. Used internally by AngularFaces, too.

* @return Returns the value of the attribute, or net.bootsfaces.component.ComponentUtils.isRenderLabelDefault(), if it hasn't been set by the JSF file. */ public boolean isRenderLabel() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.renderLabel, net.bootsfaces.component.ComponentUtils.isRenderLabelDefault()); } /** * Allows you to suppress automatic rendering of labels. Used internally by AngularFaces, too.

* Usually this method is called internally by the JSF engine. */ public void setRenderLabel(boolean _renderLabel) { getStateHelper().put(PropertyKeys.renderLabel, _renderLabel); } /** * Boolean value Require input in the component when the form is submitted.

* @return Returns the value of the attribute, or , false, if it hasn't been set by the JSF file. */ public boolean isRequired() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.required, false); } /** * Boolean value Require input in the component when the form is submitted.

* Usually this method is called internally by the JSF engine. */ public void setRequired(boolean _required) { getStateHelper().put(PropertyKeys.required, _required); } /** * Message to show if the user did not specify a value and the attribute required is set to true.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getRequiredMessage() { return (String) getStateHelper().eval(PropertyKeys.requiredMessage); } /** * Message to show if the user did not specify a value and the attribute required is set to true.

* Usually this method is called internally by the JSF engine. */ public void setRequiredMessage(String _requiredMessage) { getStateHelper().put(PropertyKeys.requiredMessage, _requiredMessage); } /** * Alternative spelling to col-sm. Integer value to specify how many columns to span on small screens (≥768p pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getSmallScreen() { return (String) getStateHelper().eval(PropertyKeys.smallScreen, "-1"); } /** * Alternative spelling to col-sm. Integer value to specify how many columns to span on small screens (≥768p pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setSmallScreen(String _smallScreen) { getStateHelper().put(PropertyKeys.smallScreen, _smallScreen); } /** * Integer value to specify how many columns to span on medium screens (≥992 pixels). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getSpan() { return (String) getStateHelper().eval(PropertyKeys.span); } /** * Integer value to specify how many columns to span on medium screens (≥992 pixels). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setSpan(String _span) { getStateHelper().put(PropertyKeys.span, _span); } /** * Inline style of the input element.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getStyle() { return (String) getStateHelper().eval(PropertyKeys.style); } /** * Inline style of the input element.

* Usually this method is called internally by the JSF engine. */ public void setStyle(String _style) { getStateHelper().put(PropertyKeys.style, _style); } /** * Style class of this element.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getStyleClass() { return (String) getStateHelper().eval(PropertyKeys.styleClass); } /** * Style class of this element.

* Usually this method is called internally by the JSF engine. */ public void setStyleClass(String _styleClass) { getStateHelper().put(PropertyKeys.styleClass, _styleClass); } /** * Show the words of the input text as tags (similar to price tags in the supermarket). You can select one or more tags. The list is sent to the backend bean as a comma-separated list.

* @return Returns the value of the attribute, or , false, if it hasn't been set by the JSF file. */ public boolean isTags() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.tags, false); } /** * Show the words of the input text as tags (similar to price tags in the supermarket). You can select one or more tags. The list is sent to the backend bean as a comma-separated list.

* Usually this method is called internally by the JSF engine. */ public void setTags(boolean _tags) { getStateHelper().put(PropertyKeys.tags, _tags); } /** * Alternative spelling to col-xs. Integer value to specify how many columns to span on tiny screens (≤ 767 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* @return Returns the value of the attribute, or "-1", if it hasn't been set by the JSF file. */ public String getTinyScreen() { return (String) getStateHelper().eval(PropertyKeys.tinyScreen, "-1"); } /** * Alternative spelling to col-xs. Integer value to specify how many columns to span on tiny screens (≤ 767 pixels wide). The number may optionally be followed by "column" or "columns". Alternative legal values: half, one-third, two-thirds, one-fourth, three-fourths.

* Usually this method is called internally by the JSF engine. */ public void setTinyScreen(String _tinyScreen) { getStateHelper().put(PropertyKeys.tinyScreen, _tinyScreen); } /** * The text of the tooltip.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getTooltip() { return (String) getStateHelper().eval(PropertyKeys.tooltip); } /** * The text of the tooltip.

* Usually this method is called internally by the JSF engine. */ public void setTooltip(String _tooltip) { getStateHelper().put(PropertyKeys.tooltip, _tooltip); } /** * Where is the tooltip div generated? That's primarily a technical value that can be used to fix rendering errors in special cases. Also see data-container in the documentation of Bootstrap. The default value is body.

* @return Returns the value of the attribute, or "body", if it hasn't been set by the JSF file. */ public String getTooltipContainer() { return (String) getStateHelper().eval(PropertyKeys.tooltipContainer, "body"); } /** * Where is the tooltip div generated? That's primarily a technical value that can be used to fix rendering errors in special cases. Also see data-container in the documentation of Bootstrap. The default value is body.

* Usually this method is called internally by the JSF engine. */ public void setTooltipContainer(String _tooltipContainer) { getStateHelper().put(PropertyKeys.tooltipContainer, _tooltipContainer); } /** * The tooltip is shown and hidden with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay).

* @return Returns the value of the attribute, or 0, if it hasn't been set by the JSF file. */ public int getTooltipDelay() { return (int) (Integer) getStateHelper().eval(PropertyKeys.tooltipDelay, 0); } /** * The tooltip is shown and hidden with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay).

* Usually this method is called internally by the JSF engine. */ public void setTooltipDelay(int _tooltipDelay) { getStateHelper().put(PropertyKeys.tooltipDelay, _tooltipDelay); } /** * The tooltip is hidden with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay).

* @return Returns the value of the attribute, or 0, if it hasn't been set by the JSF file. */ public int getTooltipDelayHide() { return (int) (Integer) getStateHelper().eval(PropertyKeys.tooltipDelayHide, 0); } /** * The tooltip is hidden with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay).

* Usually this method is called internally by the JSF engine. */ public void setTooltipDelayHide(int _tooltipDelayHide) { getStateHelper().put(PropertyKeys.tooltipDelayHide, _tooltipDelayHide); } /** * The tooltip is shown with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay).

* @return Returns the value of the attribute, or 0, if it hasn't been set by the JSF file. */ public int getTooltipDelayShow() { return (int) (Integer) getStateHelper().eval(PropertyKeys.tooltipDelayShow, 0); } /** * The tooltip is shown with a delay. This value is the delay in milliseconds. Defaults to 0 (no delay).

* Usually this method is called internally by the JSF engine. */ public void setTooltipDelayShow(int _tooltipDelayShow) { getStateHelper().put(PropertyKeys.tooltipDelayShow, _tooltipDelayShow); } /** * Where is the tooltip to be displayed? Possible values: "top", "bottom", "right", "left", "auto", "auto top", "auto bottom", "auto right" and "auto left". Default to "bottom".

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getTooltipPosition() { return (String) getStateHelper().eval(PropertyKeys.tooltipPosition); } /** * Where is the tooltip to be displayed? Possible values: "top", "bottom", "right", "left", "auto", "auto top", "auto bottom", "auto right" and "auto left". Default to "bottom".

* Usually this method is called internally by the JSF engine. */ public void setTooltipPosition(String _tooltipPosition) { getStateHelper().put(PropertyKeys.tooltipPosition, _tooltipPosition); } /** * Type of the input. The default is text.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getType() { return (String) getStateHelper().eval(PropertyKeys.type); } /** * Type of the input. The default is text.

* Usually this method is called internally by the JSF engine. */ public void setType(String _type) { getStateHelper().put(PropertyKeys.type, _type); } /** * Activates the type-ahead aka autocomplete function. The list of values has to be defined in typeahead-values.

* @return Returns the value of the attribute, or , false, if it hasn't been set by the JSF file. */ public boolean isTypeahead() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.typeahead, false); } /** * Activates the type-ahead aka autocomplete function. The list of values has to be defined in typeahead-values.

* Usually this method is called internally by the JSF engine. */ public void setTypeahead(boolean _typeahead) { getStateHelper().put(PropertyKeys.typeahead, _typeahead); } /** * Highlights the part of the suggestions that has already been entered. Defaults to true.

* @return Returns the value of the attribute, or true, if it hasn't been set by the JSF file. */ public boolean isTypeaheadHighlight() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.typeaheadHighlight, true); } /** * Highlights the part of the suggestions that has already been entered. Defaults to true.

* Usually this method is called internally by the JSF engine. */ public void setTypeaheadHighlight(boolean _typeaheadHighlight) { getStateHelper().put(PropertyKeys.typeaheadHighlight, _typeaheadHighlight); } /** * If set to false, the typeahead will not show a hint. Defaults to true.

* @return Returns the value of the attribute, or true, if it hasn't been set by the JSF file. */ public boolean isTypeaheadHint() { return (boolean) (Boolean) getStateHelper().eval(PropertyKeys.typeaheadHint, true); } /** * If set to false, the typeahead will not show a hint. Defaults to true.

* Usually this method is called internally by the JSF engine. */ public void setTypeaheadHint(boolean _typeaheadHint) { getStateHelper().put(PropertyKeys.typeaheadHint, _typeaheadHint); } /** * Maximum number of suggestions to be shown. Defaults to 5.

* @return Returns the value of the attribute, or 5, if it hasn't been set by the JSF file. */ public int getTypeaheadLimit() { return (int) (Integer) getStateHelper().eval(PropertyKeys.typeaheadLimit, 5); } /** * Maximum number of suggestions to be shown. Defaults to 5.

* Usually this method is called internally by the JSF engine. */ public void setTypeaheadLimit(int _typeaheadLimit) { getStateHelper().put(PropertyKeys.typeaheadLimit, _typeaheadLimit); } /** * Minimum number of characters to be entered before a suggestion is shown.

* @return Returns the value of the attribute, or 1, if it hasn't been set by the JSF file. */ public int getTypeaheadMinLength() { return (int) (Integer) getStateHelper().eval(PropertyKeys.typeaheadMinLength, 1); } /** * Minimum number of characters to be entered before a suggestion is shown.

* Usually this method is called internally by the JSF engine. */ public void setTypeaheadMinLength(int _typeaheadMinLength) { getStateHelper().put(PropertyKeys.typeaheadMinLength, _typeaheadMinLength); } /** * Comma-separated list of values that can be used for the typeahead list.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public java.lang.Object getTypeaheadValues() { return (java.lang.Object) getStateHelper().eval(PropertyKeys.typeaheadValues); } /** * Comma-separated list of values that can be used for the typeahead list.

* Usually this method is called internally by the JSF engine. */ public void setTypeaheadValues(java.lang.Object _typeaheadValues) { getStateHelper().put(PropertyKeys.typeaheadValues, _typeaheadValues); } /** * Component(s) to be updated with ajax.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getUpdate() { return (String) getStateHelper().eval(PropertyKeys.update); } /** * Component(s) to be updated with ajax.

* Usually this method is called internally by the JSF engine. */ public void setUpdate(String _update) { getStateHelper().put(PropertyKeys.update, _update); } /** * This column is shown on a certain screen size and above. Legal values: lg, md, sm, xs.

* @return Returns the value of the attribute, or null, if it hasn't been set by the JSF file. */ public String getVisible() { return (String) getStateHelper().eval(PropertyKeys.visible); } /** * This column is shown on a certain screen size and above. Legal values: lg, md, sm, xs.

* Usually this method is called internally by the JSF engine. */ public void setVisible(String _visible) { getStateHelper().put(PropertyKeys.visible, _visible); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy