Interface ActionBarViewModel
-
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
,SelectViewModel
- All Known Subinterfaces:
ColorActionBarViewModel
,ColorValueControlViewModel
,FontValueControlViewModel
,PredefinedItemCodeViewModel
,PredefinedValueControlViewModel
,ShortcutViewModel
,StringValueControlViewModel
,TypeSelectionControlViewModel
- All Known Implementing Classes:
ActionBarViewModelImpl
,ColorActionBarViewModelImpl
,ColorValueControlViewModelImpl
,FontValueControlViewModelImpl
,PredefinedItemCodeViewModelImpl
,PredefinedValueControlViewModelImpl
,ShortcutViewModelImpl
,StringValueControlViewModelImpl
,TypeSelectionControlViewModelImpl
public interface ActionBarViewModel extends SelectViewModel
A representation of the model object 'Action Bar View Model'. * The view model for action bar.The following features are supported:
- See Also:
DtAefPackage.getActionBarViewModel()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHint()
Returns the value of the 'Hint' attribute.org.eclipse.swt.graphics.Image
getImage()
Returns the value of the 'Image' attribute.int
getLines()
Returns the value of the 'Lines' attribute.String
getMask()
Returns the value of the 'Mask' attribute.int
getTextLimit()
Returns the value of the 'Text Limit' attribute.String
getValue()
Returns the value of the 'Value' attribute.boolean
isPasswordMode()
Returns the value of the 'Password Mode' attribute.void
setHint(String value)
Sets the value of the 'Hint
' attribute.void
setImage(org.eclipse.swt.graphics.Image value)
Sets the value of the 'Image
' attribute.void
setLines(int value)
Sets the value of the 'Lines
' attribute.void
setMask(String value)
Sets the value of the 'Mask
' attribute.void
setPasswordMode(boolean value)
Sets the value of the 'Password Mode
' attribute.void
setTextLimit(int value)
Sets the value of the 'Text Limit
' attribute.void
setValue(String value)
Sets the value of the 'Value
' attribute.-
Methods inherited from interface com._1c.g5.aef2.standard.viewModels.ControlViewModel
getApplyValueChange, getContexts, getExternalValidationStatus, getLayoutData, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setExternalValidationStatus, setLayoutData, setStatus
-
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
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com._1c.g5.v8.dt.ui.aef.viewModels.SelectViewModel
getButtons
-
-
-
-
Method Detail
-
getValue
String getValue()
Returns the value of the 'Value' attribute. * The value- Returns:
- the value of the 'Value' attribute.
- See Also:
setValue(String)
,DtAefPackage.getActionBarViewModel_Value()
-
setValue
void setValue(String value)
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
getValue()
-
getLines
int getLines()
Returns the value of the 'Lines' attribute. The default value is"1"
. * The displayed line count- Returns:
- the value of the 'Lines' attribute.
- See Also:
setLines(int)
,DtAefPackage.getActionBarViewModel_Lines()
-
setLines
void setLines(int value)
Sets the value of the 'Lines
' attribute.- Parameters:
value
- the new value of the 'Lines' attribute.- See Also:
getLines()
-
isPasswordMode
boolean isPasswordMode()
Returns the value of the 'Password Mode' attribute. * Indicates that action bar is in password mode and all entered symbols will be hidden- Returns:
- the value of the 'Password Mode' attribute.
- See Also:
setPasswordMode(boolean)
,DtAefPackage.getActionBarViewModel_PasswordMode()
-
setPasswordMode
void setPasswordMode(boolean value)
Sets the value of the 'Password Mode
' attribute.- Parameters:
value
- the new value of the 'Password Mode' attribute.- See Also:
isPasswordMode()
-
getTextLimit
int getTextLimit()
Returns the value of the 'Text Limit' attribute. The default value is"-1"
. * The text limit. The positive integer is allowed or '-1' for unlimited text.- Returns:
- the value of the 'Text Limit' attribute.
- See Also:
setTextLimit(int)
,DtAefPackage.getActionBarViewModel_TextLimit()
-
setTextLimit
void setTextLimit(int value)
Sets the value of the 'Text Limit
' attribute.- Parameters:
value
- the new value of the 'Text Limit' attribute.- See Also:
getTextLimit()
-
getMask
String getMask()
Returns the value of the 'Mask' attribute. * Mask- Returns:
- the value of the 'Mask' attribute.
- See Also:
setMask(String)
,DtAefPackage.getActionBarViewModel_Mask()
-
setMask
void setMask(String value)
Sets the value of the 'Mask
' attribute.- Parameters:
value
- the new value of the 'Mask' attribute.- See Also:
getMask()
-
getHint
String getHint()
Returns the value of the 'Hint' attribute. * Hint- Returns:
- the value of the 'Hint' attribute.
- See Also:
setHint(String)
,DtAefPackage.getActionBarViewModel_Hint()
-
setHint
void setHint(String value)
Sets the value of the 'Hint
' attribute.- Parameters:
value
- the new value of the 'Hint' attribute.- See Also:
getHint()
-
getImage
org.eclipse.swt.graphics.Image getImage()
Returns the value of the 'Image' attribute. * The left side image- Returns:
- the value of the 'Image' attribute.
- See Also:
setImage(Image)
,DtAefPackage.getActionBarViewModel_Image()
-
setImage
void setImage(org.eclipse.swt.graphics.Image value)
Sets the value of the 'Image
' attribute.- Parameters:
value
- the new value of the 'Image' attribute.- See Also:
getImage()
-
-