Class DtActionBarParameterization
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.aef.parameterization.DtActionBarParameterization
-
- All Implemented Interfaces:
IParameterization,IDtActionBarParameterization
- Direct Known Subclasses:
ChartReferenceParameterization,ColorComponentParameterization,DirectorySelectionParameterization,DtActionBarWithSelectionParameterization,FileSelectionParameterization,FontComponentParameterization,SelectionParameterization
public class DtActionBarParameterization extends Object implements IDtActionBarParameterization
IDtActionBarParameterizationimplementation.
-
-
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_READONLY
-
Fields inherited from interface com._1c.g5.aef2.components.IParameterization
VOID
-
-
Constructor Summary
Constructors Constructor Description DtActionBarParameterization(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHintText()Returns the hint text of the text.intgetLinesCount()Returns the lines count.intgetTextLimit()Returns the text limit.ValueChangeApplygetValueChangeApply()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.booleanisPasswordMode()Returns whether the text is in password mode.booleanisReadOnly()Returns the value indicating the action bar editor is readonly or not.
-
-
-
Constructor Detail
-
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
public DtActionBarParameterization(ValueChangeApply applyValueChange)
Creates a new parameterization.- Parameters:
applyValueChange- the apply value change to set, cannot benull
-
-
Method Detail
-
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
public ValueChangeApply 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
public String 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.
-
-