oracle.adfnmc.component.ui
Class InputDate
java.lang.Object
oracle.adfnmc.component.Component
oracle.adfnmc.component.ui.RenderableComponent
oracle.adfnmc.component.ui.Control
oracle.adfnmc.component.ui.BasicControl
oracle.adfnmc.component.ui.BasicFontControl
oracle.adfnmc.component.ui.InputDate
- All Implemented Interfaces:
- IConvertDateTimeListener, RefreshablePropertyObjectOwner, ITestableComponent
- Direct Known Subclasses:
- BBInputDate
public abstract class InputDate
- extends BasicFontControl
- implements IConvertDateTimeListener
Fields inherited from class oracle.adfnmc.component.ui.Control |
bound, cloned, container, DEFAULT_BACKGROUNDCOLOR, DEFAULT_BOTTOM, DEFAULT_FOCUSED, DEFAULT_HEIGHT, DEFAULT_HEIGHT_STRING, DEFAULT_LEFT, DEFAULT_RIGHT, DEFAULT_TOP, DEFAULT_WIDTH, embedded, has_x, has_y, m_alignProperty, m_availableHeight, m_availableWidth, m_backgroundColorProperty, m_cmpImpl, m_cookie, m_hasAlign, m_hasBackgroundColor, m_hasHeight, m_hasVerticalAlign, m_hasWidth, m_heightProperty, m_isClipped, m_isDirty, m_isHeightPercentage, m_isWidthPercentage, m_menuControls, m_multiRowContainerParent, m_tabstop, m_verticalAlignProperty, m_widthProperty, m_x, m_y, rownum |
Fields inherited from class oracle.adfnmc.component.Component |
CLASS_INSTANCE, m_attributes, m_elContext, m_exprfactory, m_formatMethod, m_id, m_initialized, m_parent, m_pattern, m_props, m_screen, m_theApp, refreshableProperties |
Method Summary |
void |
addChild(Attribute child)
|
protected void |
addDirtyListener()
|
protected java.util.Date |
coerceValueToDate()
|
protected java.util.Date |
coerceValueToDate(java.lang.Object obj)
|
protected abstract ConvertDateTime |
createConvertDateTime()
|
void |
endInit()
|
protected void |
endInitRenderableProperties(boolean isRendered)
|
protected void |
fireValueChangeListenerEvent(java.lang.Object source,
java.lang.Object oldValue,
java.lang.Object newValue)
|
protected java.lang.String |
fixupLabelNativeSetting(java.lang.String string)
|
protected static java.lang.Object |
fixupUnderlyingType(java.lang.Object obj)
This returns either a string or a java.util.Date |
abstract boolean |
flushDirty()
|
protected boolean |
getDefaultFocusable()
|
java.lang.String |
getForegroundColor()
|
protected abstract java.lang.String |
getForegroundColorNative()
|
java.lang.String |
getJustification()
|
protected abstract int |
getJustificationNative()
|
java.lang.String |
getLabel()
|
boolean |
getReadOnly()
|
protected abstract boolean |
getReadOnlyNative()
|
boolean |
getRequired()
|
java.lang.String |
getRequiredMessage()
|
boolean |
getShowRequired()
|
boolean |
getSimple()
|
java.lang.Object |
getValue()
|
protected java.lang.Object |
getValueAsUnderlyingType()
This returns either a string or a java.util.Date |
java.lang.String |
getVerticalJustification()
|
protected abstract int |
getVerticalJustificationNative()
|
protected void |
handleChangeAction(int action)
|
boolean |
hasBackgroundColor()
|
boolean |
hasForegroundColor()
|
protected boolean |
isLabeled()
Override on controls that implement label support |
protected boolean |
isValueUnderlyingTypeString()
This returns either true if the underlying type is non-null and a string |
protected void |
removeDirtyListener()
|
abstract void |
render(java.lang.Object uiparent)
|
protected void |
requiredChanged()
|
protected void |
setForegroundColor(java.lang.Object source,
java.lang.String foregroundColor)
|
void |
setForegroundColor(java.lang.String foregroundColor)
|
protected abstract void |
setForegroundColorNative(java.lang.String foregroundColor)
|
protected void |
setJustification(java.lang.Object source,
java.lang.String justification)
|
void |
setJustification(java.lang.String justification)
|
protected abstract void |
setJustificationNative(int justification)
|
protected void |
setLabel(java.lang.Object source,
java.lang.String label)
|
void |
setLabel(java.lang.String label)
|
protected abstract void |
setLabelNative(java.lang.String label)
|
void |
setReadOnly(boolean readOnly)
|
protected void |
setReadOnly(java.lang.Object source,
boolean readOnly)
|
protected abstract void |
setReadOnlyNative(boolean readOnly)
|
protected void |
setRenderProperties()
|
void |
setRequired(boolean required)
|
protected void |
setRequired(java.lang.Object source,
boolean required)
|
void |
setShowRequired(boolean showRequired)
|
protected void |
setShowRequired(java.lang.Object source,
boolean showRequired)
|
void |
setSimple(boolean simple)
|
protected void |
setSimple(java.lang.Object source,
boolean simple)
|
void |
setValue(java.lang.Object value)
|
protected void |
setValue(java.lang.Object source,
java.lang.Object value)
|
protected abstract void |
setValueNative(java.util.Date value)
|
protected abstract void |
setValueNative(java.lang.String value)
|
protected void |
setVerticalJustification(java.lang.Object source,
java.lang.String verticalJustification)
|
void |
setVerticalJustification(java.lang.String verticalJustification)
|
protected abstract void |
setVerticalJustificationNative(int verticalJustification)
|
protected void |
showRequiredChanged()
|
protected void |
simpleChanged()
|
Control |
UIClone()
|
protected void |
updateNativeValue()
|
protected void |
updateNativeValue(java.lang.Object obj)
|
boolean |
validateRequired()
|
Methods inherited from class oracle.adfnmc.component.ui.BasicFontControl |
getFontFamily, getFontFamilyNative, getFontSize, getFontSizeNative, getFontStyle, getFontStyleNative, setFontFamily, setFontFamily, setFontSize, setFontSize, setFontStyle, setFontStyle, updateFont, updateFont, updateFont, updateFontNative |
Methods inherited from class oracle.adfnmc.component.ui.BasicControl |
getDisabled, getFocusable, getFocusableNative, getVisible, getVisibleNative, setDisabled, setDisabled, setDisabledNative, setFocusable, setFocusable, setFocusableNative, setVisible, setVisible, setVisibleNative |
Methods inherited from class oracle.adfnmc.component.ui.Control |
addChild, addPropertyList, backgroundColorChanged, bindMenus, clipHeight, clipWidth, determineAvailableSpace, disposeProperties, endInitRendered, focusableChanged, gainedFocus, getAlign, getAlignNative, getAvailableHeight, getAvailableWidth, getBackgroundColor, getBackgroundColorNative, getBottom, getBottomNative, getControlDepth, getCookie, getDefaultFontFamily, getDefaultFontSize, getDefaultFontStyle, getEmbedded, getFocused, getFocusedNative, getHeight, getHeightNative, getLeft, getLeftNative, getMultiRowContainer, getNativeUiComponent, getParentHeightRecursively, getParentWidthRecursively, getRight, getRightNative, getRowNum, getTop, getTopNative, getVerticalAlign, getVerticalAlignNative, getWidth, getWidthNative, hasAlign, hasHeight, hasLocation, hasVerticalAlign, hasWidth, inheritBackgroundColor, initCoreUIData, initGeometryData, isAllowedToReceiveFocus, isEmbeddedAndSelected, isNativeUiComponent, isNotRenderable, isWidthPercentage, markDirty, refreshUI, removeFromNativeParent, renderNative, setAlign, setAlign, setAlignNative, setBackgroundColor, setBackgroundColor, setBackgroundColorNative, setContainer, setCookie, setEmbedded, setFocus, setHeight, setHeight, setHeightNative, setMultiRowContainerParent, setParent, setRowNum, setVerticalAlign, setVerticalAlign, setVerticalAlignNative, setWidth, setWidth, setWidthNative, shiftRowNum, shouldUseParentBackgroundColor, toString, UICloneImpl, updateBackgroundColorNative |
Methods inherited from class oracle.adfnmc.component.ui.RenderableComponent |
execute, Focus, getRendered, handleRenderedChange, isParentRendered, isRendered, isRenderedChanged, renderedChangedNative, setRendered, setRendered, setUnregisterPropertiesOnly |
Methods inherited from class oracle.adfnmc.component.Component |
addChild, beginInit, buildValueExpression, dump, dump, dumpProps, dumpProps, dumpPropsBuffer, getDataValues, getId, getParent, getProps, getScreen, propertyInstanceCreated, refreshProperties, setChild, setChild, setId, setProp, setScreen, toFormattedString, updateRenderer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_FOCUSABLE
protected static final boolean DEFAULT_FOCUSABLE
- See Also:
- Constant Field Values
DEFAULT_FOREGROUNDCOLOR
protected static final java.lang.String DEFAULT_FOREGROUNDCOLOR
- See Also:
- Constant Field Values
DEFAULT_LABEL
protected static final java.lang.String DEFAULT_LABEL
- See Also:
- Constant Field Values
DEFAULT_READONLY
protected static final boolean DEFAULT_READONLY
- See Also:
- Constant Field Values
DEFAULT_REQUIRED
protected static final boolean DEFAULT_REQUIRED
- See Also:
- Constant Field Values
DEFAULT_SHOWREQUIRED
protected static final boolean DEFAULT_SHOWREQUIRED
- See Also:
- Constant Field Values
DEFAULT_SIMPLE
protected static final boolean DEFAULT_SIMPLE
- See Also:
- Constant Field Values
DEFAULT_VALUE
protected static final java.lang.Object DEFAULT_VALUE
DEFAULT_WIDTH_STRING
protected static final java.lang.String DEFAULT_WIDTH_STRING
- See Also:
- Constant Field Values
m_hasForegroundColor
protected boolean m_hasForegroundColor
m_foregroundColorProperty
protected StringProperty m_foregroundColorProperty
m_justificationProperty
protected StringProperty m_justificationProperty
m_labelProperty
protected StringProperty m_labelProperty
m_readOnlyProperty
protected BooleanProperty m_readOnlyProperty
m_requiredProperty
protected BooleanProperty m_requiredProperty
m_showRequiredProperty
protected BooleanProperty m_showRequiredProperty
m_simpleProperty
protected BooleanProperty m_simpleProperty
m_valueProperty
protected ObjectProperty m_valueProperty
m_valueChangeListenerProperty
protected MethodAction m_valueChangeListenerProperty
m_verticalJustificationProperty
protected StringProperty m_verticalJustificationProperty
m_convertDateTime
protected ConvertDateTime m_convertDateTime
InputDate
public InputDate()
getDefaultFocusable
protected boolean getDefaultFocusable()
- Specified by:
getDefaultFocusable
in class BasicControl
addChild
public void addChild(Attribute child)
- Overrides:
addChild
in class Component
createConvertDateTime
protected abstract ConvertDateTime createConvertDateTime()
endInitRenderableProperties
protected void endInitRenderableProperties(boolean isRendered)
- Overrides:
endInitRenderableProperties
in class BasicFontControl
endInit
public void endInit()
- Overrides:
endInit
in class BasicFontControl
UIClone
public Control UIClone()
- Specified by:
UIClone
in class Control
hasBackgroundColor
public boolean hasBackgroundColor()
- Overrides:
hasBackgroundColor
in class Control
hasForegroundColor
public boolean hasForegroundColor()
- Overrides:
hasForegroundColor
in class Control
fixupLabelNativeSetting
protected java.lang.String fixupLabelNativeSetting(java.lang.String string)
simpleChanged
protected void simpleChanged()
showRequiredChanged
protected void showRequiredChanged()
requiredChanged
protected void requiredChanged()
getRequiredMessage
public java.lang.String getRequiredMessage()
validateRequired
public boolean validateRequired()
handleChangeAction
protected void handleChangeAction(int action)
setRenderProperties
protected void setRenderProperties()
- Overrides:
setRenderProperties
in class BasicFontControl
render
public abstract void render(java.lang.Object uiparent)
- Specified by:
render
in class Control
getForegroundColor
public java.lang.String getForegroundColor()
setForegroundColor
protected void setForegroundColor(java.lang.Object source,
java.lang.String foregroundColor)
setForegroundColor
public void setForegroundColor(java.lang.String foregroundColor)
getJustification
public java.lang.String getJustification()
setJustification
protected void setJustification(java.lang.Object source,
java.lang.String justification)
setJustification
public void setJustification(java.lang.String justification)
getLabel
public java.lang.String getLabel()
setLabel
protected void setLabel(java.lang.Object source,
java.lang.String label)
setLabel
public void setLabel(java.lang.String label)
getReadOnly
public boolean getReadOnly()
setReadOnly
protected void setReadOnly(java.lang.Object source,
boolean readOnly)
setReadOnly
public void setReadOnly(boolean readOnly)
getRequired
public boolean getRequired()
setRequired
protected void setRequired(java.lang.Object source,
boolean required)
setRequired
public void setRequired(boolean required)
getShowRequired
public boolean getShowRequired()
setShowRequired
protected void setShowRequired(java.lang.Object source,
boolean showRequired)
setShowRequired
public void setShowRequired(boolean showRequired)
getSimple
public boolean getSimple()
setSimple
protected void setSimple(java.lang.Object source,
boolean simple)
setSimple
public void setSimple(boolean simple)
updateNativeValue
protected void updateNativeValue()
updateNativeValue
protected void updateNativeValue(java.lang.Object obj)
fixupUnderlyingType
protected static java.lang.Object fixupUnderlyingType(java.lang.Object obj)
- This returns either a string or a java.util.Date
isValueUnderlyingTypeString
protected boolean isValueUnderlyingTypeString()
- This returns either true if the underlying type is non-null and a string
coerceValueToDate
protected java.util.Date coerceValueToDate(java.lang.Object obj)
coerceValueToDate
protected java.util.Date coerceValueToDate()
getValueAsUnderlyingType
protected java.lang.Object getValueAsUnderlyingType()
- This returns either a string or a java.util.Date
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in class BasicControl
fireValueChangeListenerEvent
protected void fireValueChangeListenerEvent(java.lang.Object source,
java.lang.Object oldValue,
java.lang.Object newValue)
setValue
protected void setValue(java.lang.Object source,
java.lang.Object value)
- Specified by:
setValue
in class BasicControl
setValue
public void setValue(java.lang.Object value)
- Overrides:
setValue
in class BasicControl
getVerticalJustification
public java.lang.String getVerticalJustification()
setVerticalJustification
protected void setVerticalJustification(java.lang.Object source,
java.lang.String verticalJustification)
setVerticalJustification
public void setVerticalJustification(java.lang.String verticalJustification)
addDirtyListener
protected void addDirtyListener()
removeDirtyListener
protected void removeDirtyListener()
isLabeled
protected final boolean isLabeled()
- Description copied from class:
Control
- Override on controls that implement label support
- Overrides:
isLabeled
in class Control
- Returns:
- false for simple controls, true for those controls that can
carry a label, even if a label is not assigned or the control is set
to "simple" mode
flushDirty
public abstract boolean flushDirty()
getForegroundColorNative
protected abstract java.lang.String getForegroundColorNative()
setForegroundColorNative
protected abstract void setForegroundColorNative(java.lang.String foregroundColor)
getJustificationNative
protected abstract int getJustificationNative()
setJustificationNative
protected abstract void setJustificationNative(int justification)
setLabelNative
protected abstract void setLabelNative(java.lang.String label)
getReadOnlyNative
protected abstract boolean getReadOnlyNative()
setReadOnlyNative
protected abstract void setReadOnlyNative(boolean readOnly)
setValueNative
protected abstract void setValueNative(java.util.Date value)
setValueNative
protected abstract void setValueNative(java.lang.String value)
getVerticalJustificationNative
protected abstract int getVerticalJustificationNative()
setVerticalJustificationNative
protected abstract void setVerticalJustificationNative(int verticalJustification)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.