|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
Field Detail |
public static final java.lang.String copyright
Method Detail |
public 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()
public void setDisplaySize(int value)
Display Size
' attribute.
value
- the new value of the 'Display Size' attribute.isSetDisplaySize()
,
unsetDisplaySize()
,
getDisplaySize()
public void unsetDisplaySize()
Display Size
' attribute.
isSetDisplaySize()
,
getDisplaySize()
,
setDisplaySize(int)
public boolean isSetDisplaySize()
Display Size
' attribute is set.
unsetDisplaySize()
,
getDisplaySize()
,
setDisplaySize(int)
public java.lang.String getDisplayFormat()
setDisplayFormat(String)
,
DesignPackage.getValueFormatHints_DisplayFormat()
public void setDisplayFormat(java.lang.String value)
Display Format
' attribute.
value
- the new value of the 'Display Format' attribute.getDisplayFormat()
public 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()
public void setTextFormatType(TextFormatType value)
Text Format Type
' attribute.
value
- the new value of the 'Text Format Type' attribute.TextFormatType
,
isSetTextFormatType()
,
unsetTextFormatType()
,
getTextFormatType()
public void unsetTextFormatType()
Text Format Type
' attribute.
isSetTextFormatType()
,
getTextFormatType()
,
setTextFormatType(TextFormatType)
public boolean isSetTextFormatType()
Text Format Type
' attribute is set.
unsetTextFormatType()
,
getTextFormatType()
,
setTextFormatType(TextFormatType)
public 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()
public void setHorizontalAlignment(HorizontalAlignment value)
Horizontal Alignment
' attribute.
value
- the new value of the 'Horizontal Alignment' attribute.HorizontalAlignment
,
isSetHorizontalAlignment()
,
unsetHorizontalAlignment()
,
getHorizontalAlignment()
public void unsetHorizontalAlignment()
Horizontal Alignment
' attribute.
isSetHorizontalAlignment()
,
getHorizontalAlignment()
,
setHorizontalAlignment(HorizontalAlignment)
public boolean isSetHorizontalAlignment()
Horizontal Alignment
' attribute is set.
unsetHorizontalAlignment()
,
getHorizontalAlignment()
,
setHorizontalAlignment(HorizontalAlignment)
public 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()
public void setTextWrapType(TextWrapType value)
Text Wrap Type
' attribute.
value
- the new value of the 'Text Wrap Type' attribute.TextWrapType
,
isSetTextWrapType()
,
unsetTextWrapType()
,
getTextWrapType()
public void unsetTextWrapType()
Text Wrap Type
' attribute.
isSetTextWrapType()
,
getTextWrapType()
,
setTextWrapType(TextWrapType)
public 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 |