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
A representation of the model object 'Action Bar View Model'.
*
The view model for action bar.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetHint()
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.getMask()
Returns the value of the 'Mask' attribute.int
Returns the value of the 'Text Limit' attribute.getValue()
Returns the value of the 'Value' attribute.boolean
Returns the value of the 'Password Mode' attribute.void
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
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
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 Details
-
getValue
String getValue()Returns the value of the 'Value' attribute. * The value- Returns:
- the value of the 'Value' attribute.
- See Also:
-
setValue
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
-
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
void setLines(int value) Sets the value of the 'Lines
' attribute.- Parameters:
value
- the new value of the 'Lines' attribute.- See Also:
-
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
void setPasswordMode(boolean value) Sets the value of the 'Password Mode
' attribute.- Parameters:
value
- the new value of the 'Password Mode' attribute.- See Also:
-
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
void setTextLimit(int value) Sets the value of the 'Text Limit
' attribute.- Parameters:
value
- the new value of the 'Text Limit' attribute.- See Also:
-
getMask
String getMask()Returns the value of the 'Mask' attribute. * Mask- Returns:
- the value of the 'Mask' attribute.
- See Also:
-
setMask
Sets the value of the 'Mask
' attribute.- Parameters:
value
- the new value of the 'Mask' attribute.- See Also:
-
getHint
String getHint()Returns the value of the 'Hint' attribute. * Hint- Returns:
- the value of the 'Hint' attribute.
- See Also:
-
setHint
Sets the value of the 'Hint
' attribute.- Parameters:
value
- the new value of the 'Hint' attribute.- See Also:
-
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
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:
-