|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.server.RowAttrHintsImpl oracle.jbo.server.EntityAttrHintsImpl
public class EntityAttrHintsImpl
Defines access to an entity Attribute's user interface hints.
AttributeDef
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.jbo.AttributeHints |
---|
AttributeHints.ControlType |
Field Summary |
---|
Fields inherited from interface oracle.jbo.GenericHints |
---|
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP |
Constructor Summary | |
---|---|
protected |
EntityAttrHintsImpl(AttributeDefImpl attr,
EntityImpl en)
for use by subclasses. |
Method Summary | |
---|---|
boolean |
displayInShortForm(LocaleContext localeCtx)
Returns true if the attribute is to displayed in the short(summary) form. |
protected AttributeDefImpl |
getAttributeDefImpl()
|
protected AttributeHints |
getAttributeHintsInternal(java.lang.String hintName,
LocaleContext locale)
|
java.lang.String |
getCategory(LocaleContext locale)
|
java.lang.String[][] |
getCompOpers(LocaleContext locale)
Returns a Map of operators for this attribute. |
int |
getControlType(LocaleContext localeCtx)
Returns the preferred control type for this attribute |
int |
getDisplayHeight(LocaleContext localeCtx)
Returns the display width for this attribute |
java.lang.String |
getDisplayHint(LocaleContext locale)
Retrieves the displya hint that dictates whether this attributr should be visible or not. |
int |
getDisplayWidth(LocaleContext localeCtx)
Returns the display width for this attribute |
protected EntityImpl |
getEntityImpl()
|
java.lang.String |
getFormat(LocaleContext localeCtx)
returns the format string stored in the ui hints |
protected AttributeHints |
getFormatAttributeHintsInternal(LocaleContext locale)
|
java.lang.String |
getFormattedAttribute(AttributeList attrList,
LocaleContext localeCtx)
Returns the formatted value for the attribute. |
Formatter |
getFormatter(LocaleContext localeCtx)
returns the formatter object stored in the ui hints |
java.lang.String |
getFormatterClassName(LocaleContext localeCtx)
returns the formatter class stored in the ui hints |
java.lang.String |
getHint(LocaleContext localeCtx,
java.lang.String sHintName)
Return defaulted hint value based on the hint name |
java.lang.String |
getHintValue(LocaleContext localeCtx,
java.lang.String sHintName)
Return hint value based on the hint name |
java.lang.String |
getLabel(LocaleContext locale)
Retrieves the label to be used in any attribute prompts |
java.lang.String |
getLabelPlural(LocaleContext localeCtx)
Retrives the LabelPlural text to be used for this attribute |
java.lang.String |
getLocaleName(LocaleContext locale,
java.lang.String sName)
function for retrieving the locale name of a hint |
java.lang.String |
getTooltip(LocaleContext locale)
Retrives the tooltip text to be used for this attribute |
boolean |
hasFormatInformation(LocaleContext locale)
Return true if any format hints have been defined for this attribute. |
boolean |
isAutoSubmit(LocaleContext localeCtx)
Returns autoSubmit value for this attribute. |
java.lang.Object |
parseFormattedAttribute(java.lang.String sValue,
LocaleContext localeCtx)
Strips off the formatting from a string and constructs an instance of the attribute's domain using the 'clean' string as a parameter of the contructor. |
Methods inherited from class oracle.jbo.server.RowAttrHintsImpl |
---|
prepareDefLocaleContext, switchEvalFlagOnLocaleContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EntityAttrHintsImpl(AttributeDefImpl attr, EntityImpl en)
Method Detail |
---|
protected AttributeDefImpl getAttributeDefImpl()
protected EntityImpl getEntityImpl()
protected AttributeHints getFormatAttributeHintsInternal(LocaleContext locale)
getFormatAttributeHintsInternal
in class RowAttrHintsImpl
protected AttributeHints getAttributeHintsInternal(java.lang.String hintName, LocaleContext locale)
getAttributeHintsInternal
in class RowAttrHintsImpl
public java.lang.String getLabel(LocaleContext locale)
GenericHints
getLabel
in interface GenericHints
getLabel
in class RowAttrHintsImpl
public java.lang.String getLabelPlural(LocaleContext localeCtx)
GenericHints
getLabelPlural
in interface GenericHints
getLabelPlural
in class RowAttrHintsImpl
public java.lang.String getTooltip(LocaleContext locale)
GenericHints
getTooltip
in interface GenericHints
getTooltip
in class RowAttrHintsImpl
public java.lang.String getDisplayHint(LocaleContext locale)
AttributeHints
getDisplayHint
in interface AttributeHints
getDisplayHint
in class RowAttrHintsImpl
public int getControlType(LocaleContext localeCtx)
AttributeHints
getControlType
in interface AttributeHints
getControlType
in class RowAttrHintsImpl
public int getDisplayWidth(LocaleContext localeCtx)
AttributeHints
getDisplayWidth
in interface AttributeHints
getDisplayWidth
in class RowAttrHintsImpl
public int getDisplayHeight(LocaleContext localeCtx)
AttributeHints
getDisplayHeight
in interface AttributeHints
getDisplayHeight
in class RowAttrHintsImpl
public boolean isAutoSubmit(LocaleContext localeCtx)
AttributeHints
isAutoSubmit
in interface AttributeHints
isAutoSubmit
in class RowAttrHintsImpl
public java.lang.String getCategory(LocaleContext locale)
public java.lang.String getHint(LocaleContext localeCtx, java.lang.String sHintName)
AttributeHints
getHint
in interface AttributeHints
getHint
in class RowAttrHintsImpl
public java.lang.String getHintValue(LocaleContext localeCtx, java.lang.String sHintName)
GenericHints
getHintValue
in interface GenericHints
getHintValue
in class RowAttrHintsImpl
public boolean hasFormatInformation(LocaleContext locale)
AttributeHints
hasFormatInformation
in interface AttributeHints
hasFormatInformation
in class RowAttrHintsImpl
public java.lang.String getFormattedAttribute(AttributeList attrList, LocaleContext localeCtx)
AttributeHints
getFormattedAttribute
in interface AttributeHints
getFormattedAttribute
in class RowAttrHintsImpl
public java.lang.Object parseFormattedAttribute(java.lang.String sValue, LocaleContext localeCtx)
AttributeHints
parseFormattedAttribute
in interface AttributeHints
parseFormattedAttribute
in class RowAttrHintsImpl
public boolean displayInShortForm(LocaleContext localeCtx)
AttributeHints
displayInShortForm
in interface AttributeHints
displayInShortForm
in class RowAttrHintsImpl
public java.lang.String getFormat(LocaleContext localeCtx)
AttributeHints
getFormat
in interface AttributeHints
getFormat
in class RowAttrHintsImpl
public Formatter getFormatter(LocaleContext localeCtx)
AttributeHints
getFormatter
in interface AttributeHints
getFormatter
in class RowAttrHintsImpl
public java.lang.String getFormatterClassName(LocaleContext localeCtx)
AttributeHints
getFormatterClassName
in interface AttributeHints
getFormatterClassName
in class RowAttrHintsImpl
public java.lang.String getLocaleName(LocaleContext locale, java.lang.String sName)
AttributeHints
getLocaleName
in interface AttributeHints
getLocaleName
in class RowAttrHintsImpl
public java.lang.String[][] getCompOpers(LocaleContext locale)
AttributeHints
getCompOpers
in interface AttributeHints
getCompOpers
in class RowAttrHintsImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |