|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueFormatHints
Hints on how to format a value.
The following features are supported:
DesignPackage.getValueFormatHints()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
java.lang.String |
getDisplayFormat()
Returns the value of the 'Display Format' attribute. |
int |
getDisplaySize()
Returns the value of the 'Display Size' attribute. |
HorizontalAlignment |
getHorizontalAlignment()
Returns the value of the 'Horizontal Alignment' attribute. |
TextFormatType |
getTextFormatType()
Returns the value of the 'Text Format Type' attribute. |
TextWrapType |
getTextWrapType()
Returns the value of the 'Text Wrap Type' attribute. |
boolean |
isSetDisplaySize()
Returns whether the value of the ' Display Size ' attribute is set. |
boolean |
isSetHorizontalAlignment()
Returns whether the value of the ' Horizontal Alignment ' attribute is set. |
boolean |
isSetTextFormatType()
Returns whether the value of the ' Text Format Type ' attribute is set. |
boolean |
isSetTextWrapType()
Returns whether the value of the ' Text Wrap Type ' attribute is set. |
void |
setDisplayFormat(java.lang.String value)
Sets the value of the ' Display Format ' attribute. |
void |
setDisplaySize(int value)
Sets the value of the ' Display Size ' attribute. |
void |
setHorizontalAlignment(HorizontalAlignment value)
Sets the value of the ' Horizontal Alignment ' attribute. |
void |
setTextFormatType(TextFormatType value)
Sets the value of the ' Text Format Type ' attribute. |
void |
setTextWrapType(TextWrapType value)
Sets the value of the ' Text Wrap Type ' attribute. |
void |
unsetDisplaySize()
Unsets the value of the ' Display Size ' attribute. |
void |
unsetHorizontalAlignment()
Unsets the value of the ' Horizontal Alignment ' attribute. |
void |
unsetTextFormatType()
Unsets the value of the ' Text Format Type ' attribute. |
void |
unsetTextWrapType()
Unsets the value of the ' Text Wrap Type ' attribute. |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
int getDisplaySize()
"-1"
.
Default display length of the data value. A value of -1 means unknown length. The default value, if not specified, is -1.
isSetDisplaySize()
,
unsetDisplaySize()
,
setDisplaySize(int)
,
DesignPackage.getValueFormatHints_DisplaySize()
void setDisplaySize(int value)
Display Size
' attribute.
value
- the new value of the 'Display Size' attribute.isSetDisplaySize()
,
unsetDisplaySize()
,
getDisplaySize()
void unsetDisplaySize()
Display Size
' attribute.
isSetDisplaySize()
,
getDisplaySize()
,
setDisplaySize(int)
boolean isSetDisplaySize()
Display Size
' attribute is set.
unsetDisplaySize()
,
getDisplaySize()
,
setDisplaySize(int)
java.lang.String getDisplayFormat()
setDisplayFormat(String)
,
DesignPackage.getValueFormatHints_DisplayFormat()
void setDisplayFormat(java.lang.String value)
Display Format
' attribute.
value
- the new value of the 'Display Format' attribute.getDisplayFormat()
TextFormatType getTextFormatType()
"Plain"
.
The literals are from the enumeration TextFormatType
.
The type of text content of the data value, i.e. plain text, HTML or RTF. It provides a hint on the type of text control to use for displaying the data value, e.g. a Dynamic Text Control.
TextFormatType
,
isSetTextFormatType()
,
unsetTextFormatType()
,
setTextFormatType(TextFormatType)
,
DesignPackage.getValueFormatHints_TextFormatType()
void setTextFormatType(TextFormatType value)
Text Format Type
' attribute.
value
- the new value of the 'Text Format Type' attribute.TextFormatType
,
isSetTextFormatType()
,
unsetTextFormatType()
,
getTextFormatType()
void unsetTextFormatType()
Text Format Type
' attribute.
isSetTextFormatType()
,
getTextFormatType()
,
setTextFormatType(TextFormatType)
boolean isSetTextFormatType()
Text Format Type
' attribute is set.
unsetTextFormatType()
,
getTextFormatType()
,
setTextFormatType(TextFormatType)
HorizontalAlignment getHorizontalAlignment()
"Automatic"
.
The literals are from the enumeration HorizontalAlignment
.
Horizontal display alignment of the data value. See valid enum values. "Automatic" means that it is up to an ODA host designer to determine the alignment based on its default rules.
HorizontalAlignment
,
isSetHorizontalAlignment()
,
unsetHorizontalAlignment()
,
setHorizontalAlignment(HorizontalAlignment)
,
DesignPackage.getValueFormatHints_HorizontalAlignment()
void setHorizontalAlignment(HorizontalAlignment value)
Horizontal Alignment
' attribute.
value
- the new value of the 'Horizontal Alignment' attribute.HorizontalAlignment
,
isSetHorizontalAlignment()
,
unsetHorizontalAlignment()
,
getHorizontalAlignment()
void unsetHorizontalAlignment()
Horizontal Alignment
' attribute.
isSetHorizontalAlignment()
,
getHorizontalAlignment()
,
setHorizontalAlignment(HorizontalAlignment)
boolean isSetHorizontalAlignment()
Horizontal Alignment
' attribute is set.
unsetHorizontalAlignment()
,
getHorizontalAlignment()
,
setHorizontalAlignment(HorizontalAlignment)
TextWrapType getTextWrapType()
"None"
.
The literals are from the enumeration TextWrapType
.
A hint on the type of text wrapping on the data value. It could be in a single line (None), or word-wrapped (Word).
TextWrapType
,
isSetTextWrapType()
,
unsetTextWrapType()
,
setTextWrapType(TextWrapType)
,
DesignPackage.getValueFormatHints_TextWrapType()
void setTextWrapType(TextWrapType value)
Text Wrap Type
' attribute.
value
- the new value of the 'Text Wrap Type' attribute.TextWrapType
,
isSetTextWrapType()
,
unsetTextWrapType()
,
getTextWrapType()
void unsetTextWrapType()
Text Wrap Type
' attribute.
isSetTextWrapType()
,
getTextWrapType()
,
setTextWrapType(TextWrapType)
boolean isSetTextWrapType()
Text Wrap Type
' attribute is set.
unsetTextWrapType()
,
getTextWrapType()
,
setTextWrapType(TextWrapType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |