Package com._1c.g5.v8.dt.form.model
Interface Decoration
-
- All Superinterfaces:
ContextMenuHolder
,org.eclipse.emf.ecore.EObject
,ExtendedTooltipHolder
,ExtensionAdoptedProperty
,FormItem
,FormVisualEntity
,IBmObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,Titled
,TooltipContainer
,Visible
- All Known Subinterfaces:
ExtendedTooltip
- All Known Implementing Classes:
DecorationImpl
,ExtendedTooltipImpl
public interface Decoration extends FormItem, NamedElement, Titled, Visible, TooltipContainer, ExtendedTooltipHolder, ContextMenuHolder, ExtensionAdoptedProperty
A representation of the model object 'Decoration'.The following features are supported:
- See Also:
FormPackage.getDecoration()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecorationExtInfo
getExtInfo()
Returns the value of the 'Ext Info' containment reference.Font
getFont()
Returns the value of the 'Font' containment reference.ItemHorizontalAlignment
getGroupHorizontalAlign()
Returns the value of the 'Group Horizontal Align' attribute.ItemVerticalAlignment
getGroupVerticalAlign()
Returns the value of the 'Group Vertical Align' attribute.int
getHeight()
Returns the value of the 'Height' attribute.Boolean
getHorizontalStretch()
Returns the value of the 'Horizontal Stretch' attribute.int
getMaxHeight()
Returns the value of the 'Max Height' attribute.int
getMaxWidth()
Returns the value of the 'Max Width' attribute.int
getMinWidth()
Returns the value of the 'Min Width' attribute.OnMainServerUnavalableBehavior
getOnMainServerUnavalableBehavior()
Returns the value of the 'On Main Server Unavalable Behavior' attribute.String
getShortcut()
Returns the value of the 'Shortcut' attribute.Boolean
getSkipOnInput()
Returns the value of the 'Skip On Input' attribute.Color
getTextColor()
Returns the value of the 'Text Color' containment reference.ManagedFormDecorationType
getType()
Returns the value of the 'Type' attribute.Boolean
getVerticalStretch()
Returns the value of the 'Vertical Stretch' attribute.int
getWidth()
Returns the value of the 'Width' attribute.boolean
isAutoMaxHeight()
Returns the value of the 'Auto Max Height' attribute.boolean
isAutoMaxWidth()
Returns the value of the 'Auto Max Width' attribute.boolean
isFormatted()
Returns the value of the 'Formatted' attribute.void
setAutoMaxHeight(boolean value)
Sets the value of the 'Auto Max Height
' attribute.void
setAutoMaxWidth(boolean value)
Sets the value of the 'Auto Max Width
' attribute.void
setExtInfo(DecorationExtInfo value)
Sets the value of the 'Ext Info
' containment reference.void
setFont(Font value)
Sets the value of the 'Font
' containment reference.void
setFormatted(boolean value)
Sets the value of the 'Formatted
' attribute.void
setGroupHorizontalAlign(ItemHorizontalAlignment value)
Sets the value of the 'Group Horizontal Align
' attribute.void
setGroupVerticalAlign(ItemVerticalAlignment value)
Sets the value of the 'Group Vertical Align
' attribute.void
setHeight(int value)
Sets the value of the 'Height
' attribute.void
setHorizontalStretch(Boolean value)
Sets the value of the 'Horizontal Stretch
' attribute.void
setMaxHeight(int value)
Sets the value of the 'Max Height
' attribute.void
setMaxWidth(int value)
Sets the value of the 'Max Width
' attribute.void
setMinWidth(int value)
Sets the value of the 'Min Width
' attribute.void
setOnMainServerUnavalableBehavior(OnMainServerUnavalableBehavior value)
Sets the value of the 'On Main Server Unavalable Behavior
' attribute.void
setShortcut(String value)
Sets the value of the 'Shortcut
' attribute.void
setSkipOnInput(Boolean value)
Sets the value of the 'Skip On Input
' attribute.void
setTextColor(Color value)
Sets the value of the 'Text Color
' containment reference.void
setType(ManagedFormDecorationType value)
Sets the value of the 'Type
' attribute.void
setVerticalStretch(Boolean value)
Sets the value of the 'Vertical Stretch
' attribute.void
setWidth(int value)
Sets the value of the 'Width
' attribute.boolean
validate(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map<Object,Object> context)
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.ContextMenuHolder
getContextMenu, setContextMenu
-
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.v8.dt.form.model.ExtendedTooltipHolder
getExtendedTooltip, setExtendedTooltip
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.ExtensionAdoptedProperty
getAdopted, getUnchanged, setAdopted, setUnchanged
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.FormItem
getDisplayImportance, getId, setDisplayImportance, setId
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.FormVisualEntity
getUserChangedProperties
-
Methods inherited from interface com._1c.g5.v8.bm.core.IBmObject
bmGetEngine, bmGetFqn, bmGetId, bmGetProperties, bmGetProperty, bmGetReferences, bmGetResourceId, bmGetTopObject, bmGetTransaction, bmGetUri, bmGetUriAsString, bmIsTop, bmIsTransient, bmListBinaryData, bmReadBinaryData, bmRemoveBinaryData, bmSetProperty, bmWriteBinaryData
-
Methods inherited from interface com._1c.g5.v8.dt.mcore.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.TooltipContainer
getToolTip, getToolTipRepresentation, setToolTipRepresentation
-
Methods inherited from interface com._1c.g5.v8.dt.form.model.Visible
getUserVisible, isEnabled, isVisible, setEnabled, setUserVisible, setVisible
-
-
-
-
Method Detail
-
isFormatted
boolean isFormatted()
Returns the value of the 'Formatted' attribute.- Returns:
- the value of the 'Formatted' attribute.
- See Also:
setFormatted(boolean)
,FormPackage.getDecoration_Formatted()
-
setFormatted
void setFormatted(boolean value)
Sets the value of the 'Formatted
' attribute.- Parameters:
value
- the new value of the 'Formatted' attribute.- See Also:
isFormatted()
-
getType
ManagedFormDecorationType getType()
Returns the value of the 'Type' attribute. The literals are from the enumerationManagedFormDecorationType
.- Returns:
- the value of the 'Type' attribute.
- See Also:
ManagedFormDecorationType
,setType(ManagedFormDecorationType)
,FormPackage.getDecoration_Type()
-
setType
void setType(ManagedFormDecorationType value)
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
ManagedFormDecorationType
,getType()
-
getWidth
int getWidth()
Returns the value of the 'Width' attribute.- Returns:
- the value of the 'Width' attribute.
- See Also:
setWidth(int)
,FormPackage.getDecoration_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()
-
isAutoMaxWidth
boolean isAutoMaxWidth()
Returns the value of the 'Auto Max Width' attribute.- Returns:
- the value of the 'Auto Max Width' attribute.
- See Also:
setAutoMaxWidth(boolean)
,FormPackage.getDecoration_AutoMaxWidth()
-
setAutoMaxWidth
void setAutoMaxWidth(boolean value)
Sets the value of the 'Auto Max Width
' attribute.- Parameters:
value
- the new value of the 'Auto Max Width' attribute.- See Also:
isAutoMaxWidth()
-
getMaxWidth
int getMaxWidth()
Returns the value of the 'Max Width' attribute.- Returns:
- the value of the 'Max Width' attribute.
- See Also:
setMaxWidth(int)
,FormPackage.getDecoration_MaxWidth()
-
setMaxWidth
void setMaxWidth(int value)
Sets the value of the 'Max Width
' attribute.- Parameters:
value
- the new value of the 'Max Width' attribute.- See Also:
getMaxWidth()
-
getMinWidth
int getMinWidth()
Returns the value of the 'Min Width' attribute.- Returns:
- the value of the 'Min Width' attribute.
- See Also:
setMinWidth(int)
,FormPackage.getDecoration_MinWidth()
-
setMinWidth
void setMinWidth(int value)
Sets the value of the 'Min Width
' attribute.- Parameters:
value
- the new value of the 'Min Width' attribute.- See Also:
getMinWidth()
-
getHeight
int getHeight()
Returns the value of the 'Height' attribute.- Returns:
- the value of the 'Height' attribute.
- See Also:
setHeight(int)
,FormPackage.getDecoration_Height()
-
setHeight
void setHeight(int value)
Sets the value of the 'Height
' attribute.- Parameters:
value
- the new value of the 'Height' attribute.- See Also:
getHeight()
-
isAutoMaxHeight
boolean isAutoMaxHeight()
Returns the value of the 'Auto Max Height' attribute.- Returns:
- the value of the 'Auto Max Height' attribute.
- See Also:
setAutoMaxHeight(boolean)
,FormPackage.getDecoration_AutoMaxHeight()
-
setAutoMaxHeight
void setAutoMaxHeight(boolean value)
Sets the value of the 'Auto Max Height
' attribute.- Parameters:
value
- the new value of the 'Auto Max Height' attribute.- See Also:
isAutoMaxHeight()
-
getMaxHeight
int getMaxHeight()
Returns the value of the 'Max Height' attribute.- Returns:
- the value of the 'Max Height' attribute.
- See Also:
setMaxHeight(int)
,FormPackage.getDecoration_MaxHeight()
-
setMaxHeight
void setMaxHeight(int value)
Sets the value of the 'Max Height
' attribute.- Parameters:
value
- the new value of the 'Max Height' attribute.- See Also:
getMaxHeight()
-
getHorizontalStretch
Boolean getHorizontalStretch()
Returns the value of the 'Horizontal Stretch' attribute.- Returns:
- the value of the 'Horizontal Stretch' attribute.
- See Also:
setHorizontalStretch(Boolean)
,FormPackage.getDecoration_HorizontalStretch()
-
setHorizontalStretch
void setHorizontalStretch(Boolean value)
Sets the value of the 'Horizontal Stretch
' attribute.- Parameters:
value
- the new value of the 'Horizontal Stretch' attribute.- See Also:
getHorizontalStretch()
-
getVerticalStretch
Boolean getVerticalStretch()
Returns the value of the 'Vertical Stretch' attribute.- Returns:
- the value of the 'Vertical Stretch' attribute.
- See Also:
setVerticalStretch(Boolean)
,FormPackage.getDecoration_VerticalStretch()
-
setVerticalStretch
void setVerticalStretch(Boolean value)
Sets the value of the 'Vertical Stretch
' attribute.- Parameters:
value
- the new value of the 'Vertical Stretch' attribute.- See Also:
getVerticalStretch()
-
getSkipOnInput
Boolean getSkipOnInput()
Returns the value of the 'Skip On Input' attribute.- Returns:
- the value of the 'Skip On Input' attribute.
- See Also:
setSkipOnInput(Boolean)
,FormPackage.getDecoration_SkipOnInput()
-
setSkipOnInput
void setSkipOnInput(Boolean value)
Sets the value of the 'Skip On Input
' attribute.- Parameters:
value
- the new value of the 'Skip On Input' attribute.- See Also:
getSkipOnInput()
-
getTextColor
Color getTextColor()
Returns the value of the 'Text Color' containment reference.- Returns:
- the value of the 'Text Color' containment reference.
- See Also:
setTextColor(Color)
,FormPackage.getDecoration_TextColor()
-
setTextColor
void setTextColor(Color value)
Sets the value of the 'Text Color
' containment reference.- Parameters:
value
- the new value of the 'Text Color' containment reference.- See Also:
getTextColor()
-
getFont
Font getFont()
Returns the value of the 'Font' containment reference.- Returns:
- the value of the 'Font' containment reference.
- See Also:
setFont(Font)
,FormPackage.getDecoration_Font()
-
setFont
void setFont(Font value)
Sets the value of the 'Font
' containment reference.- Parameters:
value
- the new value of the 'Font' containment reference.- See Also:
getFont()
-
getShortcut
String getShortcut()
Returns the value of the 'Shortcut' attribute.- Returns:
- the value of the 'Shortcut' attribute.
- See Also:
setShortcut(String)
,FormPackage.getDecoration_Shortcut()
-
setShortcut
void setShortcut(String value)
Sets the value of the 'Shortcut
' attribute.- Parameters:
value
- the new value of the 'Shortcut' attribute.- See Also:
getShortcut()
-
getGroupHorizontalAlign
ItemHorizontalAlignment getGroupHorizontalAlign()
Returns the value of the 'Group Horizontal Align' attribute. The literals are from the enumerationItemHorizontalAlignment
.- Returns:
- the value of the 'Group Horizontal Align' attribute.
- See Also:
ItemHorizontalAlignment
,setGroupHorizontalAlign(ItemHorizontalAlignment)
,FormPackage.getDecoration_GroupHorizontalAlign()
-
setGroupHorizontalAlign
void setGroupHorizontalAlign(ItemHorizontalAlignment value)
Sets the value of the 'Group Horizontal Align
' attribute.- Parameters:
value
- the new value of the 'Group Horizontal Align' attribute.- See Also:
ItemHorizontalAlignment
,getGroupHorizontalAlign()
-
getGroupVerticalAlign
ItemVerticalAlignment getGroupVerticalAlign()
Returns the value of the 'Group Vertical Align' attribute. The literals are from the enumerationItemVerticalAlignment
.- Returns:
- the value of the 'Group Vertical Align' attribute.
- See Also:
ItemVerticalAlignment
,setGroupVerticalAlign(ItemVerticalAlignment)
,FormPackage.getDecoration_GroupVerticalAlign()
-
setGroupVerticalAlign
void setGroupVerticalAlign(ItemVerticalAlignment value)
Sets the value of the 'Group Vertical Align
' attribute.- Parameters:
value
- the new value of the 'Group Vertical Align' attribute.- See Also:
ItemVerticalAlignment
,getGroupVerticalAlign()
-
getOnMainServerUnavalableBehavior
OnMainServerUnavalableBehavior getOnMainServerUnavalableBehavior()
Returns the value of the 'On Main Server Unavalable Behavior' attribute. The literals are from the enumerationOnMainServerUnavalableBehavior
.- Returns:
- the value of the 'On Main Server Unavalable Behavior' attribute.
- See Also:
OnMainServerUnavalableBehavior
,setOnMainServerUnavalableBehavior(OnMainServerUnavalableBehavior)
,FormPackage.getDecoration_OnMainServerUnavalableBehavior()
-
setOnMainServerUnavalableBehavior
void setOnMainServerUnavalableBehavior(OnMainServerUnavalableBehavior value)
Sets the value of the 'On Main Server Unavalable Behavior
' attribute.- Parameters:
value
- the new value of the 'On Main Server Unavalable Behavior' attribute.- See Also:
OnMainServerUnavalableBehavior
,getOnMainServerUnavalableBehavior()
-
getExtInfo
DecorationExtInfo getExtInfo()
Returns the value of the 'Ext Info' containment reference.- Returns:
- the value of the 'Ext Info' containment reference.
- See Also:
setExtInfo(DecorationExtInfo)
,FormPackage.getDecoration_ExtInfo()
-
setExtInfo
void setExtInfo(DecorationExtInfo value)
Sets the value of the 'Ext Info
' containment reference.- Parameters:
value
- the new value of the 'Ext Info' containment reference.- See Also:
getExtInfo()
-
-