Interface IFormChoiceListGridModel
- All Superinterfaces:
IEditableModel
,IGridModel<FormChoiceListDesTimeValue>
,IModel
,IValidable
- All Known Implementing Classes:
BmFormChoiceListGridModel
public interface IFormChoiceListGridModel
extends IGridModel<FormChoiceListDesTimeValue>, IEditableModel
The grid model for 'choice list' grid component.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNew()
Adds new choice list item.void
clone
(FormChoiceListDesTimeValue choiceListItem) Clones the specifiedChoiceListItem
.void
fill()
Fills the model automatically based on type.Returns the original choice list model.Returns the editing language manager.getForm()
Returns the form object.Returns the type description.Returns the project.boolean
Returnstrue
if 'fill' is available for the model.void
moveDown
(FormChoiceListDesTimeValue choiceListItem) Moves down the specifiedChoiceListItem
.void
moveUp
(FormChoiceListDesTimeValue choiceListItem) Moves up the specifiedChoiceListItem
.void
remove
(FormChoiceListDesTimeValue choiceListItem) Removes the specifiedChoiceListItem
.Methods inherited from interface com._1c.g5.aef2.models.IEditableModel
isEditable, setEditable
Methods inherited from interface com._1c.g5.v8.dt.ui.aef.models.IGridModel
getChildren, getElements, getParent, getSelectedElementModel, hasChildren
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, createWorkingCopy, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Method Details
-
getV8Project
IV8Project getV8Project()Returns the project.- Returns:
- the project, never
null
.
-
getEditingLanguageManager
IEditingLanguageManager getEditingLanguageManager()Returns the editing language manager.- Returns:
- the editing language manager, never
null
.
-
getForm
Form getForm()Returns the form object.- Returns:
- the form object, never
null
.
-
getChoiceListModel
IList<FormChoiceListDesTimeValue> getChoiceListModel()Returns the original choice list model.- Returns:
- the original choice list model, never
null
.
-
addNew
void addNew()Adds new choice list item. -
clone
Clones the specifiedChoiceListItem
.- Parameters:
choiceListItem
- the choice list item to clone, cannot benull
.
-
remove
Removes the specifiedChoiceListItem
.- Parameters:
choiceListItem
- the choice list item to remove, cannot benull
.
-
moveUp
Moves up the specifiedChoiceListItem
.- Parameters:
choiceListItem
- the choice list item to move, cannot benull
.
-
moveDown
Moves down the specifiedChoiceListItem
.- Parameters:
choiceListItem
- the choice list item to move, cannot benull
.
-
isFillAvailable
boolean isFillAvailable()Returnstrue
if 'fill' is available for the model.- Returns:
true
if 'fill' is available for the model.
-
fill
void fill()Fills the model automatically based on type. -
getTypeDescription
TypeDescription getTypeDescription()Returns the type description.- Returns:
- the type description, never
null
.
-