Class DtActionBarParameterization
java.lang.Object
com._1c.g5.v8.dt.ui.aef.parameterization.DtActionBarParameterization
- All Implemented Interfaces:
IParameterization,IDtActionBarParameterization
- Direct Known Subclasses:
ChartReferenceParameterization,ColorComponentParameterization,DataPathComponentParameterization,DirectorySelectionParameterization,DtActionBarWithSelectionParameterization,FileSelectionParameterization,FontComponentParameterization,SelectionParameterization
IDtActionBarParameterization implementation.-
Field Summary
Fields inherited from interface com._1c.g5.v8.dt.ui.aef.parameterization.IDtActionBarParameterization
MULTI_LINE_LAZY, MULTI_LINE_LIVE, MULTI_LINE_READONLY, SINGLE_LINE_LAZY, SINGLE_LINE_LIVE, SINGLE_LINE_READONLYFields inherited from interface com._1c.g5.aef2.components.IParameterization
VOID -
Constructor Summary
ConstructorsConstructorDescriptionDtActionBarParameterization(ValueChangeApply applyValueChange) Creates a new parameterization.DtActionBarParameterization(ValueChangeApply applyValueChange, boolean readOnly, int linesCount) Creates a new parameterization.DtActionBarParameterization(ValueChangeApply applyValueChange, boolean readOnly, int linesCount, String hintText, boolean passwordMode) Creates a new parameterization.DtActionBarParameterization(ValueChangeApply applyValueChange, boolean readOnly, int linesCount, String hintText, boolean passwordMode, int textLimit) Creates a new parameterization. -
Method Summary
Modifier and TypeMethodDescriptionReturns the hint text of the text.intReturns the lines count.intReturns the text limit.Returns apply control value change variant:ValueChangeApply.ON_MODIFYvalue will change on every modification,ValueChangeApply.ON_FOCUS_LOSTonly on focus lost or 'Return' key is pressed.booleanReturns whether the text is in password mode.booleanReturns the value indicating the action bar editor is readonly or not.
-
Constructor Details
-
DtActionBarParameterization
public DtActionBarParameterization(ValueChangeApply applyValueChange, boolean readOnly, int linesCount, String hintText, boolean passwordMode, int textLimit) Creates a new parameterization.- Parameters:
applyValueChange- the apply value change to set, cannot benullreadOnly- the readonly flag.linesCount- the lines count.hintText- the hint text ornullif none.passwordMode- the password mode of the text flag.textLimit- the text limit.
-
DtActionBarParameterization
public DtActionBarParameterization(ValueChangeApply applyValueChange, boolean readOnly, int linesCount, String hintText, boolean passwordMode) Creates a new parameterization.- Parameters:
applyValueChange- the apply value change to set, cannot benullreadOnly- the readonly flag.linesCount- the lines count.hintText- the hint text ornullif none.passwordMode- the password mode of the text flag.
-
DtActionBarParameterization
public DtActionBarParameterization(ValueChangeApply applyValueChange, boolean readOnly, int linesCount) Creates a new parameterization.- Parameters:
applyValueChange- the apply value change to set, cannot benullreadOnly- the readonly flag.linesCount- the lines count.
-
DtActionBarParameterization
Creates a new parameterization.- Parameters:
applyValueChange- the apply value change to set, cannot benull
-
-
Method Details
-
isReadOnly
public boolean isReadOnly()Description copied from interface:IDtActionBarParameterizationReturns the value indicating the action bar editor is readonly or not.- Specified by:
isReadOnlyin interfaceIDtActionBarParameterization- Returns:
trueif the action bar editor is readonly,false- otherwise.
-
getLinesCount
public int getLinesCount()Description copied from interface:IDtActionBarParameterizationReturns the lines count.- Specified by:
getLinesCountin interfaceIDtActionBarParameterization- Returns:
- the lines count.
-
getValueChangeApply
Description copied from interface:IDtActionBarParameterizationReturns apply control value change variant:ValueChangeApply.ON_MODIFYvalue will change on every modification,ValueChangeApply.ON_FOCUS_LOSTonly on focus lost or 'Return' key is pressed.
- Specified by:
getValueChangeApplyin interfaceIDtActionBarParameterization- Returns:
- the apply value change variant, cannot be
null
-
isPasswordMode
public boolean isPasswordMode()Description copied from interface:IDtActionBarParameterizationReturns whether the text is in password mode.- Specified by:
isPasswordModein interfaceIDtActionBarParameterization- Returns:
- whether the text is in password mode
-
getHintText
Description copied from interface:IDtActionBarParameterizationReturns the hint text of the text. Can returnnullif none hint is set.- Specified by:
getHintTextin interfaceIDtActionBarParameterization- Returns:
- the hint text of the text or
nullif none hint is set
-
getTextLimit
public int getTextLimit()Description copied from interface:IDtActionBarParameterizationReturns the text limit.- Specified by:
getTextLimitin interfaceIDtActionBarParameterization- Returns:
- the text limit or '-1' for unlimited text.
-