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_READONLY
Fields 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.int
Returns the lines count.int
Returns the text limit.Returns apply control value change variant:ValueChangeApply.ON_MODIFY
value will change on every modification,ValueChangeApply.ON_FOCUS_LOST
only on focus lost or 'Return' key is pressed.boolean
Returns whether the text is in password mode.boolean
Returns 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 benull
readOnly
- the readonly flag.linesCount
- the lines count.hintText
- the hint text ornull
if 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 benull
readOnly
- the readonly flag.linesCount
- the lines count.hintText
- the hint text ornull
if 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 benull
readOnly
- 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:IDtActionBarParameterization
Returns the value indicating the action bar editor is readonly or not.- Specified by:
isReadOnly
in interfaceIDtActionBarParameterization
- Returns:
true
if the action bar editor is readonly,false
- otherwise.
-
getLinesCount
public int getLinesCount()Description copied from interface:IDtActionBarParameterization
Returns the lines count.- Specified by:
getLinesCount
in interfaceIDtActionBarParameterization
- Returns:
- the lines count.
-
getValueChangeApply
Description copied from interface:IDtActionBarParameterization
Returns apply control value change variant:ValueChangeApply.ON_MODIFY
value will change on every modification,ValueChangeApply.ON_FOCUS_LOST
only on focus lost or 'Return' key is pressed.
- Specified by:
getValueChangeApply
in interfaceIDtActionBarParameterization
- Returns:
- the apply value change variant, cannot be
null
-
isPasswordMode
public boolean isPasswordMode()Description copied from interface:IDtActionBarParameterization
Returns whether the text is in password mode.- Specified by:
isPasswordMode
in interfaceIDtActionBarParameterization
- Returns:
- whether the text is in password mode
-
getHintText
Description copied from interface:IDtActionBarParameterization
Returns the hint text of the text. Can returnnull
if none hint is set.- Specified by:
getHintText
in interfaceIDtActionBarParameterization
- Returns:
- the hint text of the text or
null
if none hint is set
-
getTextLimit
public int getTextLimit()Description copied from interface:IDtActionBarParameterization
Returns the text limit.- Specified by:
getTextLimit
in interfaceIDtActionBarParameterization
- Returns:
- the text limit or '-1' for unlimited text.
-