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
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
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 String
getHintText()
Returns the hint text of the text.int
getLinesCount()
Returns the lines count.int
getTextLimit()
Returns the text limit.ValueChangeApply
getValueChangeApply()
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
isPasswordMode()
Returns whether the text is in password mode.boolean
isReadOnly()
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 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
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: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
public ValueChangeApply 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
public String 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.
-
-