|
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.Objectoracle.jbo.server.RowAttrHintsImpl
public abstract class RowAttrHintsImpl
Defines access to view row 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 |
RowAttrHintsImpl()
|
| Method Summary | |
|---|---|
boolean |
displayInShortForm(LocaleContext localeCtx)
Returns true if the attribute is to displayed in the short(summary) form. |
protected abstract AttributeHints |
getAttributeHintsInternal(java.lang.String hintName,
LocaleContext locale)
|
abstract 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 localeCtx)
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 |
java.lang.String |
getFormat(LocaleContext localeCtx)
returns the format string stored in the ui hints |
protected abstract 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 localeCtx)
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 |
abstract java.lang.String |
getLocaleName(LocaleContext locale,
java.lang.String sName)
function for retrieving the locale name of a hint |
java.lang.String |
getTooltip(LocaleContext localeCtx)
Retrives the tooltip text to be used for this attribute |
boolean |
hasFormatInformation(LocaleContext localeCtx)
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. |
protected DefLocaleContext |
prepareDefLocaleContext(LocaleContext locale)
|
protected void |
switchEvalFlagOnLocaleContext(DefLocaleContext ctx,
boolean eval)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RowAttrHintsImpl()
| Method Detail |
|---|
protected final DefLocaleContext prepareDefLocaleContext(LocaleContext locale)
protected final void switchEvalFlagOnLocaleContext(DefLocaleContext ctx,
boolean eval)
protected abstract AttributeHints getFormatAttributeHintsInternal(LocaleContext locale)
protected abstract AttributeHints getAttributeHintsInternal(java.lang.String hintName,
LocaleContext locale)
public abstract java.lang.String getLocaleName(LocaleContext locale,
java.lang.String sName)
AttributeHints
getLocaleName in interface AttributeHintspublic abstract java.lang.String[][] getCompOpers(LocaleContext locale)
AttributeHints
getCompOpers in interface AttributeHintspublic java.lang.String getLabel(LocaleContext localeCtx)
GenericHints
getLabel in interface GenericHintspublic java.lang.String getLabelPlural(LocaleContext localeCtx)
GenericHints
getLabelPlural in interface GenericHintspublic java.lang.String getTooltip(LocaleContext localeCtx)
GenericHints
getTooltip in interface GenericHintspublic java.lang.String getDisplayHint(LocaleContext localeCtx)
AttributeHints
getDisplayHint in interface AttributeHintspublic int getControlType(LocaleContext localeCtx)
AttributeHints
getControlType in interface AttributeHintspublic int getDisplayWidth(LocaleContext localeCtx)
AttributeHints
getDisplayWidth in interface AttributeHintspublic int getDisplayHeight(LocaleContext localeCtx)
AttributeHints
getDisplayHeight in interface AttributeHintspublic boolean isAutoSubmit(LocaleContext localeCtx)
AttributeHints
isAutoSubmit in interface AttributeHints
public java.lang.String getHint(LocaleContext localeCtx,
java.lang.String sHintName)
AttributeHints
getHint in interface AttributeHints
public java.lang.String getHintValue(LocaleContext localeCtx,
java.lang.String sHintName)
GenericHints
getHintValue in interface GenericHintspublic boolean displayInShortForm(LocaleContext localeCtx)
AttributeHints
displayInShortForm in interface AttributeHintspublic boolean hasFormatInformation(LocaleContext localeCtx)
AttributeHints
hasFormatInformation in interface AttributeHints
public java.lang.String getFormattedAttribute(AttributeList attrList,
LocaleContext localeCtx)
AttributeHints
getFormattedAttribute in interface AttributeHints
public java.lang.Object parseFormattedAttribute(java.lang.String sValue,
LocaleContext localeCtx)
AttributeHints
parseFormattedAttribute in interface AttributeHintspublic java.lang.String getFormat(LocaleContext localeCtx)
AttributeHints
getFormat in interface AttributeHintspublic Formatter getFormatter(LocaleContext localeCtx)
AttributeHints
getFormatter in interface AttributeHintspublic java.lang.String getFormatterClassName(LocaleContext localeCtx)
AttributeHints
getFormatterClassName in interface AttributeHints
|
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 | ||||||||