Interface GridColumnViewModel
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
GridColumnViewModelImpl
public interface GridColumnViewModel extends IViewModel
A representation of the model object 'Grid Column View Model'. The view model that represents one column of gridThe following features are supported:
- See Also:
DtAefPackage.getGridColumnViewModel()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHeader()
Returns the value of the 'Header' attribute.org.eclipse.emf.common.util.EList<String>
getHeaders()
Returns the value of the 'Headers' attribute list.int
getHeightInRows()
Returns the value of the 'Height In Rows' attribute.int
getIndex()
Returns the value of the 'Index' attribute.GridColumnType
getType()
Returns the value of the 'Type' attribute.int
getWidth()
Returns the value of the 'Width' attribute.boolean
isEditable()
Returns the value of the 'Editable' attribute.boolean
isTree()
Returns the value of the 'Tree' attribute.void
setEditable(boolean value)
Sets the value of the 'Editable
' attribute.void
setHeader(String value)
Sets the value of the 'Header
' attribute.void
setHeightInRows(int value)
Sets the value of the 'Height In Rows
' attribute.void
setIndex(int value)
Sets the value of the 'Index
' attribute.void
setTree(boolean value)
Sets the value of the 'Tree
' attribute.void
setType(GridColumnType value)
Sets the value of the 'Type
' attribute.void
setWidth(int value)
Sets the value of the 'Width
' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
-
-
-
-
Method Detail
-
getHeader
String getHeader()
Returns the value of the 'Header' attribute. The default value is""
. The header text of the column- Returns:
- the value of the 'Header' attribute.
- See Also:
setHeader(String)
,DtAefPackage.getGridColumnViewModel_Header()
-
setHeader
void setHeader(String value)
Sets the value of the 'Header
' attribute.- Parameters:
value
- the new value of the 'Header' attribute.- See Also:
getHeader()
-
getIndex
int getIndex()
Returns the value of the 'Index' attribute. The default value is"-1"
. The index of the column- Returns:
- the value of the 'Index' attribute.
- See Also:
setIndex(int)
,DtAefPackage.getGridColumnViewModel_Index()
-
setIndex
void setIndex(int value)
Sets the value of the 'Index
' attribute.- Parameters:
value
- the new value of the 'Index' attribute.- See Also:
getIndex()
-
isTree
boolean isTree()
Returns the value of the 'Tree' attribute. The default value is"false"
. The 'tree' flag of the column- Returns:
- the value of the 'Tree' attribute.
- See Also:
setTree(boolean)
,DtAefPackage.getGridColumnViewModel_Tree()
-
setTree
void setTree(boolean value)
Sets the value of the 'Tree
' attribute.- Parameters:
value
- the new value of the 'Tree' attribute.- See Also:
isTree()
-
getType
GridColumnType getType()
Returns the value of the 'Type' attribute. The default value is"Text"
. The literals are from the enumerationGridColumnType
. The type of the column- Returns:
- the value of the 'Type' attribute.
- See Also:
GridColumnType
,setType(GridColumnType)
,DtAefPackage.getGridColumnViewModel_Type()
-
setType
void setType(GridColumnType value)
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
GridColumnType
,getType()
-
isEditable
boolean isEditable()
Returns the value of the 'Editable' attribute. The default value is"true"
. The editable flag of the column- Returns:
- the value of the 'Editable' attribute.
- See Also:
setEditable(boolean)
,DtAefPackage.getGridColumnViewModel_Editable()
-
setEditable
void setEditable(boolean value)
Sets the value of the 'Editable
' attribute.- Parameters:
value
- the new value of the 'Editable' attribute.- See Also:
isEditable()
-
getWidth
int getWidth()
Returns the value of the 'Width' attribute. The default value is"150"
. The width of the column in pixels- Returns:
- the value of the 'Width' attribute.
- See Also:
setWidth(int)
,DtAefPackage.getGridColumnViewModel_Width()
-
setWidth
void setWidth(int value)
Sets the value of the 'Width
' attribute.- Parameters:
value
- the new value of the 'Width' attribute.- See Also:
getWidth()
-
getHeaders
org.eclipse.emf.common.util.EList<String> getHeaders()
Returns the value of the 'Headers' attribute list. The list contents are of typeString
. The headers text of the column- Returns:
- the value of the 'Headers' attribute list.
- See Also:
DtAefPackage.getGridColumnViewModel_Headers()
-
getHeightInRows
int getHeightInRows()
Returns the value of the 'Height In Rows' attribute. The default value is"1"
. The height of the column in row count- Returns:
- the value of the 'Height In Rows' attribute.
- See Also:
setHeightInRows(int)
,DtAefPackage.getGridColumnViewModel_HeightInRows()
-
setHeightInRows
void setHeightInRows(int value)
Sets the value of the 'Height In Rows
' attribute.- Parameters:
value
- the new value of the 'Height In Rows' attribute.- See Also:
getHeightInRows()
-
-