@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder") public abstract class InputSourceCodeBase extends javax.faces.component.html.HtmlInputText implements com.liferay.faces.util.component.Styleable, com.liferay.faces.util.component.ClientComponent
| Modifier and Type | Class and Description |
|---|---|
protected static class |
InputSourceCodeBase.InputSourceCodePropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_TYPE |
static String |
RENDERER_TYPE |
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME| Constructor and Description |
|---|
InputSourceCodeBase() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientKey()
clientKey attribute description:
The key name that can be used to reference the component on the client. |
String |
getHeight()
height attribute description:
The the height (in pixels) of the rendered <div>. |
Boolean |
getHighlightActiveLine()
highlightActiveLine attribute description:
When true, the background-color of the line that is being edited by the user (the active line) will change to indicate a highlight. |
String |
getLabel()
label attribute description:
A localized label for this component that is typically only rendered in a FacesMessage when validation fails. |
String |
getLocale()
locale attribute description:
The locale of the text that the editor is editing or displaying. |
Integer |
getMaxLines()
maxLines attribute description:
Specifies the maximum number of lines that the editor is to display before a vertical scrollbar appears. |
Integer |
getMinLines()
minLines attribute description:
Minimum number of lines that the editor is to display. |
String |
getMode()
mode attribute description:
The name of the programming language that the editor is editing or displaying. |
Boolean |
getReadOnly()
readOnly attribute description:
When this flag is true, the component will be read-only, meaning that the user will be unable to edit the source code text. |
Boolean |
getShowPrintMargin()
showPrintMargin attribute description:
When this flag is true, a vertical line will appear that indicates the print margin. |
String |
getStyleClass()
styleClass attribute description:
List of CSS class names (separated by spaces) that are to be rendered within the class attribute. |
String |
getTabSize()
tabSize attribute description:
The number of spaces that are to be displayed in place of each tab character. |
Boolean |
getUseSoftTabs()
useSoftTabs attribute description:
When this flag is true, the tab key will produce space characters rather than tab characters. |
Boolean |
getUseWrapMode()
useWrapMode attribute description:
When this flag is true, the line will break when it reaches the end of the line. |
String |
getWidth()
width attribute description:
The the width (in pixels) of the rendered <div>. |
void |
setClientKey(String clientKey)
clientKey attribute description:
The key name that can be used to reference the component on the client. |
void |
setHeight(String height)
height attribute description:
The the height (in pixels) of the rendered <div>. |
void |
setHighlightActiveLine(Boolean highlightActiveLine)
highlightActiveLine attribute description:
When true, the background-color of the line that is being edited by the user (the active line) will change to indicate a highlight. |
void |
setLocale(String locale)
locale attribute description:
The locale of the text that the editor is editing or displaying. |
void |
setMaxLines(Integer maxLines)
maxLines attribute description:
Specifies the maximum number of lines that the editor is to display before a vertical scrollbar appears. |
void |
setMinLines(Integer minLines)
minLines attribute description:
Minimum number of lines that the editor is to display. |
void |
setMode(String mode)
mode attribute description:
The name of the programming language that the editor is editing or displaying. |
void |
setReadOnly(Boolean readOnly)
readOnly attribute description:
When this flag is true, the component will be read-only, meaning that the user will be unable to edit the source code text. |
void |
setShowPrintMargin(Boolean showPrintMargin)
showPrintMargin attribute description:
When this flag is true, a vertical line will appear that indicates the print margin. |
void |
setTabSize(String tabSize)
tabSize attribute description:
The number of spaces that are to be displayed in place of each tab character. |
void |
setUseSoftTabs(Boolean useSoftTabs)
useSoftTabs attribute description:
When this flag is true, the tab key will produce space characters rather than tab characters. |
void |
setUseWrapMode(Boolean useWrapMode)
useWrapMode attribute description:
When this flag is true, the line will break when it reaches the end of the line. |
void |
setWidth(String width)
width attribute description:
The the width (in pixels) of the rendered <div>. |
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getEventNames, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSize, getStyle, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setSize, setStyle, setStyleClass, setTabindex, setTitleaddValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValuegetConverter, getLocalValue, setConverteraddClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStyle, setStyle, setStyleClasspublic static final String COMPONENT_TYPE
public static final String RENDERER_TYPE
public String getClientKey()
clientKey attribute description:
getClientKey in interface com.liferay.faces.util.component.ClientComponentpublic void setClientKey(String clientKey)
clientKey attribute description:
setClientKey in interface com.liferay.faces.util.component.ClientComponentpublic String getHeight()
height attribute description:
<div>.public void setHeight(String height)
height attribute description:
<div>.public Boolean getHighlightActiveLine()
highlightActiveLine attribute description:
public void setHighlightActiveLine(Boolean highlightActiveLine)
highlightActiveLine attribute description:
public String getLabel()
label attribute description:
getLabel in class javax.faces.component.html.HtmlInputTextpublic String getLocale()
locale attribute description:
public void setLocale(String locale)
locale attribute description:
public Integer getMaxLines()
maxLines attribute description:
public void setMaxLines(Integer maxLines)
maxLines attribute description:
public Integer getMinLines()
minLines attribute description:
public void setMinLines(Integer minLines)
minLines attribute description:
public String getMode()
mode attribute description:
public void setMode(String mode)
mode attribute description:
public Boolean getReadOnly()
readOnly attribute description:
false.public void setReadOnly(Boolean readOnly)
readOnly attribute description:
false.public Boolean getShowPrintMargin()
showPrintMargin attribute description:
true.public void setShowPrintMargin(Boolean showPrintMargin)
showPrintMargin attribute description:
true.public String getStyleClass()
styleClass attribute description:
getStyleClass in interface com.liferay.faces.util.component.StyleablegetStyleClass in class javax.faces.component.html.HtmlInputTextpublic String getTabSize()
tabSize attribute description:
public void setTabSize(String tabSize)
tabSize attribute description:
public Boolean getUseSoftTabs()
useSoftTabs attribute description:
false.public void setUseSoftTabs(Boolean useSoftTabs)
useSoftTabs attribute description:
false.public Boolean getUseWrapMode()
useWrapMode attribute description:
true.public void setUseWrapMode(Boolean useWrapMode)
useWrapMode attribute description:
true.public String getWidth()
width attribute description:
<div>.public void setWidth(String width)
width attribute description:
<div>.Copyright © 2016 Liferay, Inc.. All rights reserved.