|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.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 |
---|
Constructor Summary | |
---|---|
protected |
EntityAttrHintsImpl(AttributeDefImpl attr,
EntityImpl en)
for use by subclasses. |
Method Summary | |
---|---|
boolean |
displayInShortForm(LocaleContext locale)
Returns true if the attribute is to displayed in the short(summary) form. |
protected AttributeDefImpl |
getAttributeDefImpl()
|
java.lang.String[][] |
getCompOpers(LocaleContext locale)
Returns a Map of operators for this attribute. |
int |
getControlType(LocaleContext locale)
Returns the preferred control type for this attribute |
int |
getDisplayHeight(LocaleContext locale)
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 locale)
Returns the display width for this attribute |
protected EntityImpl |
getEntityImpl()
|
java.lang.String |
getFormat(LocaleContext locale)
returns the format string stored in the ui hints |
java.lang.String |
getFormattedAttribute(AttributeList attrList,
LocaleContext locale)
Returns the formatted value for the attribute. |
Formatter |
getFormatter(LocaleContext locale)
returns the formatter object stored in the ui hints |
java.lang.String |
getFormatterClassName(LocaleContext locale)
returns the formatter class stored in the ui hints |
java.lang.String |
getHint(LocaleContext locale,
java.lang.String sHintName)
Return defaulted hint value based on the hint name |
java.lang.String |
getHintValue(LocaleContext locale,
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 |
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 locale)
Returns autoSubmit value for this attribute. |
java.lang.Object |
parseFormattedAttribute(java.lang.String sValue,
LocaleContext locale)
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 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()
public java.lang.String getLabel(LocaleContext locale)
AttributeHints
getLabel
in interface AttributeHints
public java.lang.String getTooltip(LocaleContext locale)
AttributeHints
getTooltip
in interface AttributeHints
public java.lang.String getDisplayHint(LocaleContext locale)
AttributeHints
getDisplayHint
in interface AttributeHints
public int getControlType(LocaleContext locale)
AttributeHints
getControlType
in interface AttributeHints
public int getDisplayWidth(LocaleContext locale)
AttributeHints
getDisplayWidth
in interface AttributeHints
public int getDisplayHeight(LocaleContext locale)
AttributeHints
getDisplayHeight
in interface AttributeHints
public boolean isAutoSubmit(LocaleContext locale)
AttributeHints
isAutoSubmit
in interface AttributeHints
public java.lang.String getHint(LocaleContext locale, java.lang.String sHintName)
AttributeHints
getHint
in interface AttributeHints
public java.lang.String getHintValue(LocaleContext locale, java.lang.String sHintName)
AttributeHints
getHintValue
in interface AttributeHints
public boolean hasFormatInformation(LocaleContext locale)
AttributeHints
hasFormatInformation
in interface AttributeHints
public java.lang.String getFormattedAttribute(AttributeList attrList, LocaleContext locale)
AttributeHints
getFormattedAttribute
in interface AttributeHints
public java.lang.Object parseFormattedAttribute(java.lang.String sValue, LocaleContext locale)
AttributeHints
parseFormattedAttribute
in interface AttributeHints
public boolean displayInShortForm(LocaleContext locale)
AttributeHints
displayInShortForm
in interface AttributeHints
public java.lang.String getFormat(LocaleContext locale)
AttributeHints
getFormat
in interface AttributeHints
public Formatter getFormatter(LocaleContext locale)
AttributeHints
getFormatter
in interface AttributeHints
public java.lang.String getFormatterClassName(LocaleContext locale)
AttributeHints
getFormatterClassName
in interface AttributeHints
public java.lang.String getLocaleName(LocaleContext locale, java.lang.String sName)
AttributeHints
getLocaleName
in interface AttributeHints
public java.lang.String[][] getCompOpers(LocaleContext locale)
AttributeHints
getCompOpers
in interface AttributeHints
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |